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: [email protected]
[mailto:[email protected]] 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

 

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to