summaryrefslogtreecommitdiffstats
path: root/chan_lcr.h
diff options
context:
space:
mode:
authorSuper User2008-05-01 20:07:02 +0200
committerSuper User2008-05-01 20:07:02 +0200
commitb93eda54f0af4fc05a6a2eca8dbf3b39b759a20b (patch)
treed2c047135e24fc8d420e5189862c0d956e2756b5 /chan_lcr.h
parentwork on chan_lcr (diff)
downloadlcr-b93eda54f0af4fc05a6a2eca8dbf3b39b759a20b.tar.gz
lcr-b93eda54f0af4fc05a6a2eca8dbf3b39b759a20b.tar.xz
lcr-b93eda54f0af4fc05a6a2eca8dbf3b39b759a20b.zip
chan_lcr work
modified: bchannel.c modified: bchannel.h modified: chan_lcr.c modified: chan_lcr.h
Diffstat (limited to 'chan_lcr.h')
-rw-r--r--chan_lcr.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/chan_lcr.h b/chan_lcr.h
index 17406ce..87a493f 100644
--- a/chan_lcr.h
+++ b/chan_lcr.h
@@ -15,8 +15,8 @@ struct chan_call {
struct chan_call *next; /* link to next call instance */
int state; /* current call state CHAN_LCR_STATE */
unsigned long ref; /* callref for this channel */
- struct ast_channel *ast; /* current asterisk channel */
- struct bchannel *channel;
+ void *ast; /* current asterisk channel */
+ struct bchannel *bchannel;
/* reference to bchannel, if set */
int cause, location;
/* store cause from lcr */
@@ -24,6 +24,10 @@ struct chan_call {
/* queue dialing prior setup ack */
struct connect_info connectinfo;
/* store connectinfo form lcr */
+ int bridge_id;
+ /* current ID or 0 */
+ struct chan_call *bridge_call;
+ /* remote instance or NULL */
};
enum {