<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><html>On Jun 5, 2009, at 1:14 PM, Michael Collins wrote:</html><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote">On Thu, Jun 4, 2009 at 6:59 PM, seven <span dir="ltr">&lt;<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style=""><div>I'm using openzap analog with tone_detect, it works(conference not tested). however,&nbsp;according to the asterisk book, Kewlstart can detect the busy tone and disconnect the circuit. does anyone knows how to configure kewlstart with freeswitch/openzap? guess we don't need tone_detect then.</div> <div></div></div></blockquote><div><br>Dujinfang,<br><br>Your telco must support "kewlstart" signaling for this to be effective. The telco probably calls it something different, like "disconnect supervision" or "drop in loop current" or "battery reversal" or something like that. In any case, if the signaling is supported then you need to set up your zaptel.conf with the appropriate signaling type, which is either fxoks or fxsks. (I can never remember because zaptel does it backwards where if you have an FXO port then it uses FXS signaling but if you have an FXS port it uses FXO signaling. Stupidity, to be sure, so be aware of it.)<br> <br></div></div></blockquote><div><br></div><div>1)&nbsp;Don't know why but the similar zaptel.conf works on asterisk. I guess tone_detect in FS is&nbsp;equivalent to busydetect=yes in Asterisk(zapata.conf)&nbsp;.&nbsp;</div><div><br></div><div><br></div><div>zaptel.conf</div><div><div># Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" (MASTER)&nbsp;</div><div>fxsks=1</div><div>fxsks=2</div><div>fxsks=3</div><div>fxsks=4</div><div><br></div><div># Span 2: WCTDM/1 "Wildcard TDM400P REV I Board 2"&nbsp;</div><div>fxoks=5</div><div>fxoks=6</div><div>fxoks=7</div><div>fxoks=8</div><div><br></div><div># Global data</div><div><br></div><div>loadzone &nbsp; &nbsp; &nbsp; &nbsp;= us</div><div>defaultzone &nbsp; &nbsp; = us</div><div><br></div><div><br></div><div>zapata.conf</div><div><br></div></div><div><div>usecallerid=yes</div><div>hidecallerid=no</div><div>callwaiting=yes</div><div>usecallingpres=yes</div><div>callwaitingcallerid=yes</div><div>threewaycalling=yes</div><div>transfer=yes</div><div>cancallforward=yes</div><div>callreturn=yes</div><div>echocancel=yes</div><div>echocancelwhenbridged=no</div><div>;echotraining=800</div><div>rxgain=0.0</div><div>txgain=0.0</div><div>group=0</div><div>callgroup=1</div><div>pickupgroup=1</div><div>immediate=no</div><div>busydetect=yes</div></div><div><br></div><div>I agree the FXO and FXS signaling is&nbsp;weird, why not they just match the care name and reverse that internally?&nbsp;</div><div><br></div><div>2) Another essue is if I dial out from a FXO port from a local extension(sip and zap), I can hear much echo on FreeSWITCH but not much echo on asterisk. the zt.conf as below and I tried to change the echo_cancel_level to 32 or 128 got no much difference.&nbsp;Is there any equivalent configuration in FS like echocanccelwhenbridged=no in asterisk? can I set busydetect and echocancelwhenbridged and other options like this&nbsp;&lt;param name="enable-analog-option" value="call-swap"/> ?</div><div><br></div><div><div>[defaults]</div><div>codec_ms => 20</div><div>wink_ms => 150</div><div>flash_ms => 750</div><div>echo_cancel_level => 64</div></div><div><br></div><br><blockquote type="cite"><div class="gmail_quote"><div>Find the sample zaptel.conf that comes with the zaptel package and search it for fxsks or fxoks and you'll see some notes on how to set it up for your analog trunks.<br><br>-MC<br></div></div><br> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></body></html>