[SR-Users] Regex in the switch statement
Ilie Soltanici
iliusha.md at gmail.com
Mon Aug 17 19:46:53 CEST 2020
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200817/d6e724d0/attachment.htm>
More information about the sr-users
mailing list