[asterisk-users] Connecting two asterisks via IAX

2008-08-29 Thread Nuno Marques
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

Re: [asterisk-users] Connecting two asterisks via IAX

2008-08-29 Thread Tom Moore
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nuno Marques
Sent: Friday, August 29, 2008 11:36 AM
To: asterisk-users@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

Re: [asterisk-users] Connecting two asterisks via IAX

2008-08-29 Thread Nuno Marques
Thanks Tom

 I'm going to try that.
 Regards

Nuno

2008/8/29 Tom Moore [EMAIL PROTECTED]

  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:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] *On Behalf Of *Nuno Marques
 *Sent:* Friday, August 29, 2008 11:36 AM
 *To:* asterisk-users@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

___
-- 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