khalid touati
2010-Jan-26 15:10 UTC
[asterisk-users] [inter-pbx commnication] trying to make PBX1 talk to PBX2
Hi All, i want to make an extension from pbx1 able to tlak to another extension from pbx2 or use pbx2's trunk to dial outside calls. so i edited in both servers accordinally the iax.conf: register => pbx1:pass at 172.16.200.175 <pbx1%3Apass at 172.16.200.175> [pbx2] type=friend host=dynamic trunk=yes sercret=pass context=[default] ; i used the biggest context to avoid confusion as i don't master contexts deny=0.0.0.0/0.0.0.0 permit=172.16.200.175/255.255.255.128 when i type "iax2 show peers" i notice that pbx's are registred. of course still didn't attend my goal, do anybody have an idea how to make this happend?! -- Abdullah -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100126/099192d6/attachment.htm
William Stillwell (Lists)
2010-Jan-26 15:36 UTC
[asterisk-users] [inter-pbx commnication] trying to make PBX1 talk to PBX2
This is how I did it.. I have to Servers, SRV1 and SRV2 In SRV1 iax.conf [SRV1-SRV2] type=peer username=SRV1-SRV2 secret=Password1 host=<IP OF SRV2> qualify=yes [SRV2-SRV1] type=user username=SRV2-SRV1 secret=Password2 context=from-iax host=<IP OF SRV2> quailfy=yes If I need to make calls on other box, I do Dial(IAX2/SRV1-SRV2/XXXXXX) where XXXXX is in destination "from-iax" context On SRV2 iax.conf [SRV1-SRV2] type=user username= SRV1-SRV2 secret=Password1 host=<IP of SRV1> context=from-iax qualify=yes [SRV2-SRV1] type=peer username= SRV2-SRV1 secret=Password2 host=<IP of SRV1> qualify=yes And calls from Here to There are Dial(IAX2/SRV2-SRV1/XXXXX) where XXXX is in destination "from-iax" context From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of khalid touati Sent: Tuesday, January 26, 2010 10:11 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] [inter-pbx commnication] trying to make PBX1 talk to PBX2 Hi All, i want to make an extension from pbx1 able to tlak to another extension from pbx2 or use pbx2's trunk to dial outside calls. so i edited in both servers accordinally the iax.conf: ... ... ... when i type "iax2 show peers" i notice that pbx's are registred. of course still didn't attend my goal, do anybody have an idea how to make this happend?! -- Abdullah -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100126/54f2a393/attachment.htm
khalid touati
2010-Jan-28 20:17 UTC
[asterisk-users] [inter-pbx commnication] trying to make PBX1 talk to PBX2
Hi William, thank you very much for your response, actually i used the same config but i removed the mention of the context, and it went through! 2010/1/26 William Stillwell (Lists) <william.stillwell-lists at ablebody.net>> This is how I did it.. > > > > I have to Servers, SRV1 and SRV2 > > > > In SRV1 iax.conf > > > > [SRV1-SRV2] > > type=peer > > username=SRV1-SRV2 > > secret=Password1 > > host=<IP OF SRV2> > > qualify=yes > > > > [SRV2-SRV1] > > type=user > > username=SRV2-SRV1 > > secret=Password2 > > context=from-iax > > host=<IP OF SRV2> > > quailfy=yes > > > > > > If I need to make calls on other box, I do Dial(IAX2/SRV1-SRV2/XXXXXX) > where XXXXX is in destination ?from-iax? context > > > > On SRV2 iax.conf > > > > [SRV1-SRV2] > > type=user > > username= SRV1-SRV2 > > secret=Password1 > > host=<IP of SRV1> > > context=from-iax > > qualify=yes > > > > [SRV2-SRV1] > > type=peer > > username= SRV2-SRV1 > > secret=Password2 > > host=<IP of SRV1> > > qualify=yes > > > > And calls from Here to There are Dial(IAX2/SRV2-SRV1/XXXXX) where XXXX is > in destination ?from-iax? context > > > > > > > > > > > > *From:* asterisk-users-bounces at lists.digium.com [mailto: > asterisk-users-bounces at lists.digium.com] *On Behalf Of *khalid touati > *Sent:* Tuesday, January 26, 2010 10:11 AM > *To:* asterisk-users at lists.digium.com > *Subject:* [asterisk-users] [inter-pbx commnication] trying to make PBX1 > talk to PBX2 > > > > Hi All, > i want to make an extension from pbx1 able to tlak to another extension > from pbx2 or use pbx2's trunk to dial outside calls. > > > so i edited in both servers accordinally the iax.conf: > > .. > > .. > > .. > > when i type "iax2 show peers" i notice that pbx's are registred. of course > still didn't attend my goal, do anybody have an idea how to make this > happend?! > > -- > Abdullah > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Abdullah -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100128/9d3506fd/attachment.htm