[Freeswitch-users] DTMF issue when using execute_extension with play_and_get_digits

Nandy Dagondon gcd at i.ph
Tue Aug 16 03:50:34 MSD 2011


perhaps you forgot the "extension" objects!

<extension name="bind-5-app">
   <condition field="destination_number" expression="^4567$"
break="on-true">
<action application="play_and_get_digits" data="1 5 3 7000 #
'/voice_files/A.wav' '/voice_files/failed.wav' dtmf_received \d+"/>
   </condition>
</extension>

<extension name="catch-bind-5">
   <condition field="destination_number" expression="^.*$" break="on-true">
<action application="answer"/>
<action application="bind_meta_app" data="5 b o execute_extension::4567 XML
default"/>
<action application="bridge" data="freetdm/1/a/9952248266"/>
<action application="park"/>
   </condition>
</extension>

On Tue, Aug 9, 2011 at 11:07 PM, Nagalenoj H. <nagalenoj at gmail.com> wrote:

> Hi Friends,
>      Facing an issue when using bind_meta_app and execute_extension(with
> play_and_get_digits) combined.
>
> Here is my dialplan,
> <condition field="destination_number" expression="^4567$" break="on-true">
> <action application="play_and_get_digits" data="1 5 3 7000 #
> '/voice_files/A.wav' '/voice_files/failed.wav' dtmf_received \d+"/>
> </condition>
> <condition field="destination_number" expression="^.*$" break="on-true">
> <action application="answer"/>
> <action application="bind_meta_app" data="5 b o execute_extension::4567 XML
> default"/>
> <action application="bridge" data="freetdm/1/a/9952248266"/>
> <action application="park"/>
> </condition>
>
> So, when callee enters *5,  I want the caller to enter a number. I get the
> extension executed as expected. The caller is able to hear the voice file
> played and when he enters the digits, it is not received. Digits are not
> even present in FS log.
>
> In the normal cases, there is no issues in getting DTMFs. I don't know,
> what am I doing wrong here. Kindly, help me to resolve this.
>
> --
> Regards,
> Nagalenoj H.
>
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110816/1d187f47/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list