Hi, can someone please help me with DTMF detection? What am I doing wrong? I searched the net everywhere but couldn’t find a solutions for my problem. I call in with xlite. DTMF is set to "RFC 2833 and SIP INFO" But the console detects nothing. Where is the problem? Thanks for help conf/sip_profiles/internal.xml <param name="liberal-dtmf" value="true"/> <param name="dtmf-duration" value="2000"/> <param name="dtmf-type" value="info"/> conf/dialplan/default.xml <extension name="Local_Extension"> <condition field="destination_number" expression="^([0-9][0-9])$"> <action application="export" data="dialed_extension=$1"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="call_timeout=30"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="user/${dialed_extension}@ ${domain_name}"/> <action application="bind_digit_action" data="test1,##,exec:playback,ivr/ivr welcome_to_freeswitch.wav"/> <action application="digit_action_set_realm" data="test1"/> <action application="answer"/> </condition> </extension>
I'm still a noob, but as far as i understood from here https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_start_dtmf you need to enable dtmf for the binding upfront in the dialplan. <extension name="ivr_demo"> <condition field="destination_number" expression="5000"> <action application="answer"/> *<action application="start_dtmf" />* <action application="ivr" data="demo_ivr"/> </condition> </extension> On Thu, Dec 18, 2014 at 11:53 AM, Paul Atreides < paul.atreides83@googlemail.com> wrote:
Hi,
can someone please help me with DTMF detection? What am I doing wrong? I searched the net everywhere but couldn’t find a solutions for my problem. I call in with xlite. DTMF is set to "RFC 2833 and SIP INFO" But the console detects nothing. Where is the problem?
Thanks for help
conf/sip_profiles/internal.xml
<param name="liberal-dtmf" value="true"/> <param name="dtmf-duration" value="2000"/> <param name="dtmf-type" value="info"/>
conf/dialplan/default.xml
<extension name="Local_Extension"> <condition field="destination_number" expression="^([0-9][0-9])$"> <action application="export" data="dialed_extension=$1"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="call_timeout=30"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="user/${dialed_extension}@ ${domain_name}"/>
<action application="bind_digit_action" data="test1,##,exec:playback,ivr/ivr welcome_to_freeswitch.wav"/> <action application="digit_action_set_realm" data="test1"/>
<action application="answer"/>
</condition> </extension>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
not do start_dtmf 2014-12-18 14:18 GMT+03:00 Michael Traut <michael.traut@gmail.com>:
I'm still a noob, but as far as i understood from here
https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_start_dtmf
you need to enable dtmf for the binding upfront in the dialplan.
<extension name="ivr_demo"> <condition field="destination_number" expression="5000"> <action application="answer"/> *<action application="start_dtmf" />* <action application="ivr" data="demo_ivr"/> </condition> </extension>
On Thu, Dec 18, 2014 at 11:53 AM, Paul Atreides < paul.atreides83@googlemail.com> wrote:
Hi,
can someone please help me with DTMF detection? What am I doing wrong? I searched the net everywhere but couldn’t find a solutions for my problem. I call in with xlite. DTMF is set to "RFC 2833 and SIP INFO" But the console detects nothing. Where is the problem?
Thanks for help
conf/sip_profiles/internal.xml
<param name="liberal-dtmf" value="true"/> <param name="dtmf-duration" value="2000"/> <param name="dtmf-type" value="info"/>
conf/dialplan/default.xml
<extension name="Local_Extension"> <condition field="destination_number" expression="^([0-9][0-9])$"> <action application="export" data="dialed_extension=$1"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="call_timeout=30"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="user/${dialed_extension}@ ${domain_name}"/>
<action application="bind_digit_action" data="test1,##,exec:playback,ivr/ivr welcome_to_freeswitch.wav"/> <action application="digit_action_set_realm" data="test1"/>
<action application="answer"/>
</condition> </extension>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- with best regards, Dmitriy Borisov
Could you explain what "start_dtmf" is for? Whats the difference in this scenario? Thanks! On Thu, Dec 18, 2014 at 12:24 PM, Борисов, Дмитрий / Dmitriy Borisov < bordmi@rarus.ru> wrote:
not do start_dtmf
2014-12-18 14:18 GMT+03:00 Michael Traut <michael.traut@gmail.com>:
I'm still a noob, but as far as i understood from here
https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_start_dtmf
you need to enable dtmf for the binding upfront in the dialplan.
<extension name="ivr_demo"> <condition field="destination_number" expression="5000"> <action application="answer"/> *<action application="start_dtmf" />* <action application="ivr" data="demo_ivr"/> </condition> </extension>
On Thu, Dec 18, 2014 at 11:53 AM, Paul Atreides < paul.atreides83@googlemail.com> wrote:
Hi,
can someone please help me with DTMF detection? What am I doing wrong? I searched the net everywhere but couldn’t find a solutions for my problem. I call in with xlite. DTMF is set to "RFC 2833 and SIP INFO" But the console detects nothing. Where is the problem?
Thanks for help
conf/sip_profiles/internal.xml
<param name="liberal-dtmf" value="true"/> <param name="dtmf-duration" value="2000"/> <param name="dtmf-type" value="info"/>
conf/dialplan/default.xml
<extension name="Local_Extension"> <condition field="destination_number" expression="^([0-9][0-9])$"> <action application="export" data="dialed_extension=$1"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="call_timeout=30"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="user/${dialed_extension}@ ${domain_name}"/>
<action application="bind_digit_action" data="test1,##,exec:playback,ivr/ivr welcome_to_freeswitch.wav"/> <action application="digit_action_set_realm" data="test1"/>
<action application="answer"/>
</condition> </extension>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- with best regards, Dmitriy Borisov
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
ivr application enables reading of DTMF. If you add start_dtmf there it will be two concurent functions for DTMF reading in channel. I don`t know, how they will work, but may be not properly 2014-12-18 14:27 GMT+03:00 Michael Traut <michael.traut@gmail.com>:
Could you explain what "start_dtmf" is for? Whats the difference in this scenario?
Thanks!
On Thu, Dec 18, 2014 at 12:24 PM, Борисов, Дмитрий / Dmitriy Borisov < bordmi@rarus.ru> wrote:
not do start_dtmf
2014-12-18 14:18 GMT+03:00 Michael Traut <michael.traut@gmail.com>:
I'm still a noob, but as far as i understood from here
https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_start_dtmf
you need to enable dtmf for the binding upfront in the dialplan.
<extension name="ivr_demo"> <condition field="destination_number" expression="5000"> <action application="answer"/> *<action application="start_dtmf" />* <action application="ivr" data="demo_ivr"/> </condition> </extension>
On Thu, Dec 18, 2014 at 11:53 AM, Paul Atreides < paul.atreides83@googlemail.com> wrote:
Hi,
can someone please help me with DTMF detection? What am I doing wrong? I searched the net everywhere but couldn’t find a solutions for my problem. I call in with xlite. DTMF is set to "RFC 2833 and SIP INFO" But the console detects nothing. Where is the problem?
Thanks for help
conf/sip_profiles/internal.xml
<param name="liberal-dtmf" value="true"/> <param name="dtmf-duration" value="2000"/> <param name="dtmf-type" value="info"/>
conf/dialplan/default.xml
<extension name="Local_Extension"> <condition field="destination_number" expression="^([0-9][0-9])$"> <action application="export" data="dialed_extension=$1"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="call_timeout=30"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="user/${dialed_extension}@ ${domain_name}"/>
<action application="bind_digit_action" data="test1,##,exec:playback,ivr/ivr welcome_to_freeswitch.wav"/> <action application="digit_action_set_realm" data="test1"/>
<action application="answer"/>
</condition> </extension>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- with best regards, Dmitriy Borisov
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- with best regards, Dmitriy Borisov
try next: <extension name="Local_Extension"> <condition field="destination_number" expression="^([0-9][0-9])$"> <action application="export" data="dialed_extension=$1"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="call_timeout=30"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bind_digit_action" data="test1,##,exec:playback,ivr/ivr welcome_to_freeswitch.wav"/> <action application="digit_action_set_realm" data="test1"/> <action application="answer"/> <action application="bridge" data="user/${dialed_extension} @${domain_name}"/> </condition> </extension> 2014-12-18 13:53 GMT+03:00 Paul Atreides <paul.atreides83@googlemail.com>:
Hi,
can someone please help me with DTMF detection? What am I doing wrong? I searched the net everywhere but couldn’t find a solutions for my problem. I call in with xlite. DTMF is set to "RFC 2833 and SIP INFO" But the console detects nothing. Where is the problem?
Thanks for help
conf/sip_profiles/internal.xml
<param name="liberal-dtmf" value="true"/> <param name="dtmf-duration" value="2000"/> <param name="dtmf-type" value="info"/>
conf/dialplan/default.xml
<extension name="Local_Extension"> <condition field="destination_number" expression="^([0-9][0-9])$"> <action application="export" data="dialed_extension=$1"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="call_timeout=30"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="user/${dialed_extension}@ ${domain_name}"/>
<action application="bind_digit_action" data="test1,##,exec:playback,ivr/ivr welcome_to_freeswitch.wav"/> <action application="digit_action_set_realm" data="test1"/>
<action application="answer"/>
</condition> </extension>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- with best regards, Dmitriy Borisov
Thank you Dmitriy, it worked ! On Thu, Dec 18, 2014 at 12:21 PM, Борисов, Дмитрий / Dmitriy Borisov < bordmi@rarus.ru> wrote:
try next: <extension name="Local_Extension"> <condition field="destination_number" expression="^([0-9][0-9])$"> <action application="export" data="dialed_extension=$1"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="call_timeout=30"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bind_digit_action" data="test1,##,exec:playback,ivr/ivr welcome_to_freeswitch.wav"/> <action application="digit_action_set_realm" data="test1"/> <action application="answer"/> <action application="bridge" data="user/${dialed_extension} @${domain_name}"/> </condition> </extension>
2014-12-18 13:53 GMT+03:00 Paul Atreides <paul.atreides83@googlemail.com>:
Hi,
can someone please help me with DTMF detection? What am I doing wrong? I searched the net everywhere but couldn’t find a solutions for my problem. I call in with xlite. DTMF is set to "RFC 2833 and SIP INFO" But the console detects nothing. Where is the problem?
Thanks for help
conf/sip_profiles/internal.xml
<param name="liberal-dtmf" value="true"/> <param name="dtmf-duration" value="2000"/> <param name="dtmf-type" value="info"/>
conf/dialplan/default.xml
<extension name="Local_Extension"> <condition field="destination_number" expression="^([0-9][0-9])$"> <action application="export" data="dialed_extension=$1"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="call_timeout=30"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="user/${dialed_extension}@ ${domain_name}"/>
<action application="bind_digit_action" data="test1,##,exec:playback,ivr/ivr welcome_to_freeswitch.wav"/> <action application="digit_action_set_realm" data="test1"/>
<action application="answer"/>
</condition> </extension>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- with best regards, Dmitriy Borisov
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
participants (3)
-
Michael Traut
-
Paul Atreides
-
Борисов, Дмитрий / Dmitriy Borisov