Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Two Asterisk Boxes Playing Together


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
chatter8712 at gmail.com
Guest





PostPosted: Wed Jan 09, 2008 7:37 pm    Post subject: [asterisk-users] Two Asterisk Boxes Playing Together Reply with quote

Okay, here's the dal.

Me and my friend both have asterisk boxes. I want to be able to type
extension 27 on my end and get his extension 27, and he wants to be
able to type 277 on his end and get my extension 9999. We both have
FQDN's, and would like to see about doing this either over sip or
IAX...

Any help much papreciated,
Shane

--
-Shane
Blog: http://blind-geek.com/blog/
CoOwner: http://sjtechzone.com
AIM: inhaddict
Skype: chatter8712
Back to top
abalashov at evaristes...
Guest





PostPosted: Wed Jan 09, 2008 7:50 pm    Post subject: [asterisk-users] Two Asterisk Boxes Playing Together Reply with quote

You can do it over SIP or IAX2. What you would do is set up a SIP or IAX2
trunk between the two Asterisk boxes (type=peer) and then define
extensions in your dial plan such that those extensions are routed over
the trunk.

In sip.conf, define your trunk. I'm going to use SIP in this example,
but you can use IAX2 if you like. Do this on both machines:

[SomeTrunkName]

type=peer
insecure=very
nat=no
canreinvite=no
host=the_remote_ip_addr
context=dialplan_context_for_calls_to_land_into
On your Asterisk box:

exten => 27,1,Dial(SIP/27 at sip_trunk_id)

On his:

exten => 277,1,Dial(SIP/9999 at sip_trunk_id2)

Also, make sure to create [dialplan_context_for_calls_to_land_into]
in your dial plan on both sides to route calls coming over the trunk
inward into the system, i.e. map 9999 to your phone.

Hope that helps,

-- Alex

On Wed, 9 Jan 2008, Shane D wrote:

Quote:
Okay, here's the dal.

Me and my friend both have asterisk boxes. I want to be able to type
extension 27 on my end and get his extension 27, and he wants to be
able to type 277 on his end and get my extension 9999. We both have
FQDN's, and would like to see about doing this either over sip or
IAX...

Any help much papreciated,
Shane

--
-Shane
Blog: http://blind-geek.com/blog/
CoOwner: http://sjtechzone.com
AIM: inhaddict
Skype: chatter8712

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


--
Alex Balashov
Evariste Systems
Web : http://www.evaristesys.com/
Tel : +1-678-954-0670
Direct : +1-678-954-0671
Back to top
matt at venturevoip.com
Guest





PostPosted: Wed Jan 09, 2008 7:52 pm    Post subject: [asterisk-users] Two Asterisk Boxes Playing Together Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Shane D wrote:
Quote:
Okay, here's the dal.

Me and my friend both have asterisk boxes. I want to be able to type
extension 27 on my end and get his extension 27, and he wants to be
able to type 277 on his end and get my extension 9999. We both have
FQDN's, and would like to see about doing this either over sip or
IAX...

http://www.voip-info.org/wiki-Asterisk+-+dual+servers

- --
Kind Regards,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHhWxODQNt8rg0Kp4RAmrWAKCgbE3qpl6EJF6dS1TbP7P9197nXQCffNft
SzBW7ujARi5dKjqCX9Vq/h4=
=EeL1
-----END PGP SIGNATURE-----
Back to top
rob at hillis.dyndns.org
Guest





PostPosted: Wed Jan 09, 2008 7:59 pm    Post subject: [asterisk-users] Two Asterisk Boxes Playing Together Reply with quote

Google is your friend.

http://www.google.com.au/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=jR6&q=asterisk+iax+two+servers&btnG=Search&meta=

Shane D wrote:
Quote:
Okay, here's the dal.

Me and my friend both have asterisk boxes. I want to be able to type
extension 27 on my end and get his extension 27, and he wants to be
able to type 277 on his end and get my extension 9999. We both have
FQDN's, and would like to see about doing this either over sip or
IAX...

Any help much papreciated,
Shane

Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services