How to disable DTMF digit processing when a call is valet parked?
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@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@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 -- This e-mail (including any attachments) is for the sole use of the intended recipient(s) and may contain information that is confidential and/or protected by legal privilege. Any unauthorized review, use, copy, disclosure or distribution of this e-mail is strictly prohibited. If you are not the intended recipient, please notify Mitel immediately and destroy all copies of this e-mail. Mitel does not accept any liability for breach of security, error or virus that may result from the transmission of this message.
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@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@10.47.32.159 <mailto:3006@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@10.47.32.159 <mailto:3006@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
participants (2)
-
Michael Jerris
-
Szeto, Steven