[Asterisk-Users] Distinctive Ring Detection not working

pdhales at optusnet.com.au pdhales at optusnet.com.au
Sun Nov 27 22:56:09 MST 2005


It would be good to see the analog cards working 100% here in Aust!

later,

PaulH

> Howard Lowndes <lannet at lannet.com.au> wrote:
> 
> I have a similar problem in Australia and I think it has to do with 
> chan_zap.c
> 
> Currently Digium are investigating it for me as it is in association 
> with one of their TDM400P cards.
> 
> Gonzalo Servat wrote:
> > Hi there.
> > 
> > I'm having a strange issue with the distinctive ring detection in
> > Asterisk (I have a FXO card).
> > It certainly seems to be enabled as I can see the Asterisk console
> > spitting out the cadences (same cadence every time: 0,0,0) but the
> > problem is that it is not waiting 2 seconds after "Starting switch on
> > Zap/1-1" like it used to, long enough to determine the cadences,
> > presumably the reason why it is always 0,0,0 as it hasn't had enough
> > time to detect the ring pattern.
> > 
> > My zapata.conf looks like the following:
> > 
> > [trunkgroups]
> > [channels]
> > language=es
> > context=incoming-landline
> > signalling=fxs_ks
> > usedistinctiveringdetection=yes
> > usecallerid=yes
> > hidecallerid=no
> > callwaiting=yes
> > usecallingpres=yes
> > callwaitingcallerid=yes
> > threewaycalling=yes
> > transfer=yes
> > cancallforward=yes
> > callreturn=yes
> > echocancel=yes
> > echocancelwhenbridged=yes
> > echotraining=yes
> > rxgain=0.0
> > txgain=0.0
> > group=1
> > callgroup=1
> > pickupgroup=1
> > busydetect=yes
> > busycount=8
> > dring1=334,146,0
> > dring1context=secondnumber
> > channel => 1
> > 
> > I've looked through some of the chan_zap.c code to try and increase
> > the wait period, but after making a couple of attempts at fixing it
> > decided to leave it alone before I break something :-)
> > 
> > Another thing I've noticed is that if I *don't* add a dring pattern
> > for "0,0,0", when a call comes in, it tries to find the dring pattern
> > for 0,0,0, fails to do so, so it tries to go to context ",s,1" (notice
> > the missing context name as the first argument), fails to do so and it
> > supposedly hangs up the chan, then detects the ringing again (it's
> > still the same call, only in its 5th ring by now) and successfully
> > detects a pattern different to 0,0,0. This is the only way to have it
> > "somewhat" working, although it's pretty unreliable. It's coming up
> > with quite a few different patterns, still, I shouldn't have to do it
> > this way. A lot of people hang up after the 4th or 5th ring.
> > 
> > Does anyone have any ideas on this?
> > 
> > Any suggestions would be greatly appreciated.
> > 
> > Cheers,
> > Gonzalo
> > _______________________________________________
> > --Bandwidth and Colocation sponsored by Easynews.com --
> > 
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> > 
> 
> -- 
> Howard.
> LANNet Computing Associates - Your Linux people <http://lannet.com.au>
> -- 
> When you just want a system that works, you choose Linux;
> When you want a system that works, just, you choose Microsoft.
> -- 
> Flatter government, not fatter government;
> Get rid of the Australian states.
> 
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list