[Home]

Summary:ASTERISK-04243: zaptel distinctive ring detection occsionally fails
Reporter:Tzafrir Cohen (tzafrir)Labels:
Date Opened:2005-05-20 06:07:08Date Closed:2011-06-07 14:10:39
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) zapata.conf
Description:The local PSTN provider uses two ring types for local and external calls. I want my PBX to detect that difference.

Occasionally I get a call whose ring patter is simply "0,0,0" and it is sent to the default context (disabled in my seltup, so I won't err on the wrong side).



****** ADDITIONAL INFORMATION ******

The relevant part of zapata.conf (the full zapata.conf is attached):

usedistinctiveringdetection=yes
dring1=239,71,0  ; call from inside Gadot
dring2=283,101,0 ; external call
dring3=284,90,0
dring1context=local-in
dring2context=remote-in
dring3context=remote-in

I had to use two different (yet similar) ring patterns for the "remote".

Full version: Asterisk 1.0.7-BRIstuffed-0.2.0-RC8d
Card: an X100P
Comments:By: Michael Jerris (mikej) 2005-05-20 09:49:20

Can you confirm if this same behavior exists on head.  Also, not major.

By: Brian West (bkw918) 2005-05-20 10:21:34

Also those dring numbers don't have to be exact to what the telco sends.. I think they just need to be + or - 5 or 10 .. its been a few since I toyed with that.  So you might need to adjust it a few ticks.

/b

By: Russell Bryant (russell) 2005-05-26 18:30:01

Is this an actual Digium x100p?  Also, can you verify this on a NON-patched version of Asterisk?

By: Michael Jerris (mikej) 2005-05-27 08:23:52

1 Week no response.  This will be closed if we do not get a reply today.

By: Tzafrir Cohen (tzafrir) 2005-05-27 13:53:33

No,card is an X100P clone.

I seem to have worked around most of the problematic missed calls.

My current work-around:

;dring1=239,71,0  ; call from inside Gadot
dring1=235,71,0  ; call from inside Gadot
dring2=283,101,0 ; external call
dring3=233,0,0   ; interanl call
dring4=278,0,0   ; external call
dring1context=local-in
dring2context=remote-in
dring3context=local-in
dring4context=remote-in

It gets rid of calls where just the first ring datum was identified. I still get occesional 0,0,0 patters.

I still have not managed to build unmodified asterisk on that system. Currently just building asterisk+zaptel in an easily-packable way to allow copying it from my build machine requires some patching.

By: Michael Jerris (mikej) 2005-05-27 14:12:27

If this were a digium card I would say you should discuss with digium technical support... As it is a clone, you should get support from the manufacturer of that card.  If you can reproduce this issue on digium hardware please contact support about it.

Thanks.