[OpenSIPS-Users] loose_route()

Bogdan-Andrei Iancu bogdan at voice-system.ro
Sat Oct 23 14:07:33 CEST 2010


Victor Gamov wrote:
> On 20.10.2010 20:28, Stanisław Pitucha wrote:
>> On 20/10/10 15:08, Victor Gamov wrote:
>>> Ca somebody explain me which result expected when loose_route() called
>>> by X.X.X.X for request like following:
>>>
>>> -----
>>> ACK sip:5700207 at X.X.X.X SIP/2.0.
>>> Record-Route:<sip:X.X.X.X;lr=on>
>>> To:<sip:5700207 at domain.com>;tag=4ded008d6ca9692485d1918f60c7da12
>>> -----
>>>
>>> I hope that (as RFC3261 says at 16.12):
>>> -- topmost (and single) Route removed (this route node has been 
>>> reached)
>> No "Route:" header is removed. There are no route headers in this 
>> packet.
>
> Oops!
>
> Sorry for my mistake. Original packet is:
>
> -------
> ACK sip:5700207 at X.X.X.X SIP/2.0.
> Route:<sip:X.X.X.X;lr=on>
> To:<sip:5700207 at domain.com>;tag=4ded008d6ca9692485d1918f60c7da12
> -------
In this case the Route hdr is removed (as consumed) and the 
loose_route() function true (Route driven). $du will not be set as the 
only routing info in the request is the RURI, which is the default SIP 
routing.

Regards,
Bogdan

-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro




More information about the Users mailing list