On Mon, 2020-08-17 at 13:48 -0400, Alex Balashov wrote:
> I'm not sure if it's supported, but the usual way of doing this in
> other
> languages is:
>
> switch(expr) {
> case CASE1:
> case CASE2:
> ...
> break;
>
> case CASE3:
> ...
> }
>
> -- Alex
Why, yes... it is supported. =)
Example on line 724 of the default kamailio config:
https://github.com/kamailio/kamailio/blob/master/etc/kamailio.cfg
--fred
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users