I guess where I am most confused is the interaction that AVP has on the current message. Does AVP have the ability to rewrite the current message URI before I use t_relay to send it to its destination? Is it as simple as the following:
avp(s:$rU) = $oU;
Stagg On Jun 29, 2008, at 2:48 PM, Iñaki Baz Castillo wrote:
El Domingo, 29 de Junio de 2008, Stagg Shelton escribió:
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 use $oU variable (also $ou, $od, $op...):
http://www.openser.org/dokuwiki/doku.php/pseudovariables:1.3.x#sip_request_s...
-- Iñaki Baz Castillo
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users