[sr-dev] [tracker] Task opened: Maximum 70 else if statements

sip-router bugtracker at sip-router.org
Thu Feb 27 10:10:09 CET 2014


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Benjamin (bulkorok) 

Attached to Project - sip-router
Summary - Maximum 70 else if statements
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To - 
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - 4.0
Due in Version - Undecided
Due Date - Undecided
Details - Hi,

after using 70 else if statements kamailio ignores following else if statements:

1: if (from_uri=~ "^sip:123 at .+") { $var(cid) = "+12345"; } else
2-69: ...
70: if (from_uri=~ "^sip:321 at .+") { $var(cid) = "+54321"; } else
71: if (from_uri=~ "^sip:111 at .+") { $var(cid) = "+11111"; } else

71 is ignored.

If a new if else if block is created, it works again.



More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=403

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list