[Freeswitch-users] How to disable DTMF digit processing when a call is valet parked?
Michael Jerris
mike at jerris.com
Thu May 14 02:17:35 MSD 2015
This likely requires a modification to mod_valet_parking to ignore the dtmf.
> On May 13, 2015, at 5:26 PM, Szeto, Steven <steven.szeto at mitel.com> wrote:
>
> Suppose I have a public dial plan entry that looks like this:
>
> <extension name="1201">
> <condition field="destination_number" expression="1201">
> <action application="export" data="x-MitelIsACD = true" />
> <action application="playback" data="{loops=1}tone_stream://${us-ring}" />
> <action application="valet_park" data="QueuedCalls auto in 900000 902000" />
> </condition>
> </extension>
>
> I have an IVR application that listens to DTMF keystrokes from the valet parked call.
>
> I want to disable DTMF processing by freeswitch for calls that are valet parked.
>
> The main reason for disabling DTMF is that the caller can press "#" (end of dial character), and freeswitch will terminate the call for the following reason:
>
> 2015-05-13 17:13:28.729128 [NOTICE] switch_core_state_machine.c:315 sofia/internal/3006 at 10.47.32.159 <mailto:3006 at 10.47.32.159> has executed the last dialplan instruction, hanging up.
> 2015-05-13 17:13:28.729128 [NOTICE] switch_core_state_machine.c:317 Hangup sofia/internal/3006 at 10.47.32.159 <mailto:3006 at 10.47.32.159> [CS_EXECUTE] [NORMAL_CLEARING]
>
>
> I have tried to add these entries to the dial plan, but they do not work:
>
> <action application="stop_dtmf"/>
> <action application="set" data="drop_dtmf=true"/>
>
> Any suggestions?
>
> /Steve
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150513/ef90e587/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list