Generally, the “!” symbol is a negation meaning “not” except in the case of preprocessor directives,
With that, I bet if you were to put anything else, but 32, it would work. From: sr-users [mailto:[email protected]] On Behalf Of David Villasmil Sent: Saturday, January 13, 2018 11:54 AM To: Kamailio (SER) - Users Mailing List <[email protected]> Subject: [SR-Users] how to check $ua I'm trying to verify the auth username begins with, i.e. "32", but i'm using in AUTH route: if( !($au=~"32") ){ do something } and that's not working, and i don't get why? Regards, David Villasmil email: [email protected] <mailto:[email protected]> phone: +34669448337 <https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=86b8a180-aec1-4d5b-a8d0-e195a97d299d> ᐧ
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
