[Freeswitch-users] How to disable DTMF digit processing when a call is valet parked?

Szeto, Steven steven.szeto at mitel.com
Thu May 14 01:26:37 MSD 2015


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 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 [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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150513/f928056f/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list