[Freeswitch-users] busy tone detect issue

dujinfang dujinfang at gmail.com
Fri Jun 5 19:11:58 PDT 2009


On Jun 5, 2009, at 1:14 PM, Michael Collins wrote:

>
>
> On Thu, Jun 4, 2009 at 6:59 PM, seven <dujinfang at gmail.com> wrote:
> I'm using openzap analog with tone_detect, it works(conference not  
> tested). however, 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.
>
> Dujinfang,
>
> 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.)
>

1) Don't know why but the similar zaptel.conf works on asterisk. I  
guess tone_detect in FS is equivalent to busydetect=yes in  
Asterisk(zapata.conf) .


zaptel.conf
# Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" (MASTER)
fxsks=1
fxsks=2
fxsks=3
fxsks=4

# Span 2: WCTDM/1 "Wildcard TDM400P REV I Board 2"
fxoks=5
fxoks=6
fxoks=7
fxoks=8

# Global data

loadzone        = us
defaultzone     = us


zapata.conf

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
;echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no
busydetect=yes

I agree the FXO and FXS signaling is weird, why not they just match  
the care name and reverse that internally?

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. Is there any  
equivalent configuration in FS like echocanccelwhenbridged=no in  
asterisk? can I set busydetect and echocancelwhenbridged and other  
options like this <param name="enable-analog-option" value="call-swap"/ 
 > ?

[defaults]
codec_ms => 20
wink_ms => 150
flash_ms => 750
echo_cancel_level => 64


> 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.
>
> -MC
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090606/d6b9464d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list