fixed bchannel create
[lcr.git] / chan_lcr.h
index 0ca58d5..52bb095 100644 (file)
@@ -14,7 +14,7 @@ struct bchannel;
 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 */
+       unsigned int            ref;    /* callref for this channel */
        void                    *ast;   /* current asterisk channel */
        int                     pbx_started;
                                        /* indicates if pbx que is available */
@@ -27,6 +27,7 @@ struct chan_call {
        unsigned char           dialque[64];
                                        /* queue dialing prior setup ack */
        char                    oad[64];/* caller id in number format */
+
        struct connect_info     connectinfo;
                                        /* store connectinfo form lcr */
        int                     bridge_id;
@@ -43,6 +44,9 @@ struct chan_call {
                                        /* LCR interface name for setup */
        char                    dialstring[64];
                                        /* cached dial string for setup */
+        char                    cid_num[64]; /* cached cid for setup */
+       char                    cid_name[64]; /* cached cid for setup */
+       char                    cid_rdnis[64]; /* cached cid for setup */
        char                    display[128];
                                        /* display for setup */
        int                     dtmf;