Sorry - my bad - dtmf-type looks like it just controls what's sent, not what's received. Brian's advice is sound, or you can probably work around things right now by editing src/mod/endpoints/mod_sofia/sofia.c - at around line 3838 you'll find: if (dtmf.digit) { /* queue it up */ switch_channel_queue_dtmf(channel, &dtmf); ..more code.. /* Send 200 OK response */ nua_respond(nh, SIP_200_OK, NUTAG_WITH_THIS(nua), TAG_END()); - lose the bit which handles the SIP INFO DTMF by adding a couple of lines thusly: if (dtmf.digit) { #if 0 /* queue it up */ switch_channel_queue_dtmf(channel, &dtmf); ..more code.. #endif /* Send 200 OK response */ nua_respond(nh, SIP_200_OK, NUTAG_WITH_THIS(nua), TAG_END()); It's a nasty hack, but it just might work. --Dave
Tell your phone to stop sending INFO and 2833 at the same time and the problem will stop.
/b
On Mar 23, 2009, at 4:17 AM, zhaoxxqq wrote:
HI, friend, I added <param name="dtmf-type" value="rfc2833" /> to my sip profile in external , like below. <gateway name="vos3000"> <param name="username" value="anything"/>--> <param name="realm" value="221.192.133.51"/> <param name="password" value="anything"/> <param name="dtmf-type" value="rfc2833" /> <param name="extension" value="87263150"/> <param name="register" value="false"/> </gateway>
but. the problem is still exist. Can you help me.
Zhao Xiaoqiang
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org