Hi, What's the correct way to detect a number changed SIT tone in Freeswitch ?
From: [email protected] [mailto:[email protected]] On Behalf Of Patrick Grondin Sent: July-28-09 3:44 PM To: [email protected] 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/[email protected]"/> </condition> </extension>
_______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
