<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5764" name=GENERATOR><LINK
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"
rel=stylesheet></HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana size=2>hi all</FONT></DIV>
<DIV> i am new to freeswitch.</DIV>
<DIV style="TEXT-INDENT: 2em">there are some busy tone detect issues,i hope
someone could help me.</DIV>
<DIV style="TEXT-INDENT: 2em">i installed freeswitch from
trunk,openzap,zaptel....</DIV>
<DIV style="TEXT-INDENT: 2em">but i found some busy tone isuues</DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em">my tones.conf:</DIV>
<DIV style="TEXT-INDENT: 2em">[us]</DIV>
<DIV style="TEXT-INDENT: 2em">
<DIV>generate-dial => v=-7;%(1000,0,350,440)</DIV>
<DIV>detect-dial => 350,440</DIV>
<DIV></DIV>
<DIV>generate-ring => v=-7;%(2000,4000,440,480)</DIV>
<DIV>detect-ring => 440,480</DIV>
<DIV></DIV>
<DIV>generate-busy => v=-7;%(500,500,450,340)</DIV>
<DIV>detect-busy =>450,340</DIV>
<DIV></DIV>
<DIV>generate-attn => v=0;%(100,100,1400,2060,2450,2600)</DIV>
<DIV>detect-attn => 1400,2060,2450,2600</DIV>
<DIV></DIV>
<DIV>generate-callwaiting-sas => v=0;%(300,0,440)</DIV>
<DIV>detect-callwaiting-sas => 440</DIV>
<DIV></DIV>
<DIV>generate-callwaiting-cas => v=0;%(80,0,2750,2130)</DIV>
<DIV>detect-callwaiting-cas => 2750,2130</DIV>
<DIV></DIV>
<DIV>detect-fail1 => 913.8</DIV>
<DIV>detect-fail2 => 1370.6</DIV>
<DIV>detect-fail3 => 776.7</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>openzap.conf.xml :</DIV>
<DIV>
<DIV><configuration name="openzap.conf" description="OpenZAP Configuration"></DIV>
<DIV> <settings></DIV>
<DIV> <param name="debug" value="0"/></DIV>
<DIV> <!--<param name="hold-music" value="$${moh_uri}"/>--></DIV>
<DIV> <!--<param name="enable-analog-option" value="call-swap"/>--></DIV>
<DIV> <!--<param name="enable-analog-option" value="3-way"/>--></DIV>
<DIV> </settings></DIV>
<DIV> <pri_spans></DIV>
<DIV> <span name="PRI_1"></DIV>
<DIV> <!-- Log Levels: none, alert, crit, err, warning, notice, info, debug --></DIV>
<DIV> <param name="q921loglevel" value="alert"/></DIV>
<DIV> <param name="q931loglevel" value="alert"/></DIV>
<DIV> <param name="mode" value="user"/></DIV>
<DIV> <param name="dialect" value="5ess"/></DIV>
<DIV> <param name="dialplan" value="XML"/></DIV>
<DIV> <param name="context" value="default"/></DIV>
<DIV> </span></DIV>
<DIV> <span name="PRI_2"></DIV>
<DIV> <param name="q921loglevel" value="alert"/></DIV>
<DIV> <param name="q931loglevel" value="alert"/></DIV>
<DIV> <param name="mode" value="user"/></DIV>
<DIV> <param name="dialect" value="5ess"/></DIV>
<DIV> <param name="dialplan" value="XML"/></DIV>
<DIV> <param name="context" value="default"/></DIV>
<DIV> </span></DIV>
<DIV> </pri_spans></DIV>
<DIV> <!-- one entry here per openzap span --></DIV>
<DIV> <analog_spans></DIV>
<DIV> <span id="1"></DIV>
<DIV> <!--<param name="hold-music" value="$${moh_uri}"/>--></DIV>
<DIV> <!--<param name="enable-analog-option" value="call-swap"/>--></DIV>
<DIV> <!--<param name="enable-analog-option" value="3-way"/>--></DIV>
<DIV> <param name="tonegroup" value="us"/></DIV>
<DIV> <param name="digit-timeout" value="2000"/></DIV>
<DIV> <param name="max-digits" value="11"/></DIV>
<DIV> <param name="dialplan" value="XML"/></DIV>
<DIV> <param name="context" value="default"/></DIV>
<DIV> <param name="enable-callerid" value="true"/></DIV>
<DIV> <!-- regex to stop dialing when it matches --></DIV>
<DIV> <!--<param name="dial-regex" value="5555"/>--></DIV>
<DIV> <!-- regex to stop dialing when it does not match --></DIV>
<DIV> <!--<param name="fail-dial-regex" value="^5"/>--></DIV>
<DIV> </span></DIV>
<DIV> <span id="2"></DIV>
<DIV> <!--<param name="hold-music" value="$${moh_uri}"/>--></DIV>
<DIV> <!--<param name="enable-analog-option" value="call-swap"/>--></DIV>
<DIV> <!--<param name="enable-analog-option" value="3-way"/>--></DIV>
<DIV> <param name="tonegroup" value="us"/></DIV>
<DIV> <param name="digit-timeout" value="2000"/></DIV>
<DIV> <param name="max-digits" value="11"/></DIV>
<DIV> <param name="dialplan" value="XML"/></DIV>
<DIV> <param name="context" value="default"/></DIV>
<DIV> <param name="enable-callerid" value="true"/></DIV>
<DIV> <!-- regex to stop dialing when it matches --></DIV>
<DIV> <!--<param name="dial-regex" value="5555"/>--></DIV>
<DIV> <!-- regex to stop dialing when it does not match --></DIV>
<DIV> <!--<param name="fail-dial-regex" value="^5"/>--></DIV>
<DIV> </span></DIV>
<DIV> <span id="3"></DIV>
<DIV> <!--<param name="hold-music" value="$${moh_uri}"/>--></DIV>
<DIV> <!--<param name="enable-analog-option" value="call-swap"/>--></DIV>
<DIV> <!--<param name="enable-analog-option" value="3-way"/>--></DIV>
<DIV> <param name="tonegroup" value="us"/></DIV>
<DIV> <param name="digit-timeout" value="2000"/></DIV>
<DIV> <param name="max-digits" value="11"/></DIV>
<DIV> <param name="dialplan" value="XML"/></DIV>
<DIV> <param name="context" value="default"/></DIV>
<DIV> <param name="enable-callerid" value="true"/></DIV>
<DIV> <!-- regex to stop dialing when it matches --></DIV>
<DIV> <!--<param name="dial-regex" value="5555"/>--></DIV>
<DIV> <!-- regex to stop dialing when it does not match --></DIV>
<DIV> <!--<param name="fail-dial-regex" value="^5"/>--></DIV>
<DIV> </span></DIV>
<DIV> <span id="4"></DIV>
<DIV> <!--<param name="hold-music" value="$${moh_uri}"/>--></DIV>
<DIV> <!--<param name="enable-analog-option" value="call-swap"/>--></DIV>
<DIV> <!--<param name="enable-analog-option" value="3-way"/>--></DIV>
<DIV> <param name="tonegroup" value="us"/></DIV>
<DIV> <param name="digit-timeout" value="2000"/></DIV>
<DIV> <param name="max-digits" value="11"/></DIV>
<DIV> <param name="dialplan" value="XML"/></DIV>
<DIV> <param name="context" value="default"/></DIV>
<DIV> <param name="enable-callerid" value="true"/></DIV>
<DIV> <!-- regex to stop dialing when it matches --></DIV>
<DIV> <!--<param name="dial-regex" value="5555"/>--></DIV>
<DIV> <!-- regex to stop dialing when it does not match --></DIV>
<DIV> <!--<param name="fail-dial-regex" value="^5"/>--></DIV>
<DIV> </span></DIV>
<DIV> </analog_spans></DIV>
<DIV></configuration></DIV></DIV>
<DIV> </DIV>
<DIV>when i call the pstn phone from a ip phone,if the pstn call hangup
first,the ip phone will hear the busy tone,but the system does not handle the
busytone ,the channel does not erase. so i have to add </DIV>
<DIV><action application="tone_detect" data="busy 450,340 w +25000 hangup 'normal_clearing' 3"/>
in the dialplan.and it works.the channel erased.</DIV>
<DIV> </DIV>
<DIV>but in the conference case,pstn phone call in,hangup. all participants hear
the tone,"do ~,do~~".freeswitch doest handle it.</DIV>
<DIV>so i change the conference dialplan.</DIV></DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em">
<DIV><extension name="incoming-fxo-channel-1"> </DIV>
<DIV><condition field="source" expression="mod_openzap"></DIV>
<DIV><action application="tone_detect" data="busy 450,340 w +25000 hangup 'normal_clearing' 3"/>
</DIV>
<DIV><action application="bridge" data="sofia/maqian/6789@njpbx.vicp.net"/></DIV>
<DIV> </condition> </DIV>
<DIV> </extension></DIV></DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em">restart freeswitch,try again,freeswitch not handle
the hangup tone still,all participants hear the tone.</DIV>
<DIV style="TEXT-INDENT: 2em">how to solve it?could some one help me ???</DIV>
<DIV style="TEXT-INDENT: 2em">thx!</DIV>
<DIV style="TEXT-INDENT: 2em">BR</DIV>
<DIV
style="TEXT-INDENT: 2em">
M.Q</DIV>
<DIV style="TEXT-INDENT: 2em"><FONT face=Verdana color=#c0c0c0 size=2>2009-06-04
</FONT></DIV><FONT face=Verdana size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>god.nirvana</SPAN>
</FONT></DIV></FONT></BODY></HTML>