[Kamailio-Users] log not showing when using uac_replace_from( ) function
Klaus Darilion
klaus.mailinglists at pernau.at
Thu Dec 3 23:00:58 CET 2009
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.
regards
klaus
> # 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 at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
More information about the sr-users
mailing list