[asterisk-users] How to have Asterisk respond from the IP addressused for registration

Danny Nicholas danny at debsinc.com
Thu May 27 15:15:16 CDT 2010


2 things to try - (1) set bindaddr in sip.conf to 0.0.0.0 instead of
192.168.1.2  - in theory this will let * use both cards (2) start second
instance of asterisk bound to 192.168.1.3 - probably the approach with the
better chance of success.

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mike
Sent: Thursday, May 27, 2010 2:38 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] How to have Asterisk respond from the IP
addressused for registration

 

Hi,

 

I have a test server with 2 NICs, each with it own IP address. Let`s say
192.168.1.2 and 192.168.1.3.  I would like some phones to register by using
192.168.1.2 and some by using 192.168.1.3 as the address.

 

Since the default IP is 192.168.1.2, that is the only working address. Every
phone connecting to 192.168.1.3 fails to register, presumably because
Asterisk answers back from 192.168.1.2 and the phone doesn't recognize this
as the correct SIP server.

 

I am using 1.4.31.  Is there any way to have Asterisk answer from the IP
address used instead of using the default one?

 

Regards,

 

Mike

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100527/eff923c9/attachment.htm 


More information about the asterisk-users mailing list