Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[asterisk-users] questions running 2 asterisk under the same LAN


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





PostPosted: Thu Apr 17, 2008 12:01 pm    Post subject: [asterisk-users] questions running 2 asterisk under the same Reply with quote

On Thu, Apr 17, 2008 at 12:03 PM, Pete Kay <petedao at gmail.com> wrote:
Quote:
Hi,

I want to know if I am running two machines each with its own Asterisk on my
LAN, show I change the port of one of the Asterisk to something like 5061?
Otherwise, how does an external SIP client ( like IPkall.com) knows how to
route DID call to Asterisk? What is the solution for this kind of setup?

Thank you very much in advance for your inputs.

Regards,
Pete

Maybe if you draw a clearer picture of what you have/need.

I guess you only have one public IP and everything is behind a NAT router?

If you have or can get additional IPs, it would make port forwarding
rules on your router easier (if it supports multiple IPs) than
changing ports on the Asterisk boxen, that would probably be my
approach if possible, from what I can gather from your description.

Thanks,
Steve Totaro

This link might be of help.
http://www.voip-info.org/wiki-Asterisk+SIP+NAT+solutions

Thanks,
Steve Totaro
Back to top
pylinuxian at gmail.com
Guest





PostPosted: Thu Apr 17, 2008 12:30 pm    Post subject: [asterisk-users] questions running 2 asterisk under the same Reply with quote

you surely are using port forwarding right now, something like this:

wan(5061) <-----you_router_here------>
lan(5061)<----------->Asterisk_box_1(5061)

so you only need to add this :

wan(5062) <-----you_router_here------>
lan(5061)<----------->Asterisk_box_2(5061)

just tell your provider that second account goes to port 5062.

another solution would be to add a second connection to internet & use it
for second box as internet is cheap these days.

On Thu, Apr 17, 2008 at 4:03 PM, Pete Kay <petedao at gmail.com> wrote:

Quote:
Hi,

I want to know if I am running two machines each with its own Asterisk on
my LAN, show I change the port of one of the Asterisk to something like
5061?
Otherwise, how does an external SIP client ( like IPkall.com) knows how to
route DID call to Asterisk? What is the solution for this kind of setup?

Thank you very much in advance for your inputs.

Regards,
Pete



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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080417/c7c039b9/attachment.htm
Back to top
asterisk.org at sedwar...
Guest





PostPosted: Thu Apr 17, 2008 12:46 pm    Post subject: [asterisk-users] questions running 2 asterisk under the same Reply with quote

On Fri, 18 Apr 2008, Pete Kay wrote:

Quote:
I want to know if I am running two machines each with its own Asterisk on my
LAN, show I change the port of one of the Asterisk to something like 5061?

It is common to have multiple instances of Asterisk listening to the same
port number on the same LAN.

Quote:
Otherwise, how does an external SIP client ( like IPkall.com) knows how to
route DID call to Asterisk? What is the solution for this kind of setup?

It depends on the provider and your networking resources.

Some (most?) providers "know" where to send the call based on
registration. Each host can register as many accounts with as many
providers as desired.

Port forwarding can also solve a lot of problems.

Switching to IAX (with registration) makes most of these issues moot.

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
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