rewritehost() sucessfully work with UAC. But As I know
1) It statless function
2) It read only string argumetns, and do not read variables
2014-08-21 14:43 GMT+04:00 Satish Patel <satish.txt(a)gmail.com>om>:
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(a)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(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users