[sr-dev] [tracker] Task opened: Regular expression not-matching operator bug

sip-router bugtracker at sip-router.org
Tue May 20 06:56:43 CEST 2014


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

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

User who did this - Dmitry Davletbaev (ddomgn) 

Attached to Project - sip-router
Summary - Regular expression not-matching operator bug
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To - 
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - 4.1
Due in Version - Undecided
Due Date - Undecided
Details - In cookbook (http://www.kamailio.org/wiki/cookbooks/4.1.x/core) the **if** statement contains not-matching regular expression operator **!~**, which leads to error when used in Kamailio 4.1.3. Working example:
    if ($avp(s:Deny-Outgoing-Calls) != $null &&!($rU =~ "^0[1-3]$" || $rU =~ "^112$")) {
Non-working example:
    if ($avp(s:Deny-Outgoing-Calls) != $null && $rU !~ "^0[1-3]$" && $rU !~ "^112$") {


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

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