From: Scott Walde <[EMAIL PROTECTED]>

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


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to