summaryrefslogtreecommitdiffstats
path: root/chan_lcr.h
diff options
context:
space:
mode:
authorroot2008-04-26 12:25:01 +0200
committerroot2008-04-26 12:25:01 +0200
commit350450b9cadc6107449fe2630843d4f898f680b7 (patch)
treeee691216e4fd53f67b4232c39a87a282a276c1c5 /chan_lcr.h
parent modified: Makefile (diff)
downloadlcr-350450b9cadc6107449fe2630843d4f898f680b7.tar.gz
lcr-350450b9cadc6107449fe2630843d4f898f680b7.tar.xz
lcr-350450b9cadc6107449fe2630843d4f898f680b7.zip
chan_lcr has now a lcr_request function which should work basically, we only need the callref request mechanism here. We have also a lcr_ast_new function which produces an empty Asterisk channel object. The Call handler has now a pointer to the asterisk channel, the asterisk channel also holds a pointer to the Call handle, so they need to be created and destroyed together at the same time.
Diffstat (limited to 'chan_lcr.h')
-rw-r--r--chan_lcr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chan_lcr.h b/chan_lcr.h
index 8633d3a..e431634 100644
--- a/chan_lcr.h
+++ b/chan_lcr.h
@@ -16,6 +16,8 @@ struct chan_call {
unsigned long bchannel_handle; /* reference to bchannel, if set */
unsigned short bridge_id; /* 0 = off, equal ids are bridged */
+
+ struct ast_channel *ast;
};