Robert R wrote:
Hi,
I simply trying to modify URI and FROM headers as follow. tcpdump
packet capture shows the values are changed for both URI and FROM
headers.
However, the syslog only shows the new value for URI and not for FROM
header.
Changes to the message (except RURI and DURI) are not visible in the
routing script, as the changes are applied to message immediately
before the message sent out.
How can I verify new value in FROM header in the
log file?
You can't.
Beware it is new, use it carefully (don't abuse use of it) and report
any issue you discover.
Cheers,
Daniel
# main request
routing logic
route
{
$rU = avp(i:1);
$rd = avp(i:2);
....
uac_replace_from("$avp(i:3)");
xlog ("fu after perl: $fu");
xlog ("ru after perl: $ru");
...
}
Thanks,
Rob
------------------------------------------------------------------------
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users