Hello,

Is there any way to use Regex or 'OR/AND' operators in the switch/case
statements?
I've tried the following syntax but it's not working, are there any other
ways to do this?

switch($dlg_var(ISP)) {
    case "TRUNK1|TRUNK2":
}

Thank you.
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to