On Tuesday 17 June 2014 14:41:03 Joel White wrote: > case /"^\*\*[0-9]{5}$": > > break;
Switch/case works with regexps? My guess would be you are matching literal "^\*\*[0-9]{5}$" when using it withing a switch($rU) block. Try if($rU=~"\*\*[0-9]{5}$") { } else if($rU=~) { } ... else { } instead. -- POCOS B.V. - Croy 9c - 5653 LC Eindhoven Telefoon: 040 293 8661 - Fax: 040 293 8658 http://www.pocos.nl/ - http://www.sipo.nl/ K.v.K. Eindhoven 17097024 _______________________________________________ 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