[asterisk-dev] SIP channel Indicate AST_CONTROL_FLASH support

Kamanashis Roy Shuva kamanashisroy at gmail.com
Thu Dec 27 06:40:33 CST 2007


Hi,

  NOTICE: that patch does not work ..

  I have found that sip cannot send flash using inband dtmf ..

  can it send flash using INFO ?

  I tried something like as follows

--- chan_sip.c.orig     2007-12-27 17:07:16.000000000 +0600
+++ chan_sip.c  2007-12-27 18:21:33.000000000 +0600
@@ -3921,6 +3921,12 @@
                } else
                        res = -1;
                break;
+       case AST_CONTROL_FLASH:
+               if(ast_test_flag(&p->flags[0], SIP_DTMF) == SIP_DTMF_INFO) {
+                       /* I am not sure if there is anything more to
do here .. */
+                       sip_senddigit_end(ast, 'F', 100/* this should
be collected from channel.c */);
+                       break;
+               }
        case -1:
                res = -1;
                break;



  But no luck.

  It seems asterisk cannot send flash using sip .. how ?



-- 
-- Thanks

Kamanashis Roy



More information about the asterisk-dev mailing list