Karlos wrote:
Hi,

I have two asterisks connected via IAX2 trunk. The first * use dial prefix 2XX, the second one 3XX.
Calls routing works OK.
But I don't know how to get dialtone of remote asterisk pbx.
I'd like to get dialtone of asterisk #2 after dialing 3 and dialtone of asterisk #1 after dialing 2.


Use _9. for the local Asterisk and _8. for the remote.  This is what I have:

exten => _8.,1,Set(CALLERID(number)=5551212
exten => _8.,2,Dial(IAX2/cw.asterisk:[EMAIL PROTECTED]/${EXTEN})
exten => _8,3,Hangup()

exten => _9.,1,Set(CALLERID(number)=5551111
exten => _9.,2,Dial(ZAP/g1/9${EXTEN:1})
exten => _9.,3,Hangup()

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