[SR-Users] path use_received not working?

Iskren Hadzhinedev iskren.hadzhinedev at ikiji.com
Thu Jul 20 17:18:18 CEST 2017


Hello,

I have a kamailio proxy in front of FreeSWITCH.

Whenever FreeSWITCH initiates the dialog (e.g. sends an INVITE), 
kamailio doesn't use the 'received' parameter and it forwards to the 
RFC1918 IP address. The initial INVITE from FreeSWITCH has the following 
headers:

To: <sip:1001 at 192.168.1.200:5063>
Route: <sip:1.2.3.4>;lr;received=sip:5.6.7.8:5063

Where 1.2.3.4 is the kamailio public IP and5.6.7.8 is the public IP of 
the UAC behind NAT.
I have modparam("path", "use_received", 1) in my config file and to my 
understanding that should be sufficient to route to the proper IP, but 
kamailio keeps sending INVITEs to 192.168.1.200.

Can anyone tell me what am I missing?
Thanks!

Kind regards,
Iskren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170720/1fca401c/attachment.html>


More information about the sr-users mailing list