[Kamailio-Users] log not showing when using uac_replace_from( ) function

Robert R rob1485 at gmail.com
Thu Dec 3 17:34:15 CET 2009


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.

How can I verify new value in FROM header in the log file?

# 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20091203/5b9048a1/attachment.htm>


More information about the sr-users mailing list