[Kamailio-Devel] kamailio trunk does not process requests

Juha Heinanen jh at tutpro.com
Thu Feb 26 05:42:35 CET 2009


Juha Heinanen writes:

 > i don't know what is going on, but when i today generated kamailio from
 > latest trunk, i just prints to syslog
 > 
 > Feb 26 06:10:55 taimen /usr/sbin/kamailio[29452]: WARNING:core:run_actions: null action list (rec_level=1)
 > Feb 26 06:10:58 taimen /usr/sbin/kamailio[29453]: WARNING:core:run_actions: null action list (rec_level=1)
 > Feb 26 06:10:59 taimen /usr/sbin/kamailio[29454]:
 > WARNING:core:run_actions: null action list (rec_level=1)

i found why the above happens. i had a bogus line in kamailio.cfg:

modparam("presence_xml", "integrated_xcap_server", 1)')

i still wonder why kamailio didn't report that the config file was
invalid.

when i check the invalid config file, kamailio prints:

root at taimen:/etc/kamailio# kamailio -c -f kamailio.cfg
Feb 26 05:50:28 [7910] CRITICAL:core:yylex: cfg. parser: unexpected EOF in unclosed string
Listening on 
             udp: 192.98.101.10 [192.98.101.10]:5060
             udp: 127.0.0.1 [127.0.0.1]:5070
             udp: 127.0.0.1 [127.0.0.1]:5080
             tcp: 192.98.101.10 [192.98.101.10]:5060
             sctp: 192.98.101.10 [192.98.101.10]:5060
Aliases: 
             *: sip.test.fi:5060

Feb 26 05:50:28 [7910] NOTICE:core:main: config file ok, exiting...

that is, it complains abut critical parser error, but still claims that
config is ok.  if i start kamailio without -c, it actually starts even
there is this error.

-- juha



More information about the Devel mailing list