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
On Aug 6, 2008, at 8:30 PM, Ilan Perez wrote:
Two problems occur. 1. There is no DTMF recognition
Sounds like they are doing inband DTMF.
2. If I hangup during the playback the system still plays out the whole IVR
Sounds like you have NAT involved and maybe the Bye isn't received? /b
One other thing So in my last email I said that the system recognizes that a key has been pushed but doesnt know which one àwell thats not true. I displayed a deeper level of logging and I can see that the system recognizes which key has been pushed but the program doesnt know what to do with it Any ideas? 2008-08-08 10:05:01 [DEBUG] switch_ivr_async.c:887 inband_dtmf_callback() DTMF DETECTED: [4] Ilan Perez Diagnostic Devices Webmaster 0432 326 017 8347 2244 From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: 07 August 2008 21:42 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] DTMF recognition and nbound calls On Aug 6, 2008, at 8:30 PM, Ilan Perez wrote: Two problems occur. 1. There is no DTMF recognition Sounds like they are doing inband DTMF. 2. If I hangup during the playback the system still plays out the whole IVR Sounds like you have NAT involved and maybe the Bye isn't received? /b
For problem #1 you probably need to use the DTMF detection application. The symptoms your describing match and your code is missing this. Try adding: <action application="start_dtmf" data="true"/> Problem #2, does this occur on an analog line? _____ From: Ilan Perez [mailto:iperez@diagnosticdev.com] Sent: Wednesday, August 06, 2008 6:30 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] DTMF recognition and nbound calls 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
Yes, Darren it is an analog line that is connected Here is my code now <extension name="public_did"> <condition field="destination_number" expression="^(0283472006)$"> <action application="set" data="call_timeout=60"/> <action application="start_dtmf" data="true"/> <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> I added the line you suggested and at least it now recognizes that a number is getting pushed. What it doesnt do is recognize which number. So no matter which number I hit it would say invalid entry but that is better than nothing Anyone know how to fix the next thing The actual keys not being recognized? Ilan Perez From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Darren Schreiber Sent: 07 August 2008 23:10 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] DTMF recognition and nbound calls For problem #1 you probably need to use the DTMF detection application. The symptoms your describing match and your code is missing this. Try adding: <action application="start_dtmf" data="true"/> Problem #2, does this occur on an analog line? _____ From: Ilan Perez [mailto:iperez@diagnosticdev.com] Sent: Wednesday, August 06, 2008 6:30 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] DTMF recognition and nbound calls 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
I thought I wouldn't need the detection app either. I am using a grandstream 4104 as my gateway. The pstn line is connected to it Ilan Perez From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: 08 August 2008 11:18 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] DTMF recognition and nbound calls What kind of device? You shouldn't need to have the detection app in that case something else must be wrong. On Aug 7, 2008, at 6:37 PM, Ilan Perez wrote: Yes, Darren it is an analog line that is connected.
You got my last message.about the fact that I can see in the log that the dtmf is recognized by the system.but the system takes no action when the key is hit. Ilan Perez From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: 08 August 2008 11:18 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] DTMF recognition and nbound calls What kind of device? You shouldn't need to have the detection app in that case something else must be wrong. On Aug 7, 2008, at 6:37 PM, Ilan Perez wrote: Yes, Darren it is an analog line that is connected.
I came late to the party. Could you recap what you are trying to do with the digit that is received? Is it an ivr? -MC Sent from my iPhone On Aug 7, 2008, at 9:33 PM, "Ilan Perez" <iperez@diagnosticdev.com> wrote:
You got my last message…about the fact that I can see in the log tha t the dtmf is recognized by the system…but the system takes no actio n when the key is hit…
Ilan Perez
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org ] On Behalf Of Brian West Sent: 08 August 2008 11:18 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] DTMF recognition and nbound calls
What kind of device? You shouldn't need to have the detection app in that case something else must be wrong.
On Aug 7, 2008, at 6:37 PM, Ilan Perez wrote:
Yes, Darren it is an analog line that is connected…
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Quick recap… I am using the default ivr, which is at extension 5000 When calling from an internal extension it works perfectly. When calling from an external pstn line, through my grandstream gateway, the ivr activates and the prompts are played etc…but if you hit the 1 key on the phone it doesn’t take you to anything. The system doesn’t compute the key. What is interesting is that in the log it states “key 1 has been push” or key 4 has been pushed…etc but no action is taken as a result…that is my problem! Can anyone who is back from cluecon help me out? My code is as follows <extension name="public_did"> <condition field="destination_number" expression="^(0283472006)$"> <action application="set" data="call_timeout=60"/> <action application="start_dtmf" data="true"/> <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_number}_${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> Ilan Perez From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael S Collins Sent: 08 August 2008 15:00 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] DTMF recognition and nbound calls I came late to the party. Could you recap what you are trying to do with the digit that is received? Is it an ivr? -MC Sent from my iPhone On Aug 7, 2008, at 9:33 PM, "Ilan Perez" <iperez@diagnosticdev.com> wrote: You got my last message…about the fact that I can see in the log that the dtmf is recognized by the system…but the system takes no action when the key is hit… Ilan Perez From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: 08 August 2008 11:18 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] DTMF recognition and nbound calls What kind of device? You shouldn't need to have the detection app in that case something else must be wrong. On Aug 7, 2008, at 6:37 PM, Ilan Perez wrote: Yes, Darren it is an analog line that is connected… _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
To all those concerned…and I know there were many of you, my problem is solved. I started from scratch basically… Because I am just learnt many things…obviously while I was still learning I must have changed a setting that caused the IVR to not work properly… Having said that I don’t know what I did… So I re-installed. Re instated all my extensions and pstn code…and now I have dtmf recognition… Ilan Perez From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael S Collins Sent: 08 August 2008 15:00 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] DTMF recognition and nbound calls I came late to the party. Could you recap what you are trying to do with the digit that is received? Is it an ivr? -MC Sent from my iPhone On Aug 7, 2008, at 9:33 PM, "Ilan Perez" <iperez@diagnosticdev.com> wrote: You got my last message…about the fact that I can see in the log that the dtmf is recognized by the system…but the system takes no action when the key is hit… Ilan Perez From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: 08 August 2008 11:18 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] DTMF recognition and nbound calls What kind of device? You shouldn't need to have the detection app in that case something else must be wrong. On Aug 7, 2008, at 6:37 PM, Ilan Perez wrote: Yes, Darren it is an analog line that is connected… _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I had the same problem #2 using an analog line and a Xorcom astribank. I also found that the analog line inbound caller could hangup before any internal analog extensions had answered, and FS wouldn't see the hangup properly and keep ringing the internal analog extensions. I ran out of fiddling time, so never resolved this but would really like to see it working. Col ----- Original Message ----- From: Darren Schreiber To: freeswitch-users@lists.freeswitch.org Sent: Thursday, August 07, 2008 11:09 PM Subject: Re: [Freeswitch-users] DTMF recognition and nbound calls For problem #1 you probably need to use the DTMF detection application. The symptoms your describing match and your code is missing this. Try adding: <action application="start_dtmf" data="true"/> Problem #2, does this occur on an analog line? ------------------------------------------------------------------------------ From: Ilan Perez [mailto:iperez@diagnosticdev.com] Sent: Wednesday, August 06, 2008 6:30 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] DTMF recognition and nbound calls 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_number}_${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 ------------------------------------------------------------------------------ _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Col, thanks for supporting my problem lol FS braniacs please come to the rescue J Ilan Perez From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Col Ferguson Sent: 08 August 2008 09:55 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] DTMF recognition and nbound calls I had the same problem #2 using an analog line and a Xorcom astribank. I also found that the analog line inbound caller could hangup before any internal analog extensions had answered, and FS wouldn't see the hangup properly and keep ringing the internal analog extensions. I ran out of fiddling time, so never resolved this but would really like to see it working. Col ----- Original Message ----- From: Darren Schreiber <mailto:d@d-man.org> To: freeswitch-users@lists.freeswitch.org Sent: Thursday, August 07, 2008 11:09 PM Subject: Re: [Freeswitch-users] DTMF recognition and nbound calls For problem #1 you probably need to use the DTMF detection application. The symptoms your describing match and your code is missing this. Try adding: <action application="start_dtmf" data="true"/> Problem #2, does this occur on an analog line? _____ From: Ilan Perez [mailto:iperez@diagnosticdev.com] Sent: Wednesday, August 06, 2008 6:30 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] DTMF recognition and nbound calls 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 _____ _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (5)
-
Brian West
-
Col Ferguson
-
Darren Schreiber
-
Ilan Perez
-
Michael S Collins