SOCKET BRANCH:
[lcr.git] / chan_lcr.h
index 29affad..87a493f 100644 (file)
@@ -15,10 +15,19 @@ 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 */
+       unsigned char           dialque[64];
+                                       /* 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 {
@@ -39,8 +48,8 @@ enum {
 };
 
 #define CHAN_LCR_STATE static const struct chan_lcr_state { \
-       char name, \
-       char meaning, \
+       char *name; \
+       char *meaning; \
 } chan_lcr_state[] = { \
        { "IN_PREPARE", \
          "New call from ISDN is waiting for setup." }, \