it depend from your  incoming sip provider as well.
did you try to detect dtmf  for incoming calls  in media stream (inband)  instead of using rfc2833 ? 
<param name="dtmf-type" value="none"/>  - on  incoming  sip profile
<action application="start_dtmf" /> - in dialplan before bridge


Date: Fri, 27 Apr 2012 21:15:27 +0400
From: avlubimov@gmail.com
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] wrong detection dtmf rfc2833

I think, this bug this bug back again.

http://jira.freeswitch.org/browse/FS-2604

In my case, dtmf recieved in rfc2833, but, enyway, i have dublicated dtmf in ivr.


I do number 23, but freeswitch recieve 223.

EXECUTE sofia/external/79168030237@195.211.120.9:5061 ivr(neolant)
2012-04-28 01:01:33.987457 [DEBUG] switch_ivr_menu.c:665 switch_ivr_menu_stack_xml_add binding 'menu-exit'
2012-04-28 01:01:33.987457 [DEBUG] switch_ivr_menu.c:665 switch_ivr_menu_stack_xml_add binding 'menu-sub'
2012-04-28 01:01:33.987457 [DEBUG] switch_ivr_menu.c:665 switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
2012-04-28 01:01:33.987457 [DEBUG] switch_ivr_menu.c:665 switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
2012-04-28 01:01:33.987457 [DEBUG] switch_ivr_menu.c:665 switch_ivr_menu_stack_xml_add binding 'menu-back'
2012-04-28 01:01:33.987457 [DEBUG] switch_ivr_menu.c:665 switch_ivr_menu_stack_xml_add binding 'menu-top'
2012-04-28 01:01:33.987457 [DEBUG] switch_ivr_menu.c:796 building menu 'neolant'
2012-04-28 01:01:33.987457 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '/^([0-9][0-9][0-9])$/'
2012-04-28 01:01:33.987457 [DEBUG] switch_ivr_menu.c:433 Executing IVR menu neolant
2012-04-28 01:01:33.987457 [DEBUG] switch_ivr_play_say.c:67 No language specified - Using [ru]
2012-04-28 01:01:33.987457 [DEBUG] switch_ivr_play_say.c:244 Handle play-file:[ivr/ivr-enter_ext_pound.wav] (ru:ru)
2012-04-28 01:01:33.987457 [DEBUG] switch_ivr_play_say.c:1309 Codec Activated L16@8000hz 1 channels 20ms
2012-04-28 01:01:38.707451 [DEBUG] switch_ivr_async.c:2253 DTMF DETECTED: [2][320]
2012-04-28 01:01:38.707451 [DEBUG] switch_ivr_play_say.c:1682 done playing file /opt/freeswitch/sounds/ru/RU/elena/ivr/ivr-enter_ext_pound.wav
2012-04-28 01:01:38.967450 [DEBUG] switch_ivr_menu.c:348 waiting for 2/3 digits t/o 3000
2012-04-28 01:01:39.107457 [DEBUG] switch_rtp.c:3452 RTP RECV DTMF 2:1600
2012-04-28 01:01:40.267453 [DEBUG] switch_rtp.c:3452 RTP RECV DTMF 3:1600
2012-04-28 01:01:40.267453 [DEBUG] switch_ivr_menu.c:395 digits '223'
2012-04-28 01:01:40.267453 [DEBUG] switch_ivr_menu.c:489 action regex [223] [/^([0-9][0-9][0-9])$/] [2]




2012/4/27 Lubimov Alexey <avlubimov@gmail.com>
Good day!

I have problem with dtmf on incoming calls.

Internal dtmf work normal, but on incoming call i have many mistakes (111  or 121 instead 110, for example).

siptrace wrong detection attached, Abonent send 110, but freeswitch detect 111.

in profile's config i set these options. (Im trying many variants, but no find solution)

<param name="dtmf-duration" value="2000"/>
<param name="dtmf-type" value="rfc2833"/>
<param name="rfc2833-pt" value="0"/>
<param name="liberal-dtmf" value="true"/>

Have you any ideas?





_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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