[SR-Users] sip-router config file syntax question

Steven C. Blair blairs at isc.upenn.edu
Mon Jun 14 19:29:38 CEST 2010


 I'm migrating from an older version of SER to sip-router. A syntax check of my config file produces a few errors. The most confusing is :

0(27980) WARNING: <core> [cfg.y:3364]: warning in config file /home/blairs/ser-penn.cfg, line 1270, column 22-23: non constant rvalue in ip comparison

Line 1270 is the following if statement:

if (to_ip==$g.gw_ip && !isflagset(FLAG_PSTN_ALLOWED)
            && !isflagset(FLAG_TOTAG)
            && method != "ACK" && method != "CANCEL")

I do not see anything mentioned in config_migration.txt which explains this warning. Does anyone have any thoughts on how to correct this error?

Thanks,steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100614/58752030/attachment.htm>


More information about the sr-users mailing list