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

_______________________________________________
--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