Hi Daneil, Thank you for replying, I have since scrapped the config entirely and started fresh. Very time consuming and I do not know why but this issue is not happening any longer.
S. On Tue, 2011-07-19 at 10:43 +0200, Daniel-Constantin Mierla wrote: > Hello, > > On 7/14/11 1:00 AM, Skyler wrote: > > Hi all, > > > > I'm getting this error when using custom parameters and I don't why. > > when I use #!define WITH_ASTERISK the script throws the below error and > > when I remove the #!define WITH_ASTERISK the script loads without > > errors. I'm running kamailio-3.1.4-2.1.i386.rpm on Centos 5.6 > > > > > > Does anyone know why this might be happening? > > > > parse error in config file //etc/kamailio/kamailio.cfg, line 123, column > > 16: syntax error > > 0(2907) :<core> [cfg.y:3412]: parse error in config > > file //etc/kamailio/kamailio.cfg, line 123, column 16: unknown config > > variable > > 0(2907) :<core> [cfg.y:3409]: parse error in config > > file //etc/kamailio/kamailio.cfg, line 123, column 17-19: > > ERROR: bad config file (3 errors) > > > > > > kamailio.cfg::: lines 122-127 > > > > #!ifdef WITH_ASTERISK > > asterisk.bindip = "127.0.0.1" desc "Asterisk IP Address" > > asterisk.bindport = "5070" desc "Asterisk Port" > > kamailio.bindip = "209.15.226.21" desc "Kamailio IP Address" > > kamailio.bindport = "5060" desc "Kamailio Port" > > #!endif > > # This follows as described here: > > http://by-miconda.blogspot.com/2010/04/kamailio-30x-dyk-07-custom-cfg.html > > > do you have listen of alias parameter just before that? If yes, then it > is a conflict in the grammar that is not easy to sort out without big > impact, see: > > http://sip-router.org/tracker/index.php?do=details&task_id=56&project=1 > > Cheers, > Daniel > _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users