On Tuesday 01 September 2015 17:37:36 Michael Nielsen wrote: > What if I just want to lookup the country code IF the country code is not > set. > Then queries to MySQL for this would only be made in the cases where the > subscriber do not type in + or 00?
if(!$rU!="^(\+|00)") > I've tried to look at avpops which apparently uses the usr_preferences as > standard - but without any luck... Should work, start by debugging the queries made when you call the avp* functions. _______________________________________________ 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