Dear list. Is it possible to use both IAX2 and SIP protocole during a dial? Illustration: I have peer A communicate with my Asterisk using IAX2 protocole. I have peer B communicate with my Asterisk using SIP protocole. A and B are both registred to the same Asterisk. So is it possible that peer A communicate with peer B and vice versa? if yes how can i achieve that? Best regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100707/fb6b825a/attachment.htm
On Wed, Jul 7, 2010 at 10:34 AM, Adil Zaaraoui <adilzeaaraoui at yahoo.fr> wrote:> Dear list. > > Is it possible to use both IAX2 and SIP protocole during a dial? > > Illustration: > > I have peer A communicate with my Asterisk using IAX2 protocole. > I have peer B communicate with my Asterisk using SIP protocole. > > A and B are both registred to the same Asterisk. > > So is it possible that peer A communicate with peer B and vice versa? > > if yes how can i achieve that? > > Best regards > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > ? ? ? ? ? ? ? http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > ? http://lists.digium.com/mailman/listinfo/asterisk-users >Have you ran in to some troubles just doing Dial(SIP/peerb)?
2010/7/8 Kyle Kienapfel <doctor.whom at gmail.com>> On Wed, Jul 7, 2010 at 10:34 AM, Adil Zaaraoui <adilzeaaraoui at yahoo.fr> > wrote: > > Dear list. > > > > Is it possible to use both IAX2 and SIP protocole during a dial? > > > > Illustration: > > > > I have peer A communicate with my Asterisk using IAX2 protocole. > > I have peer B communicate with my Asterisk using SIP protocole. > > > > A and B are both registred to the same Asterisk. > > > > So is it possible that peer A communicate with peer B and vice versa? > > > > if yes how can i achieve that? > > > > Best regards > > >yes it is possible, all you have to to is use the Dial application according to what technology your peer is using, and asterisk do the translation for you automatically: exten = XXX,1,Dial(IAX2/A,20,) and exten = XXX,1,Dial(SIP/B,20,) you can also use one Dial that try to reach this extension using both technologies. exten = XXX,1,Dial(IAX2/A&SIP/A,,) (or if A=555 for ex: exten 555,Dial(IAX2/${EXTEN}&SIP/${EXTEN},,) you can find this and more on the future of telephony book. Good luck!! ------------------ Abdullah -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100708/f4d06dca/attachment.htm