Hi Stagg,
I found in the archives about how to preserve the original number when using alias_db_lookup. I am still learning OpenSER, and AVP is a challenge for me. I am looking for an example that I can use that can save the $rU in an avp before the alias_db_lookup and restore it afterwards.
You can do something like:
$avp(backup) = $rU; If alias_db_lookup("dbaliases") { xxxx xxxx } else { avp_pushto("$rU","$avp(backup)"); }
Or whaever you need to do... just save the original uri and restore it with the avp_pushto() function.
Regards.
Saludos JesusR.
------------------------------------ Jesus Rodriguez VozTelecom Sistemas, S.L. jesusr@voztele.com http://www.voztele.com Tel. 902360305 -------------------------------------