My dialplan is pretty simple. I have a single trunk with a vonage softphone DID (1303... we'll call it main) and a "virtual" DID (1816...) which rings the softphone DID. All incoming calls show up as from softphone DID but the sip_to_user holds the actual number dialed so I can enter the dialplan properly. I have 2 extensions in my directory/extensions, one for each of the DID's. The extensions check sip_to_user for match and that works great. I match on ([0,1]?)(<10 digit did>) and it enters the dialplans correctly, plays the right music for each DID while the dial is occuring, so all that works. The bridge to user/$2@$${domain} also works fine. The continue_on_fail is set properly so on no answer call_timeout hits (at 25 secs), and goes to voicemail... works also for both numbers. transfer to voicemail is as follows <action application="answer"/> <action application="voicemail" data="default $${domain} $2"/> which should be pulling $2 from the condition check shown above, which it does, cuz the bridge works... When I call in on main DID, I get "leave a message for 1303..." The Main DID.. When I call in on virtual, I get "leave a message for 1303..." The Main DID rather than the 1816.... How can I get voicemail to use the correct DID. HELP!! :D -- View this message in context: http://www.nabble.com/Wrong---in-voicemail-tp20791453p20791453.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
-- filename "dialplan/extensions/13033253678.xml" -- This is the primary DID assigned. <extension name="3033253678"> <!--<condition field="destination_number" expression="^[0,1]?3033253678$"/>--> <condition field="${sip_to_user}" expression="^([0,1]?)(3033253678)$"> <action application="ring_ready"/> <action application="set" data="${dialed_user}=$2" /> <action application="set" data="ignore_early_media=true"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,TIMEOUT,NO_ROUTE_DESINATION,NO_ANSWER,DESTINATION_OUT_OF_ORDER,USER_BUSY"/> <action application="playback" data="/usr/local/freeswitch/sounds/holdmusic/06.mp3"/> <action application="set" data="call_timeout=25"/> <action application="bridge" data="user/$2@$${domain}"/> <action application="answer"/> <action application="voicemail" data="default $${domain} $2"/> </condition> </extension> -- filename "dialplan/extensions/18162565804.xml" -- This is the primary DID assigned. <extension name="8162565804"> <!--<condition field="destination_number" expression="^[0,1]?3033253678$"/>--> <condition field="${sip_to_user}" expression="^([0,1]?)(8162565804)$"> <action application="ring_ready"/> <action application="set" data="ignore_early_media=true"/> <action application="set" data="call_timeout=25"/> <action application="set" data="${dialed_user}=$2"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,TIMEOUT,NO_ROUTE_DESINATION,NO_ANSWER,DESTINATION_OUT_OF_ORDER"/> <action application="playback" data="/usr/local/freeswitch/sounds/holdmusic/07.mp3"/> <action application="bridge" data="user/$2@$${domain}"/> <action application="answer"/> <action application="voicemail" data="default $${domain} $2"/> </condition> </extension> -- View this message in context: http://www.nabble.com/Wrong---in-voicemail-tp20791453p20798791.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
Note: while reading up on regex, I see that the ',' in ([0,1]) is superflous, has been removed. regex is now: ^([01]?)(8162565804)$ Didn't fix the problem but I'm a perfectionist, had to be changed. :D -- View this message in context: http://www.nabble.com/Wrong---in-voicemail-tp20791453p20799146.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
After you set ${dialed_user}=$2 try using ${dialed_user} everywhere instead of $2 just to test. /b On Dec 2, 2008, at 1:29 PM, ccav wrote:
Note: while reading up on regex, I see that the ',' in ([0,1]) is superflous, has been removed. regex is now: ^([01]?)(8162565804)$ Didn't fix the problem but I'm a perfectionist, had to be changed. :D -- View this message in context: http://www.nabble.com/Wrong---in-voicemail-tp20791453p20799146.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
Made the change, no joy. Do I need to set sip_req_user to the updated DID? Also, I misspoke in my first post, apparently the bridge is NOT going through either. Is there some var/param I can set with $2 so I can see it in the "info"? -- View this message in context: http://www.nabble.com/Wrong---in-voicemail-tp20791453p20803931.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
Okay, I found out who the culprit is, but I still want to find a fix so the dialplan works like I want. The <application="playback" causes an answer and early media... When I comment that out, the voicemail works almost properly. It's clipping the (81) off the front of the 816 DID, which is probably thinking those are pbx dialout values. If anyone can tell me where that is set so I can change it... But the bridge and voicemail both work like they are sposed to. However, something is happening in playback that is making it impossible to bridge the call or send it to voicemail properly. -- View this message in context: http://www.nabble.com/Wrong---in-voicemail-tp20791453p20804247.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
RESOLVED. Duh, I'm sposed to use ringback, not playback... Someone should write a book on this... Maybe I will. -- View this message in context: http://www.nabble.com/Wrong---in-voicemail-tp20791453p20804652.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
hehe, careful what you wish for... On Tue, Dec 2, 2008 at 5:11 PM, ccav <c_cav_01@yahoo.com> wrote:
RESOLVED.
Duh, I'm sposed to use ringback, not playback...
Someone should write a book on this... Maybe I will. -- View this message in context: http://www.nabble.com/Wrong---in-voicemail-tp20791453p20804652.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
Is there any dialplan instructions that could be added that would sit and listen during a call for a tone (a key press, say 2) and when FS hears that tone, then FS can broadcast another key tone (say 6) back to the channels?
What would need to happen after the tone is sent back out? Also, would this be part of something like an IVR? -MC On Dec 5, 2008, at 7:22 AM, "Frank @ Impact" <frank@impactfax.com> wrote:
Is there any dialplan instructions that could be added that would sit and listen during a call for a tone (a key press, say 2) and when FS hears that tone, then FS can broadcast another key tone (say 6) back to the channels?
_______________________________________________ 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
After the tone is sent back out, we are done. There is nothing left to do. No, this key press detection is during a bridged call between two parties. No IVR here. So, FS hears a key press tone during a call and then responds to the parties with another/different key press tone. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch- What would need to happen after the tone is sent back out? Also, would this be part of something like an IVR? -MC On Dec 5, 2008, at 7:22 AM, "Frank @ Impact" <frank@impactfax.com> wrote:
Is there any dialplan instructions that could be added that would sit and listen during a call for a tone (a key press, say 2) and when FS hears that tone, then FS can broadcast another key tone (say 6) back to the channels?
_______________________________________________ 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
_______________________________________________ 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
So receive DTMF respond with more DTMF? /b On Dec 5, 2008, at 10:00 AM, Frank @ Impact wrote:
After the tone is sent back out, we are done. There is nothing left to do. No, this key press detection is during a bridged call between two parties. No IVR here. So, FS hears a key press tone during a call and then responds to the parties with another/different key press tone.
Yes. listen in for 1 DTMF during a call and then signal back a different DTMF. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch- So receive DTMF respond with more DTMF? /b On Dec 5, 2008, at 10:00 AM, Frank @ Impact wrote:
After the tone is sent back out, we are done. There is nothing left to do. No, this key press detection is during a bridged call between two parties. No IVR here. So, FS hears a key press tone during a call and then responds to the parties with another/different key press tone.
_______________________________________________ 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
freeswitch-users-bounces@lists.freeswitch.org wrote:
After the tone is sent back out, we are done. There is nothing left to do.
Maybe you can look at: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bind_meta_app Ciao, Claudio Internet Email Confidentiality Footer ----------------------------------------------------------------------------------------------------- La presente comunicazione, con le informazioni in essa contenute e ogni documento o file allegato, e' rivolta unicamente alla/e persona/e cui e' indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non siete i destinatari/autorizzati siete avvisati che qualsiasi azione, copia, comunicazione, divulgazione o simili basate sul contenuto di tali informazioni e' vietata e potrebbe essere contro la legge (art. 616 C.P., D.Lgs n. 196/2003 Codice in materia di protezione dei dati personali). Se avete ricevuto questa comunicazione per errore, vi preghiamo di darne immediata notizia al mittente e di distruggere il messaggio originale e ogni file allegato senza farne copia alcuna o riprodurne in alcun modo il contenuto. This e-mail and its attachments are intended for the addressee(s) only and are confidential and/or may contain legally privileged information. If you have received this message by mistake or are not one of the addressees above, you may take no action based on it, and you may not copy or show it to anyone; please reply to this e-mail and point out the error which has occurred. -----------------------------------------------------------------------------------------------------
Will the call be terminated at that point or does it need to continue? I do know that the tone_detect app can listen for a dtmf from either direction and can trigger execution of another app/extension/etc. However, I've never tried it on a bridged call, so I'm curious to see what would happen. The other question I would need to research is what would happen if the dtmf was sent rfc2833 style. Hop on the wiki and look at tone_detect while I research the other questions and we will see what we can come up with. -MC On Dec 5, 2008, at 8:00 AM, "Frank @ Impact" <frank@impactfax.com> wrote:
After the tone is sent back out, we are done. There is nothing left to do. No, this key press detection is during a bridged call between two parties. No IVR here. So, FS hears a key press tone during a call and then responds to the parties with another/different key press tone.
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-
What would need to happen after the tone is sent back out? Also, would this be part of something like an IVR?
-MC
On Dec 5, 2008, at 7:22 AM, "Frank @ Impact" <frank@impactfax.com> wrote:
Is there any dialplan instructions that could be added that would sit and listen during a call for a tone (a key press, say 2) and when FS hears that tone, then FS can broadcast another key tone (say 6) back to the channels?
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
The call should continue after FS hears the key press and responds with its own key press tone. Then the call just continues on. They key press from one of the parties would come some time after the call is bridged. Maybe some 10 or 20 seconds into the call for example. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael S Collins Will the call be terminated at that point or does it need to continue? I do know that the tone_detect app can listen for a dtmf from either direction and can trigger execution of another app/extension/etc. However, I've never tried it on a bridged call, so I'm curious to see what would happen. The other question I would need to research is what would happen if the dtmf was sent rfc2833 style. Hop on the wiki and look at tone_detect while I research the other questions and we will see what we can come up with. -MC On Dec 5, 2008, at 8:00 AM, "Frank @ Impact" <frank@impactfax.com> wrote:
After the tone is sent back out, we are done. There is nothing left to do. No, this key press detection is during a bridged call between two parties. No IVR here. So, FS hears a key press tone during a call and then responds to the parties with another/different key press tone.
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-
What would need to happen after the tone is sent back out? Also, would this be part of something like an IVR?
-MC
On Dec 5, 2008, at 7:22 AM, "Frank @ Impact" <frank@impactfax.com> wrote:
Is there any dialplan instructions that could be added that would sit and listen during a call for a tone (a key press, say 2) and when FS hears that tone, then FS can broadcast another key tone (say 6) back to the channels?
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Looks like tone detect might do it. But.. If so, What frequency would we use for particular keys? Will tone_Detect sniff both legs or would we just do both r and w on the called leg? Can the tone_Detect timeout just be a very large number or can we leave out the timeout value so there is no timeout? Could the trigger from tone Detect do a gentone for a certain key? Not much on the wiki on the mod. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael S Collins Hop on the wiki and look at tone_detect while I research the other questions and we will see what we can come up with. -MC On Dec 5, 2008, at 8:00 AM, "Frank @ Impact" <frank@impactfax.com> wrote:
After the tone is sent back out, we are done. There is nothing left to do. No, this key press detection is during a bridged call between two parties. No IVR here. So, FS hears a key press tone during a call and then responds to the parties with another/different key press tone.
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-
What would need to happen after the tone is sent back out? Also, would this be part of something like an IVR?
-MC
On Dec 5, 2008, at 7:22 AM, "Frank @ Impact" <frank@impactfax.com> wrote:
Is there any dialplan instructions that could be added that would sit and listen during a call for a tone (a key press, say 2) and when FS hears that tone, then FS can broadcast another key tone (say 6) back to the channels?
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
On Fri, Dec 5, 2008 at 8:32 AM, Frank @ Impact <frank@impactfax.com> wrote:
Looks like tone detect might do it. But..
If so, What frequency would we use for particular keys?
http://en.wikipedia.org/wiki/DTMF#Keypad
Will tone_Detect sniff both legs or would we just do both r and w on the called leg?
Just do both r and w.
Can the tone_Detect timeout just be a very large number or can we leave out the timeout value so there is no timeout?
I know you can set it to a large number; I've never tried a "forever" tone_detect. I'll check it out.
Could the trigger from tone Detect do a gentone for a certain key?
I don't believe so. This is where the bind_meta_app functionality is more applicable. The dialplan isn't really the best place to handle "events" like this. (Event socket would be better if you can swing that, but I think maybe a workaround is doable with just the dialplan and some creativity.)
Not much on the wiki on the mod.
My bad. I'm working on it. :) In the meantime grab those dtmf frequency values and set up a test extension in your dialplan. Put a tone_detect app in that test ext. (You could have the ext set tone detect, sleep 10 seconds, do info app then hangup.) Then call the test extension, press a few keys, then wait for the info app to dump. If you have the tone_detect set a chan variable when a dtmf is pressed then you'll see it in your info app dump. BTW, MikeJ reminded me about the start_dtmf/stop_dtmf apps: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_start_dtmf Those might be necessary if your dtmf's are not already in-band. Here's a sample extension you could try for testing, dialing 9990: <extension name="dtmf_detect_test"> <condition field="destination_number" expression="^9990$"> <action application="answer"/> <action application="tone_detect" data="DTMF1 697,1209 rw +10000 set DTMF1=true"/> <!-- detect DTMF 1 key--> <action application="sleep" data="10000"/> <action application="info"/> <action application="hangup"/> </condition> </extension> Give that a try and at least see if you can detect the tones... -MC
I tried your suggested test. Here is the business end of the extension I tried. <action application="set" data="DTMF1=false"/> <action application="start_dtmf" data="true"/> <action application="tone_detect" data="DTMF1 697,1209 rw +10000 set DTMF1=true"/> <!-- detect DTMF 1 key--> <action application="answer"/> <action application="sleep" data="10000"/> <action application="info"/> <action application="hangup"/> but I always got DTMF1=false in the info dump. I am using FS 9210 I have tried sending a call from my sip phone connected to an asterisk server to FS (dial FS). I also tried a PSTN call coming in on a PRI to asterisk and then sip over to FS (another dial from asterisk). In each case, pressed 1 several times and the tone_detect never triggered. Ideas? Am I doing something stupid or is tone_detect not just right here? -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Those might be necessary if your dtmf's are not already in-band. Here's a sample extension you could try for testing, dialing 9990: <extension name="dtmf_detect_test"> <condition field="destination_number" expression="^9990$"> <action application="answer"/> <action application="tone_detect" data="DTMF1 697,1209 rw +10000 set DTMF1=true"/> <!-- detect DTMF 1 key--> <action application="sleep" data="10000"/> <action application="info"/> <action application="hangup"/> </condition> </extension> Give that a try and at least see if you can detect the tones... -MC _______________________________________________ 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
That's a pretty old rev. Any chance you could make current? -MC Sent from my iPhone On Dec 5, 2008, at 5:09 PM, "Frank @ Impact" <frank@impactfax.com> wrote:
I tried your suggested test. Here is the business end of the extension I tried.
<action application="set" data="DTMF1=false"/> <action application="start_dtmf" data="true"/> <action application="tone_detect" data="DTMF1 697,1209 rw +10000 set DTMF1=true"/> <!-- detect DTMF 1 key--> <action application="answer"/> <action application="sleep" data="10000"/> <action application="info"/> <action application="hangup"/>
but I always got DTMF1=false in the info dump. I am using FS 9210
I have tried sending a call from my sip phone connected to an asterisk server to FS (dial FS). I also tried a PSTN call coming in on a PRI to asterisk and then sip over to FS (another dial from asterisk). In each case, pressed 1 several times and the tone_detect never triggered.
Ideas? Am I doing something stupid or is tone_detect not just right here?
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins
Those might be necessary if your dtmf's are not already in-band.
Here's a sample extension you could try for testing, dialing 9990:
<extension name="dtmf_detect_test"> <condition field="destination_number" expression="^9990$"> <action application="answer"/> <action application="tone_detect" data="DTMF1 697,1209 rw +10000 set DTMF1=true"/> <!-- detect DTMF 1 key--> <action application="sleep" data="10000"/> <action application="info"/> <action application="hangup"/> </condition> </extension>
Give that a try and at least see if you can detect the tones... -MC
_______________________________________________ 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
_______________________________________________ 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
Also got it on 9579 as well. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael S Collins Sent: Friday, December 05, 2008 8:42 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] key tone trigger event during call That's a pretty old rev. Any chance you could make current? -MC Sent from my iPhone On Dec 5, 2008, at 5:09 PM, "Frank @ Impact" <frank@impactfax.com> wrote:
I tried your suggested test. Here is the business end of the extension I tried.
<action application="set" data="DTMF1=false"/> <action application="start_dtmf" data="true"/> <action application="tone_detect" data="DTMF1 697,1209 rw +10000 set DTMF1=true"/> <!-- detect DTMF 1 key--> <action application="answer"/> <action application="sleep" data="10000"/> <action application="info"/> <action application="hangup"/>
but I always got DTMF1=false in the info dump. I am using FS 9210
I have tried sending a call from my sip phone connected to an asterisk server to FS (dial FS). I also tried a PSTN call coming in on a PRI to asterisk and then sip over to FS (another dial from asterisk). In each case, pressed 1 several times and the tone_detect never triggered.
Ideas? Am I doing something stupid or is tone_detect not just right here?
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins
Those might be necessary if your dtmf's are not already in-band.
Here's a sample extension you could try for testing, dialing 9990:
<extension name="dtmf_detect_test"> <condition field="destination_number" expression="^9990$"> <action application="answer"/> <action application="tone_detect" data="DTMF1 697,1209 rw +10000 set DTMF1=true"/> <!-- detect DTMF 1 key--> <action application="sleep" data="10000"/> <action application="info"/> <action application="hangup"/> </condition> </extension>
Give that a try and at least see if you can detect the tones... -MC
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Same thing with version 10640 build. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Saturday, December 06, 2008 1:01 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] key tone trigger event during call make current or install current svn on a different box. /b On Dec 5, 2008, at 7:09 PM, Frank @ Impact wrote:
Ideas? Am I doing something stupid or is tone_detect not just right here?
_______________________________________________ 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
From my understanding, I didn't think tone_detect detects DTMF since it's dual frequencies, rather tone_detect detects single frequencies like fax tones.
I would just run an IVR with a session.read or session.getDigits to collect DTMF. Dan On Sat, Dec 6, 2008 at 1:19 PM, Frank @ Impact <frank@impactfax.com> wrote:
Same thing with version 10640 build.
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Saturday, December 06, 2008 1:01 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] key tone trigger event during call
make current or install current svn on a different box.
/b
On Dec 5, 2008, at 7:09 PM, Frank @ Impact wrote:
Ideas? Am I doing something stupid or is tone_detect not just right here?
_______________________________________________ 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
_______________________________________________ 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
tone_detect can detect an MF tone up to 6 at once. (in practice) On Mon, Dec 8, 2008 at 11:51 AM, Dan Le <dule.maillist@gmail.com> wrote:
From my understanding, I didn't think tone_detect detects DTMF since it's dual frequencies, rather tone_detect detects single frequencies like fax tones.
I would just run an IVR with a session.read or session.getDigits to collect DTMF.
Dan
On Sat, Dec 6, 2008 at 1:19 PM, Frank @ Impact <frank@impactfax.com>wrote:
Same thing with version 10640 build.
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Saturday, December 06, 2008 1:01 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] key tone trigger event during call
make current or install current svn on a different box.
/b
On Dec 5, 2008, at 7:09 PM, Frank @ Impact wrote:
Ideas? Am I doing something stupid or is tone_detect not just right here?
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Are you really trying to detect a tone, or are you trying to detect dtmf (could be delivered via rfc2833, info, etc) ? Mike On Dec 8, 2008, at 12:51 PM, Dan Le wrote:
From my understanding, I didn't think tone_detect detects DTMF since it's dual frequencies, rather tone_detect detects single frequencies like fax tones.
I would just run an IVR with a session.read or session.getDigits to collect DTMF. Dan
On Sat, Dec 6, 2008 at 1:19 PM, Frank @ Impact <frank@impactfax.com> wrote: Same thing with version 10640 build.
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Saturday, December 06, 2008 1:01 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] key tone trigger event during call
make current or install current svn on a different box.
/b
On Dec 5, 2008, at 7:09 PM, Frank @ Impact wrote:
Ideas? Am I doing something stupid or is tone_detect not just right here?
We are actually trying to detect the called party pressing a key - dtmf. In band for ulaw. Rfc2833 for 729. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Monday, December 08, 2008 12:57 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] key tone trigger event during call Are you really trying to detect a tone, or are you trying to detect dtmf (could be delivered via rfc2833, info, etc) ? Mike On Dec 8, 2008, at 12:51 PM, Dan Le wrote:
From my understanding, I didn't think tone_detect detects DTMF since it's dual frequencies, rather tone_detect detects single frequencies like fax tones. I would just run an IVR with a session.read or session.getDigits to collect DTMF. Dan
On Sat, Dec 6, 2008 at 1:19 PM, Frank @ Impact <frank@impactfax.com> wrote: Same thing with version 10640 build. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Saturday, December 06, 2008 1:01 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] key tone trigger event during call make current or install current svn on a different box. /b On Dec 5, 2008, at 7:09 PM, Frank @ Impact wrote:
Ideas? Am I doing something stupid or is tone_detect not just right here?
you don't want to be using the tone detect here, you want to be using bind_meta, but without the meta key, which I don't think it can actually do currently. Mike On Dec 9, 2008, at 8:31 AM, Frank @ Impact wrote:
We are actually trying to detect the called party pressing a key – dtmf. In band for ulaw. Rfc2833 for 729.
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org ] On Behalf Of Michael Jerris Sent: Monday, December 08, 2008 12:57 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] key tone trigger event during call
Are you really trying to detect a tone, or are you trying to detect dtmf (could be delivered via rfc2833, info, etc) ?
Mike
On Dec 8, 2008, at 12:51 PM, Dan Le wrote:
From my understanding, I didn't think tone_detect detects DTMF since it's dual frequencies, rather tone_detect detects single frequencies like fax tones.
I would just run an IVR with a session.read or session.getDigits to collect DTMF.
Dan
On Sat, Dec 6, 2008 at 1:19 PM, Frank @ Impact <frank@impactfax.com> wrote: Same thing with version 10640 build.
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Saturday, December 06, 2008 1:01 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] key tone trigger event during call make current or install current svn on a different box.
/b
On Dec 5, 2008, at 7:09 PM, Frank @ Impact wrote:
Ideas? Am I doing something stupid or is tone_detect not just right here?
_______________________________________________ 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 (9)
-
Anthony Minessale
-
Brian West
-
Cavalera Claudio Luigi
-
ccav
-
Dan Le
-
Frank @ Impact
-
Michael Collins
-
Michael Jerris
-
Michael S Collins