<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.5764" name=GENERATOR>
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana color=#000080 size=2>hi,thanks for your
reply.</FONT></DIV>
<DIV><FONT color=#000080>my openzap.conf like this:</FONT></DIV>
<DIV>
<DIV>[span zt FXO1]<BR>name => OpenZAP-FXO1<BR>number => 1<BR>fxo-channel
=> 1<BR><BR>[span zt FXO2]<BR>name => OpenZAP-FXO2<BR>number =>
2<BR>fxo-channel => 2</DIV>
<DIV> </DIV>
<DIV>[span zt FXO2]<BR>name => OpenZAP-FXO2<BR>number => 3<BR>fxo-channel
=> 3</DIV>
<DIV> </DIV>
<DIV>[span zt FXO2]<BR>name => OpenZAP-FXO2<BR>number => 3<BR>fxo-channel
=> 4</DIV>
<DIV> </DIV>
<DIV>i have a 4 fxo ports TDM400.<BR></DIV></DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>2009-06-04 </FONT></DIV><FONT
face=Verdana color=#000080 size=2>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>god.nirvana</SPAN>
</FONT></DIV>
<HR color=#b5c4df SIZE=1>
<DIV><FONT face=Verdana size=2><STRONG>发件人:</STRONG> Michael Jerris
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>发送时间:</STRONG> 2009-06-04 17:06:05
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>收件人:</STRONG> freeswitch-users
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>抄送:</STRONG> </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>主题:</STRONG> Re: [Freeswitch-users] busy
tone detect issue </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>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="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; 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: 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></FONT></DIV></BODY></HTML>