Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] key tone trigger event during call

Goto page 1, 2  Next
 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
frank at impactfax.com
Guest





PostPosted: Fri Dec 05, 2008 10:34 am    Post subject: [Freeswitch-users] key tone trigger event during call Reply with quote

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
Back to top
msc at freeswitch.org
Guest





PostPosted: Fri Dec 05, 2008 10:53 am    Post subject: [Freeswitch-users] key tone trigger event during call Reply with quote

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:

Quote:

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

_______________________________________________
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
Back to top
frank at impactfax.com
Guest





PostPosted: Fri Dec 05, 2008 10:59 am    Post subject: [Freeswitch-users] key tone trigger event during call Reply with quote

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?

-Frank
Back to top
frank at impactfax.com
Guest





PostPosted: Fri Dec 05, 2008 11:04 am    Post subject: [Freeswitch-users] key tone trigger event during call Reply with quote

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:

Quote:

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
Quote:
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
Back to top
Claudio.Cavalera at it...
Guest





PostPosted: Fri Dec 05, 2008 11:12 am    Post subject: [Freeswitch-users] key tone trigger event during call Reply with quote

freeswitch-users-bounces@lists.freeswitch.org wrote:
Quote:
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.
-----------------------------------------------------------------------------------------------------


_______________________________________________
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
Back to top
frank at impactfax.com
Guest





PostPosted: Fri Dec 05, 2008 11:15 am    Post subject: [Freeswitch-users] key tone trigger event during call Reply with quote

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:

Quote:
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 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
Back to top
msc at freeswitch.org
Guest





PostPosted: Fri Dec 05, 2008 11:22 am    Post subject: [Freeswitch-users] key tone trigger event during call Reply with quote

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:

Quote:
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:

Quote:

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
Quote:
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

_______________________________________________
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
Back to top
frank at impactfax.com
Guest





PostPosted: Fri Dec 05, 2008 11:36 am    Post subject: [Freeswitch-users] key tone trigger event during call Reply with quote

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:

Quote:
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:

Quote:

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
Quote:
Quote:
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
Quote:
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
Quote:
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
Back to top
frank at impactfax.com
Guest





PostPosted: Fri Dec 05, 2008 11:39 am    Post subject: [Freeswitch-users] key tone trigger event during call Reply with quote

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:

Quote:
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:

Quote:

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
Quote:
Quote:
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
Quote:
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
Quote:
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Fri Dec 05, 2008 11:45 am    Post subject: [Freeswitch-users] key tone trigger event during call Reply with quote

So receive DTMF respond with more DTMF?

/b

On Dec 5, 2008, at 10:00 AM, Frank @ Impact wrote:

Quote:
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
Back to top
msc at freeswitch.org
Guest





PostPosted: Fri Dec 05, 2008 12:45 pm    Post subject: [Freeswitch-users] key tone trigger event during call Reply with quote

On Fri, Dec 5, 2008 at 8:32 AM, Frank @ Impact <frank@impactfax.com> wrote:
Quote:
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


Quote:
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.

Quote:
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.

Quote:

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.)

Quote:
Not much on the wiki on the mod.

My bad. I'm working on it. Smile 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

_______________________________________________
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
Back to top
frank at impactfax.com
Guest





PostPosted: Fri Dec 05, 2008 8:18 pm    Post subject: [Freeswitch-users] key tone trigger event during call Reply with quote

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
Back to top
msc at freeswitch.org
Guest





PostPosted: Fri Dec 05, 2008 8:49 pm    Post subject: [Freeswitch-users] key tone trigger event during call Reply with quote

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:

Quote:
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

_______________________________________________
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
Back to top
frank at impactfax.com
Guest





PostPosted: Fri Dec 05, 2008 10:03 pm    Post subject: [Freeswitch-users] key tone trigger event during call Reply with quote

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:

Quote:
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
Quote:
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
Quote:
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Sat Dec 06, 2008 1:12 am    Post subject: [Freeswitch-users] key tone trigger event during call Reply with quote

make current or install current svn on a different box.

/b

On Dec 5, 2008, at 7:09 PM, Frank @ Impact wrote:

Quote:

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services