[Asterisk-Users] Remote dialtone

Doug Lytle Support at drdos.info
Wed Mar 22 06:25:54 MST 2006


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:xxxxx at 192.168.101.10/${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()




More information about the asterisk-users mailing list