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@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()
Karlos, Sounds like you want ignorepat => 2 (or 3) in the context that holds the dial patterns. This will continue the dialtone after you dial 2 or 3 in your dialplan. IE: [system-2] ignorepat => 3 exten => _3XX,s,1,Dial(IAX2/system-2/${EXTEN}) Jason 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. > > I know something about DISA but I'm not sure if it is a right way. > Can you give me advice? > > Thanks. > > Karlos. > > _______________________________________________ > --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-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060322/85dae40e/attachment.htm
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. I know something about DISA but I'm not sure if it is a right way. Can you give me advice? Thanks. Karlos.
On 03/22/06 21:55 Jason Bachman said the following:> Karlos, > Sounds like you want ignorepat => 2 (or 3) in the context that holds the > dial patterns. This will continue the dialtone after you dial 2 or 3 in > your dialplan. > IE: > [system-2] > ignorepat => 3 > exten => _3XX,s,1,Dial(IAX2/system-2/${EXTEN})ignorepat wont work for SIP or IAX2 phones however since they send the entire called number as a single SIP/IAX2 packet. -- Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+