[SR-Users] Re-write From URI Domain ($fd) with source IP or relayed message

Marrold kamailio at marrold.co.uk
Wed Jul 4 00:21:50 CEST 2018


Hi All,

For interoperability reasons I need to re-write the From URI Domain ($fd)
in requests proxied by Kamailio to the source IP (socket) that Kamailio
will send them via.

I have experimented with onsend_route and can successfully discover the
snd_ip, however it seems I am unable to rewrite the $fd, presumably because
I am too late in the logic.

Is this possible? I can hardcode IPs if required but would rather keep it
dynamic if I can.

Thanks in advance,

Matthew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180703/ffdf925e/attachment.html>


More information about the sr-users mailing list