Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Using tone_detect application


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
pgrondin at ip5.com
Guest





PostPosted: Tue Jul 28, 2009 2:50 pm    Post subject: [Freeswitch-users] Using tone_detect application Reply with quote

Hi,

I’m doing some tests between 2 FS to understand how the tone_detect application works.

I’m trying to detect a SIT tone, but I can’t seem to detect the 3 tones. I only get the first activated tone.

If I have all tones activated - - - > I detect only the first tone of my wav file.
If I have 2nd segment tones and up activated - - - > I detect only the second tone of my wav file.
If I have the 3rd segment tones activated - - - > I detect only the third tone of my wav file.

I see that tone_detect can detect all 3 tones, but never at the same time. Does anyone have an idea of what I could be doing wrong ? Thanks !

I’m using FreeSWITCH Version 1.0.trunk (14397).

My dialplan looks like this :

<extension name="incoming">
<condition field="destination_number" expression="^(514[0-9][0-9][0-9][0-9][0-9][0-9][0-9])$">
<action application="answer"/>
<action application="tone_detect" data="SIT1LO 913.8 w +25000 set SIT1LO=true"/> <!--1st segment low -->
<action application="tone_detect" data="SIT1HI 985.2 w +25000 set SIT1HI=true"/> <!--1st segment high -->
<action application="tone_detect" data="SIT2LO 1370.6 w +25000 set SIT2LO=true"/> <!--2nd segment low -->
<action application="tone_detect" data="SIT2HI 1428.5 w +25000 set SIT2HI=true"/> <!--2nd segment high -->
<action application="tone_detect" data="SIT3LO 1776.7 w +25000 set SIT3LO=true"/> <!--3rd segment low -->
<action application="tone_detect" data="SITITU1 950 w +25000 set SITITU1=true"/> <!--2nd segment low -->
<action application="tone_detect" data="SITITU2 1400 w +25000 set SITITU2=true"/> <!--2nd segment high -->
<action application="tone_detect" data="SITITU3 1800 w +25000 set SITITU3=true"/> <!--3rd segment low -->
<action application="bridge" data="sofia/internal/$1@192.168.100.9"/>
</condition>
</extension>
Back to top
pgrondin at ip5.com
Guest





PostPosted: Mon Aug 03, 2009 2:06 pm    Post subject: [Freeswitch-users] Using tone_detect application Reply with quote

Hi,

What’s the correct way to detect a number changed SIT tone in Freeswitch ?


From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Patrick Grondin
Sent: July-28-09 3:44 PM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] Using tone_detect application



Hi,

I’m doing some tests between 2 FS to understand how the tone_detect application works.

I’m trying to detect a SIT tone, but I can’t seem to detect the 3 tones. I only get the first activated tone.

If I have all tones activated - - - > I detect only the first tone of my wav file.
If I have 2nd segment tones and up activated - - - > I detect only the second tone of my wav file.
If I have the 3rd segment tones activated - - - > I detect only the third tone of my wav file.

I see that tone_detect can detect all 3 tones, but never at the same time. Does anyone have an idea of what I could be doing wrong ? Thanks !

I’m using FreeSWITCH Version 1.0.trunk (14397).

My dialplan looks like this :

<extension name="incoming">
<condition field="destination_number" expression="^(514[0-9][0-9][0-9][0-9][0-9][0-9][0-9])$">
<action application="answer"/>
<action application="tone_detect" data="SIT1LO 913.8 w +25000 set SIT1LO=true"/> <!--1st segment low -->
<action application="tone_detect" data="SIT1HI 985.2 w +25000 set SIT1HI=true"/> <!--1st segment high -->
<action application="tone_detect" data="SIT2LO 1370.6 w +25000 set SIT2LO=true"/> <!--2nd segment low -->
<action application="tone_detect" data="SIT2HI 1428.5 w +25000 set SIT2HI=true"/> <!--2nd segment high -->
<action application="tone_detect" data="SIT3LO 1776.7 w +25000 set SIT3LO=true"/> <!--3rd segment low -->
<action application="tone_detect" data="SITITU1 950 w +25000 set SITITU1=true"/> <!--2nd segment low -->
<action application="tone_detect" data="SITITU2 1400 w +25000 set SITITU2=true"/> <!--2nd segment high -->
<action application="tone_detect" data="SITITU3 1800 w +25000 set SITITU3=true"/> <!--3rd segment low -->
<action application="bridge" data="sofia/internal/$1@192.168.100.9"/>
</condition>
</extension>
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
Page 1 of 1

 
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