On Tue, Dec 13, 2016 at 03:25:12PM -0500, Satish Patel wrote: > It works! but it doesn't work when i tried to use with wildcard (*) like > > if(!($ua =~ "*Foo")){
This is not a valid regular expression. A regexp wildcard is any character (.) zero or more times (*): .* Though I suspected above condition to be true since the regexp fails to match! _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users