[SR-Users] Path & Loose Route
Daniel-Constantin Mierla
miconda at gmail.com
Tue Aug 2 08:52:10 CEST 2016
Hello,
yes, loose_route() should be used there. Can you add a log message and
print $ru and $du before and after loose_route() in config and then send
the result to this mailing list?
Btw, what version of Kamailio are you using?
Cheers,
Daniel
On 01/08/16 14:46, Luke Milbourne wrote:
> Is it correct to use loose_route() along side the path module?
>
> On 1 August 2016 at 13:33, Luke Milbourne <luke.milbourne at gmail.com
> <mailto:luke.milbourne at gmail.com>> wrote:
>
> Hi Daniel,
>
> Yep, I've got the below in my kamailio.cfg
>
> modparam("path", "use_received", 1)
>
> Kind regards,
> Luke
>
> On 1 August 2016 at 13:25, Daniel-Constantin Mierla
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
> 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 at 10.10.2.5:5072
>> <http://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://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
> mailing list
> sr-users at lists.sip-router.org
> <mailto:sr-users at lists.sip-router.org>
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
> --
> Luke Milbourne
>
> Tel: 07857154817
> Google Talk/Email: luke.milbourne at gmail.com
> <mailto:luke.milbourne at gmail.com>
>
>
>
>
> --
> Luke Milbourne
>
> Tel: 07857154817
> Google Talk/Email: luke.milbourne at gmail.com
> <mailto:luke.milbourne at gmail.com>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160802/b8028138/attachment.html>
More information about the sr-users
mailing list