I will give it a try again today, can you please make sure my t_relay() syntax is correct?
So t_relay will rewrite my host past right and send call to trunk.
While ago I was using rewritehost() function but I think it's not working with UAC registrant module.
Sent from my iPhone
On Aug 21, 2014, at 3:53 AM, Daniel Tryba daniel@pocos.nl wrote:
On Thursday 21 August 2014 05:56:46 Satish Patel wrote:
if ( $rU =~ "sip:1[0-9]@*") {
Try $ru instead, $rU only contains the dialled "number". So $ru =~ "sip:1[0-9]@*" or $rU =~ "1[0-9]"
But note the regexp, that only matches the exact numbers 10 to 19, if you are trying to match prefixes you are doing it wrong (tm).
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