[asterisk-users] [inter-pbx commnication] trying to make PBX1 talk to PBX2

khalid touati khalidtouati at gmail.com
Thu Jan 28 14:17:27 CST 2010


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 


More information about the asterisk-users mailing list