<div dir="ltr">1. nope, i only have 1 instance of record_route in my config:<div><div><br></div><div>if (is_method("INVITE|SUBSCRIBE")) record_route();</div></div><div><br></div><div>2. i already have:</div><div>
<br></div><div><div>modparam("rr", "enable_full_lr", 1)</div></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div>Kelvin Chua</div>
<br><br><div class="gmail_quote">On Fri, Nov 29, 2013 at 12:03 AM, Carsten Bock <span dir="ltr"><<a href="mailto:carsten@ng-voice.com" target="_blank">carsten@ng-voice.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Kelvin,<br>
<br>
1) it seems you do record_route() for INVITE and ACK? If you do it for<br>
the ACK as well, why? Doing record_route() should only be necessary<br>
for INVITE (& SUBSCRIBE).<br>
2) You could also test, if<br>
<br>
modparam("rr", "enable_full_lr", 1)<br>
<br>
would help. In this case, the first Record-Route-Header should also<br>
contain "lr=on".<br>
<br>
Kind regards,<br>
Carsten<br>
<br>
2013/11/28 Kelvin Chua <<a href="mailto:kelchy@gmail.com">kelchy@gmail.com</a>>:<br>
<div class="HOEnZb"><div class="h5">> i am using only record_route() and my setup is dialog-aware. (dialog)<br>
><br>
> it's worth noting that i am doing serial fork, but this particular call is<br>
> the first branch.<br>
><br>
> On Nov 28, 2013 11:38 PM, "Carsten Bock" <<a href="mailto:carsten@ng-voice.com">carsten@ng-voice.com</a>> wrote:<br>
>><br>
>> Hi Olle,<br>
>><br>
>> actually it's an extension, i wanted to do sooner or later. If<br>
>> Kamailio is Dialog-Aware (e.g. dialog or dialog_ng is loaded),<br>
>> Kamailio "knows" what the route-set should be and could check and<br>
>> optionally enforce the route-set.<br>
>><br>
>> By the way: In the Record-Route of the "200 OK" it's "lr" and in the<br>
>> "ACK" the Record-Route is "lr=on".<br>
>> @Kelvin: You use only "record_route()" or do you have anything special<br>
>> in this regards in your config?<br>
>><br>
>> Kind regards,<br>
>> Carsten<br>
>><br>
>> 2013/11/28 Olle E. Johansson <<a href="mailto:oej@edvina.net">oej@edvina.net</a>>:<br>
>> ><br>
>> > On 28 Nov 2013, at 16:23, Alex Balashov <<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>><br>
>> > wrote:<br>
>> ><br>
>> >> On 11/28/2013 10:22 AM, Kelvin Chua wrote:<br>
>> >>> hi alex,<br>
>> >>> is there a way for kamailio to force lr=on before relay? this carrier<br>
>> >>> is<br>
>> >>> driving me nuts<br>
>> >><br>
>> >> No, Kamailio (as a SIP proxy) cannot modify the Route set after the<br>
>> >> dialog is set up, in a sequential (in-dialog request) furthermore.<br>
>> ><br>
>> > The client changed the syntax of the route set - but do you really<br>
>> > consider that a change of the route set, Alex?<br>
>> ><br>
>> > I guess the URI's are different.<br>
>> ><br>
>> > The question here is really - can Kamailio somehow clean up the URI's in<br>
>> > the route set for this buggy client?<br>
>> ><br>
>> > /O<br>
>> > _______________________________________________<br>
>> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
>> > <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
>> > <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
>><br>
>><br>
>><br>
>> --<br>
>> Carsten Bock<br>
>> CEO (Geschäftsführer)<br>
>><br>
>> ng-voice GmbH<br>
>> Schomburgstr. 80<br>
>> D-22767 Hamburg / Germany<br>
>><br>
>> <a href="http://www.ng-voice.com" target="_blank">http://www.ng-voice.com</a><br>
>> mailto:<a href="mailto:carsten@ng-voice.com">carsten@ng-voice.com</a><br>
>><br>
>> Office <a href="tel:%2B49%2040%2034927219" value="+494034927219">+49 40 34927219</a><br>
>> Fax <a href="tel:%2B49%2040%2034927220" value="+494034927220">+49 40 34927220</a><br>
>><br>
>> Sitz der Gesellschaft: Hamburg<br>
>> Registergericht: Amtsgericht Hamburg, HRB 120189<br>
>> Geschäftsführer: Carsten Bock<br>
>> Ust-ID: DE279344284<br>
>><br>
>> Hier finden Sie unsere handelsrechtlichen Pflichtangaben:<br>
>> <a href="http://www.ng-voice.com/imprint/" target="_blank">http://www.ng-voice.com/imprint/</a><br>
>><br>
>> _______________________________________________<br>
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
>> <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
>> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
><br>
><br>
> _______________________________________________<br>
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
> <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
><br>
<br>
<br>
<br>
--<br>
Carsten Bock<br>
CEO (Geschäftsführer)<br>
<br>
ng-voice GmbH<br>
Schomburgstr. 80<br>
D-22767 Hamburg / Germany<br>
<br>
<a href="http://www.ng-voice.com" target="_blank">http://www.ng-voice.com</a><br>
mailto:<a href="mailto:carsten@ng-voice.com">carsten@ng-voice.com</a><br>
<br>
Office <a href="tel:%2B49%2040%2034927219" value="+494034927219">+49 40 34927219</a><br>
Fax <a href="tel:%2B49%2040%2034927220" value="+494034927220">+49 40 34927220</a><br>
<br>
Sitz der Gesellschaft: Hamburg<br>
Registergericht: Amtsgericht Hamburg, HRB 120189<br>
Geschäftsführer: Carsten Bock<br>
Ust-ID: DE279344284<br>
<br>
Hier finden Sie unsere handelsrechtlichen Pflichtangaben:<br>
<a href="http://www.ng-voice.com/imprint/" target="_blank">http://www.ng-voice.com/imprint/</a><br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br></div>