Hello Mark:

As Dave pointed out -- bindaddr -- is what you need to look at.   I don't know 
about other Asterisk users - but I specifically use separate IP address to 
connect to my Asterisk server.  For reasons I will not get into here at this 
time, I've configured my Asterisk services to bind to specific IP address 
depending on the service/protocols used.

Your sip.conf, iax.conf, manager.conf, mgcp.conf all have a section where it 
has a clear entry as below:
    bindaddr = 0.0.0.0
Simply change the 0.0.0.0 with your specific address on which you wish to bind 
the service to.  That's really all there is to it.

Cheers!
Reza.


----- Original Message ----- 
From: "Mark Rzepa" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, July 25, 2006 9:45 PM
Subject: [on-asterisk] asterisk with multiple ip addresses


> Greetings,
> 
> I've got asterisk set up and running on my server which has several IP
> addresses.  Does anyone know of a way to force asterisk to use the IP
> address of my choice?
> 
> Lets say I have 192.168.1.2 and 192.168.1.3 configured as IP addresses
> for my server.  I want asterisk to listen on only 192.168.1.3 and use
> 192.168.1.3 when opening sockets to other devices.
> 
> Thanks,
> Mark
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to