Added keypad forwarding, keypad parameter, chan_lcr keypad option 'k'.
[lcr.git] / chan_lcr.h
index 5ddb4eb..5905ea1 100644 (file)
@@ -50,10 +50,8 @@ 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
@@ -67,6 +65,8 @@ struct chan_call {
                                        /* echo cancel pipeline by option */
        int                     tx_gain, rx_gain;
                                        /* gain by option */
+       int                     keypad;
+                                       /* use keypad to dial number */
        unsigned char           bf_key[56];
        int                     bf_len; /* blowfish crypt key */
        struct ast_dsp          *dsp; /* ast dsp processor for fax/tone detection */