[Freeswitch-users] DTMF recognition and nbound calls
Ilan Perez
iperez at diagnosticdev.com
Wed Aug 6 18:30:23 PDT 2008
Dear All,
I have setup my inbound extension (in the public.xml) diaplan to transfer to
extension 5000 à the demo IVR
The recordings come through nicely. From an internal call the demo fine
including DTMF recognition but with inbound calls from external source
ie
pstn line
Two problems occur.
1. There is no DTMF recognition
2. If I hangup during the playback the system still plays out the
whole IVR
Here is my code for the extension.
Hopefully someone can help me out
<extension name="public_did">
<condition field="destination_number" expression="^(0283472006)$">
<action application="set" data="call_timeout=60"/>
<action application="set" data="group_confirm_file=C:/Program
Files/FreeSWITCH/sounds/en/us/callie/voicemail/8000/vm-press.wav"/>
<action application="set" data="group_confirm_key=4"/>
<action application="set" data="RECORD_TITLE=Recording
${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d %H:%M)}"/>
<action application="set" data="RECORD_COPYRIGHT=(c) 2008 Diagnostic
Devices, Inc."/>
<action application="set" data="RECORD_SOFTWARE=FreeSwitch"/>
<action application="set" data="RECORD_ARTIST=Ian Curtis"/>
<action application="set" data="RECORD_COMMENT=Love will tear us
apart"/>
<action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d
%H:%M)}"/>
<action application="set" data="RECORD_STEREO=false"/>
<action application="set" data="playback_terminators=#*"/>
<action application="record_session" data="C:/Program
Files/FreeSWITCH/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_num
ber}_${caller_id_number}.wav"/>
<action application="set" data="ringback=${us-ring}"/>
<action application="transfer" data="5000 XML default"/>
<!-- <action application="bridge" data="user/1207@$${domain}"/>
-->
</condition>
</extension>
Anyone?
Ilan Perez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080807/c1e2d825/attachment-0002.html
More information about the FreeSWITCH-users
mailing list