Re: [SR-Users] Kamailio failed to start

2013-10-19 Thread Salman Zafar
You need to do the following: 1) Indent your config 2) Check request_route if/else condition and make sure you have proper closing conditions e.g if (uri =~ "sip:.+ at .*xmpp.kamailio.test") { route(PRESENCE); if ($rU==$null) { are you sure the 2nd "if"s supposed

Re: [SR-Users] Kamailio failed to start

2013-10-19 Thread Fred Posner
It appears as though you might have multiple syntax errors in the script -- such as not opening or not closing certain tags. The best way to troubleshoot this (or at least the way I like best) is to go back to your last known good config and make the changes one at a time. --fred Wingsravi R

Re: [SR-Users] Kamailio failed to start

2013-10-19 Thread Wingsravi R
Hi, Ya i do change the Presence block also, but the same error is logging: $ sudo /etc/init.d/kamailio start Not starting Kamailio: invalid configuration file! -e 0(5930) INFO: tls [tls_init.c:385]: init_tls_compression(): tls: init_tls: disabling compression... 0(5930) : [cfg.y:3570]: yyerror

Re: [SR-Users] Kamailio failed to start

2013-10-19 Thread Salman Zafar
I think you the same problem with route[presence] } #!endif On Sat, Oct 19, 2013 at 12:55 PM, Wingsravi R wrote: > Dear Salman, > > thank you for the reply. > > i did change as you suggested and then ran the kamailio, but it agian > logged some errors: > > > $ sudo /etc/init.d/kamailio start

Re: [SR-Users] Kamailio failed to start

2013-10-19 Thread Wingsravi R
Dear Salman, thank you for the reply. i did change as you suggested and then ran the kamailio, but it agian logged some errors: $ sudo /etc/init.d/kamailio start Not starting Kamailio: invalid configuration file! -e 0(5744) INFO: tls [tls_init.c:385]: init_tls_compression(): tls: init_tls: dis

Re: [SR-Users] Kamailio failed to start

2013-10-19 Thread Salman Zafar
check these lines: route[REQINIT] { #!ifdef WITH_ANTIFLOOD . . } #!endif it should be #!endif } On Sat, Oct 19, 2013 at 12:11 PM, Wingsravi R wrote: > Dear kamailio'ns > > I am running kamailio 4.0.3 on ubuntu 12.04 and installed kamailio from > its repository. I had changed