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
Thanks in advance