[asterisk-users] Zap FXS slow to reset?

Yuan LIU yliu11 at hotmail.com
Sun Feb 4 21:32:10 MST 2007


>From: Scott Walde <scott at waldetech.ca>
>
>Yuan LIU wrote:
>>>
>>>exten => s,n,Dial(Zap/1&SIP/202&SIP/203,18)
>>>exten => s,n,Dial(Zap/1&SIP/201&SIP/202&SIP/203,42)
>>
>>Interestingly, although the Asterisk Manual (by Mark Spencer and so on) 
>>contains an almost identical sample plan fragment, in reality, it seems to 
>>need a Wait() in between to reset the Zap channel in the first Dial().  I 
>>tested with TDM400.  Inserted a 1-2 sec wait and it did what you wanted.
>I thought about doing that but was worried about the condition where 
>someone answers a phone during that 1 second (which is actually quite 
>likely to happen) and they only get dialtone rather than answering the 
>incoming call.  Has this not been an issue for you?
>
>ttyl
>srw

I'm not using this in production.  But this should count as a bug IMO, 
either in Zaptel or in the card. (Especially because the manual cites such 
use.)

I tested a workaround: add a NoOp() in between; Zaptel still gives an error, 
but the Zap channel rings afterward.

Yuan Liu




More information about the asterisk-users mailing list