[Spce-user] eth0:0 listening

Alex Lutay alutay at sipwise.com
Thu Oct 16 13:10:00 EDT 2014


Dear Jorge,

"ngcp-network --set-interface=eth0:0 ... " worked well for me on latest 
2.8, check what you finally got in /etc/kamailio/lb/xmlrpc.cfg line 9.
There are should be something like:

> if($Ri == "1.1.2.1" || $Ri == "1.1.1.1")

I suppose in your case it is:
> if($Ri == "1.1.2.1" || $Ri == "")

or so...

Also check network.yml on proper IP for interface eth0:0,
I suppose you have no IP for it for some reason...

Please share network.yml and full command you executed if you will not 
be able to fix it yourself.

Tnx!

On 16/10/14 18:53, Jorge Fresneda - Ibersontel wrote:
> Hello everybody,
>
>      When I install the sipwise 2.8 and I execute the "ngcp-network
> --set-interface=eth0:0 --ip=.........." command and apply changes, I
> have a kamailio-lb error:
>
> Not executing command for kamailio-lb: invalid configuration file!
> -e
>   0(25438) INFO: tls [tls_init.c:385]: tls: init_tls: disabling
> compression...
>   0(25438) : <core> [cfg.y:3546]: parse error in config file
> /etc/kamailio/lb/xmlrpc.cfg, line 9, column 26-28: syntax error
>   0(25438) : <core> [cfg.y:3549]: parse error in config file
> /etc/kamailio/lb/xmlrpc.cfg, line 9, column 47: bad expression
>   0(25438) : <core> [cfg.y:3549]: parse error in config file
> /etc/kamailio/lb/xmlrpc.cfg, line 9, column 47: bad command
>   0(25438) : <core> [cfg.y:3549]: parse error in config file
> /etc/kamailio/lb/xmlrpc.cfg, line 10, column 2: bad command
>   0(25438) : <core> [cfg.y:3546]: parse error in config file
> /etc/kamailio/lb/xmlrpc.cfg, line 18, column 2-3: syntax error
>   0(25438) : <core> [cfg.y:3546]: parse error in config file
> /etc/kamailio/lb/xmlrpc.cfg, line 18, column 2-3:
> ERROR: bad config file (6 errors)
>
>      However, If I put a --set-interface=eth0 --ip=........ it works
> successfully
>
>      How I can to put a subinterface on listening inteface?
>
>      Thanks,
>      Regards
>      Jorge
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user

-- 
Alexander Lutay
Head of Quality Assurance
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Office: +43(0)13012036
Email: alutay at sipwise.com
Website: http://www.sipwise.com

Meet us @ AFRICACOM : Booth A17/A18
11-13 November 2014 : CTICC Cape Town, South Africa



More information about the Spce-user mailing list