I am trying to get distinctive ring to work on my PSTN with no luck. I can get 2 different ring codes but it skips the context assigned... here is my complete zapata.conf: [channels] signalling=fxs_ks usecallerid=yes rxgain=1.0 txgain=1.0 language=en context=default usedistinctiveringdetection=yes dring1=134,0,0 dring2=137,0,0 dring1context=internal2 dring2context=default channel => 1 here is the debug output: Aug 18 10:36:20 NOTICE[1112767280]: chan_zap.c:5053 ss_thread: Got event 2 (Ring/Answered)... -- Detected ring pattern: 137,0,0 -- Distinctive Ring matched context internal2 -- Executing Wait("Zap/1-1", "1") in new stack -- Executing Answer("Zap/1-1", "") in new stack -- Executing VoiceMailMain("Zap/1-1", "") in new stack -- Playing 'vm-login' (language 'en') this should have passed on to the default context... 134,0,0 also hits the internal2 context. any ideas? Paul Budden pbudden@mindspring.com EarthLink Revolves Around You. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040828/a2624aa1/attachment.htm
Sure, this one works. You need a dringX definitions of the distinctive rings. Put in each one the output you get in the log for the call pattern when the phone gets answered. [channels] switchtype=national signalling=fxs_ks usedistinctiveringdetection=yes usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=256 echocancelwhenbridged=yes echotraining=yes rxgain=-5.0 txgain=-5.5 group=1 callgroup=1 pickupgroup=1 immediate=no dring1=0,0,0 <---from the log output when phone answered. dring1context=advan-mainline dring2=326,0,0 <---from the log output dring2context=advan-fax dring3=93,0,0 <---from the log output dring3context=distring3 dring4=94,0,0 <---from the log output dring4context=distring4 Quoting "Paul Budden" <pbudden@mindspring.com>> > I am trying to get distinctive ring to work on my PSTN with no luck. > I can get 2 different ring codes but it skips the context assigned... > > > here is my complete zapata.conf: > > [channels] > signalling=fxs_ks > usecallerid=yes > rxgain=1.0 > txgain=1.0 > language=en > context=default > usedistinctiveringdetection=yes > dring1=134,0,0 > dring2=137,0,0 > > dring1context=internal2 > dring2context=default > > channel => 1 >-- David Cook
Thank you for your response David, But it still doesn't function... I am using Asterisk CVS-HEAD-08/14/04-09:36:56 here is my latest zapata.conf and verbose output. [channels] signalling=fxs_ks rxgain=1.0 txgain=1.0 ;echocancel=yes language=en context=default usedistinctiveringdetection=yes usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=256 echocancelwhenbridged=yes echotraining=yes group=1 callgroup=1 pickupgroup=1 immediate=no dring1=134,0,0 dring1context=internal2 dring2=137,0,0 dring2context=default channel => 1 Aug 29 22:05:19 NOTICE[262159]: chan_zap.c:5053 ss_thread: Got event 2 (Ring/Answered)... -- Detected ring pattern: 137,0,0 -- Distinctive Ring matched context internal2 Aug 29 22:17:32 NOTICE[278543]: chan_zap.c:5053 ss_thread: Got event 2 (Ring/Answered)... -- Detected ring pattern: 134,0,0 -- Distinctive Ring matched context internal2 is it something I am not doing correctly? Paul Budden pbudden@mindspring.com EarthLink Revolves Around You. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040829/336dfef0/attachment.htm
Hmmmm. What it actually doing .. going to default? on the primary number? Try not using "default" as one of the dring contexts as you don't know if it is going there as a result of the dring or the default "context=" line. At least then you will know which aspect is failing. Other than that I don't see anything wrong. I'd start checking spaces/tabs in the file, etc. Quoting Paul Budden> Thank you for your response David, > But it still doesn't function... > > I am using Asterisk CVS-HEAD-08/14/04-09:36:56 > here is my latest zapata.conf and verbose output. > [channels] > signalling=fxs_ks > rxgain=1.0 > txgain=1.0 > ;echocancel=yes > language=en > context=default > usedistinctiveringdetection=yes > > usecallerid=yes > hidecallerid=no > callwaiting=yes > usecallingpres=yes > callwaitingcallerid=yes > threewaycalling=yes > transfer=yes > cancallforward=yes > callreturn=yes > echocancel=256 > echocancelwhenbridged=yes > echotraining=yes > group=1 > callgroup=1 > pickupgroup=1 > immediate=no > dring1=134,0,0 > dring1context=internal2 > dring2=137,0,0 > dring2context=default > channel => 1 > > > Aug 29 22:05:19 NOTICE[262159]: chan_zap.c:5053 ss_thread: Got event > 2 (Ring/Answered)... > -- Detected ring pattern: 137,0,0 > -- Distinctive Ring matched context internal2 > > Aug 29 22:17:32 NOTICE[278543]: chan_zap.c:5053 ss_thread: Got event > 2 (Ring/Answered)... > -- Detected ring pattern: 134,0,0 > -- Distinctive Ring matched context internal2 > is it something I am not doing correctly? > > > Paul Budden > pbudden@mindspring.com > EarthLink Revolves Around You.-- David Cook
Kevin
2004-Aug-30 06:43 UTC
[Asterisk-Users] Broadvoice disconnecting on Asterisk Voice Mail
When a caller is leaving a voice mail message using my Broadvoice connection, the caller is disconnected in about 30 seconds. Has anyone been able to use Broadvoice without disconnecting on voice mail? Kevin
I tried removing all references to the default context... still acting the same.. even if I get a dring2 match it sends to dring1context. Paul Budden pbudden@mindspring.com EarthLink Revolves Around You. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040830/32a6fde7/attachment.htm