From b93eda54f0af4fc05a6a2eca8dbf3b39b759a20b Mon Sep 17 00:00:00 2001 From: Super User Date: Thu, 1 May 2008 20:07:02 +0200 Subject: chan_lcr work modified: bchannel.c modified: bchannel.h modified: chan_lcr.c modified: chan_lcr.h --- chan_lcr.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'chan_lcr.h') 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 { -- cgit v1.2.3-55-g7522