[OpenSIPS-Users] Modify To:'s field and forward
spady
spady77 at gmail.com
Mon Dec 5 16:09:29 CET 2011
Hi Again, i am tryng to do, as sayd, my first script.
I setted up the following:
if (avp_db_load("$fu/username","$avp(Linea-LW)"))
{
xlog("L_DBG",
"AVP_DB_LOAD Invocato!!!!!!!!!!!!!!\n");
if (avp_check("$avp(Linea-LW)","eq/y/i"));
if ($rU=~"^sip:0[0-9]{11}@")
{
xlog("L_DBG",
"URI modificato per FAX SEVER\n");
strip(1);
prefix("87019");
rewritehostport("10.9.6.3:5060");
route(1);
exit;
}
}
But it does not work.
What's wrong?
Thanks in advance
--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Modify-To-s-field-and-forward-tp7040781p7063178.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
More information about the Users
mailing list