<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Are you having this issue on your analog or pri lines? what does your openzap.conf look like?<div><br></div><div>Mike</div><div><br><div><div>On Jun 4, 2009, at 4:28 AM, god.nirvana wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="font-size: 10pt; margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 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="<a href="mailto:sofia/maqian/6789@njpbx.vicp.net">sofia/maqian/6789@njpbx.vicp.net</a>"/></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; "><br></div></div></span></blockquote></div></div></body></html>