Hello,


On 01/08/16 14:14, Luke Milbourne wrote:
Hi all,

Currently trying to use Kamailio as a passthrough to some FreeSWITCH boxes.

When receiving an invite from FreeSWITCH which contains a Route header including received information, example below;

Route: <sip:201@10.10.2.5:5072>;lr;received=sip:[PUBLIC_IP]:45126

When using loose_route() Kamailio still send the invite to the rfc1918 address instead of the received IP:PORT in the Route header.

Am I misunderstanding how this should work?


if you use path module, have you enabled the option to use the received parameter?

https://www.kamailio.org/docs/modules/stable/modules/path.html#idp38033932

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda