Make LCR work with the current openbsc lcr_rtp branch. (soon merged with master branch)
[lcr.git] / chan_lcr.h
index 444512b..60a64fd 100644 (file)
@@ -50,14 +50,15 @@ struct chan_call {
        char                    cid_rdnis[64]; /* cached cid for setup */
        char                    display[128];
                                        /* display for setup */
-       int                     dtmf;
-                                       /* shall dtmf be enabled */
-       int                     no_dtmf;
-                                       /* dtmf disabled by option */
+       int                     dsp_dtmf;
+                                       /* decode dtmf by dsp */
        int                     inband_dtmf; /* generate dtmf tones, if
                                              requested by asterisk */
         int                     rebuffer; /* send only 160 bytes frames
                                             to asterisk */
+
+       int                     framepos; /* send only 160 bytes frames to asterisk */
+       
         int                     on_hold; /* track hold management, since
                                            sip phones sometimes screw it up */
        char                    pipeline[256];
@@ -72,6 +73,8 @@ struct chan_call {
                                        /* flags for bchannel mode */
        char                    queue_string[64];
                                        /* queue for asterisk */
+       int                     has_pattern;
+                                       /* pattern are available, PROGRESS has been indicated */
                
 };