[SR-Users] Multiple IPs

Oz Mortimer omortimer at gmail.com
Fri Nov 3 15:37:05 CET 2017


Yeah 100%

So, I figured it might be something with DNS so I set auto_aliases=no but then get the following.

Nov  3 14:32:19 IS-56434 kamailio: INFO: <core> [tcp_main.c:4745]: init_tcp(): using epoll_lt as the io watch method (auto detected)
Nov  3 14:32:19 IS-56434 /usr/sbin/kamailio[13015]: WARNING: tm [tm.c:845]: mod_init(): WARNING: mod_init: reparse_on_dns_failover is enabled on a multihomed host -- check the readme of tm module!
Nov  3 14:32:19 IS-56434 /usr/sbin/kamailio[13015]: INFO: rr [../outbound/api.h:54]: ob_load_api(): Failed to import bind_ob
Nov  3 14:32:19 IS-56434 /usr/sbin/kamailio[13015]: INFO: rr [rr_mod.c:160]: mod_init(): outbound module not available

Its worth noting all of the IPs are on the same adapter, i.e. eth0, eth0:0, eth0:1 and so on..



> On 3 Nov 2017, at 14:21, Alex Balashov <abalashov at evaristesys.com> wrote:
> 
> Are you sure the IP is correct? 
> 
> On November 3, 2017 10:20:17 AM EDT, Oz Mortimer <omortimer at gmail.com> wrote:
>> Ok - did that and got the same error, though this time I looked at what
>> it was;
>> Im /var/log/messages I see - 
>> Nov  3 14:13:28 IS-56434 kamailio: WARNING: <core>
>> [socket_info.c:1392]: fix_hostname(): could not rev. resolve
>> xxx.xxx.xxx.xxx
>> Nov  3 14:13:28 IS-56434 kamailio: WARNING: <core>
>> [socket_info.c:1392]: fix_hostname(): could not rev. resolve
>> xxx.xxx.xxx.xxx
>> Nov  3 14:13:28 IS-56434 kamailio: WARNING: <core>
>> [socket_info.c:1392]: fix_hostname(): could not rev. resolve
>> xxx.xxx.xxx.xxx
>> Nov  3 14:13:28 IS-56434 kamailio: WARNING: <core>
>> [socket_info.c:1392]: fix_hostname(): could not rev. resolve
>> xxx.xxx.xxx.xxx
>> Nov  3 14:13:28 IS-56434 kamailio: WARNING: <core>
>> [socket_info.c:1392]: fix_hostname(): could not rev. resolve
>> xxx.xxx.xxx.xxx
>> Nov  3 14:13:28 IS-56434 kamailio: WARNING: <core>
>> [socket_info.c:1392]: fix_hostname(): could not rev. resolve
>> xxx.xxx.xxx.xxx
>> Nov  3 14:13:28 IS-56434 kamailio: WARNING: <core>
>> [socket_info.c:1392]: fix_hostname(): could not rev. resolve
>> xxx.xxx.xxx.xxx
>> Nov  3 14:13:28 IS-56434 kamailio: WARNING: <core>
>> [socket_info.c:1392]: fix_hostname(): could not rev. resolve
>> xxx.xxx.xxx.xxx
>> Nov  3 14:13:28 IS-56434 kamailio: WARNING: <core>
>> [socket_info.c:1392]: fix_hostname(): could not rev. resolve
>> xxx.xxx.xxx.xxx
>> Nov  3 14:13:28 IS-56434 kamailio: WARNING: <core>
>> [socket_info.c:1392]: fix_hostname(): could not rev. resolve
>> xxx.xxx.xxx.xxx
>> Nov  3 14:13:28 IS-56434 kamailio: WARNING: <core>
>> [socket_info.c:1392]: fix_hostname(): could not rev. resolve
>> xxx.xxx.xxx.xxx
>> Nov  3 14:13:28 IS-56434 kamailio: WARNING: <core>
>> [socket_info.c:1392]: fix_hostname(): could not rev. resolve
>> xxx.xxx.xxx.xxx
>> 
>> Although the IP address’ are correct...
>> 
>> 
>>> On 3 Nov 2017, at 14:06, Alex Balashov <abalashov at evaristesys.com>
>> wrote:
>>> 
>>> On Fri, Nov 03, 2017 at 02:04:37PM +0000, Oz Mortimer wrote:
>>> 
>>>> I have listen commented out - which means it listens on all IPs
>>>> (doesn’t it?) - do I need to set them explicitly?
>>> 
>>> Try setting them explicitly, so that you can route them explicitly.
>>> 
>>>> I did add mhomed=1 on this setup - but the calls went a bit crazy (I
>>>> didn’t manage to capture quite what was happening).
>>> 
>>> Unfortunately, without knowing the specific facts, it's hard to
>>> speculate.
>>> 
>>> -- 
>>> Alex Balashov | Principal | Evariste Systems LLC
>>> 
>>> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
>>> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>>> 
>>> _______________________________________________
>>> Kamailio (SER) - Users Mailing List
>>> sr-users at lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>> 
>> 
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> 
> 
> -- Alex
> 
> --
> Sent via mobile, please forgive typos and brevity. 
> 
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users




More information about the sr-users mailing list