[asterisk-users] Connecting two asterisks via IAX

Nuno Marques yangsengopenser at gmail.com
Fri Aug 29 13:45:17 CDT 2008


Thanks Tom

 I'm going to try that.
 Regards

    Nuno

2008/8/29 Tom Moore <tommym2006 at gmail.com>

>  Easy.
> Just create a peer in each office that connects to the other, basic example
> on server 1.
>
> iax.conf
>
> [office2]
> type=friend
> host=office2
> disallow=all
> allow=ulaw
>  context=internal_office_dialing
> username=office1
> secret=mypassword
> trunk=yes
>
> Create a peer on the office2 server to point back at office1 in the same
> way.
>
> extensions.conf on office1.
> exten => _2XX,1,Dial(IAX2/office2/${EXTEN})
>
>
> This is a simple setup where office1 has the 1XX extension block and
> office2 has the 2XX block.
>
> Tom
>
>
>  ------------------------------
> *From:* asterisk-users-bounces at lists.digium.com [mailto:
> asterisk-users-bounces at lists.digium.com] *On Behalf Of *Nuno Marques
> *Sent:* Friday, August 29, 2008 11:36 AM
> *To:* asterisk-users at lists.digium.com
> *Subject:* [asterisk-users] Connecting two asterisks via IAX
>
>  Hi,
>
>    I need to connect 2 asterisks in 2 different countries (A and B) for one
> company so it's possible to make connections between the 2 offices.
>    For connectivity reasons (NAT traversal) i want to connect the 2
> asterisk with IAX so that when a user on office A connects via SIP to user
> on office B the call is going trought IAX channel.
>    Can anyone give me an ideia how to accomplish this?
>
>
> the schema:
>
>                (via SIP)                        (via
> IAX)                            (via SIP)
> Office A <-------------> Asterisk A <-------------------> Asterisk B
> <-----------------> Office B
>
>
>    Thanks in advance,
>
>           Nuno
>
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> 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/20080829/c1650c0b/attachment.htm 


More information about the asterisk-users mailing list