[sr-dev] loose_route() question

Juha Heinanen jh at tutpro.com
Thu Apr 18 17:15:58 CEST 2013


my proxy (master version) receives this kind of ack to invite:

ACK sip:jh at test.fi;gr=urn:uuid:eea2f222-60b6-4ba1-a764-99cc0eb3ba9f SIP/2.0
Route: <sip:Wvip1a55myyd/QXAYmYKJ2DAYmYK5U8=@192.98.102.10:10080;transport=ws;lr>
Via: SIP/2.0/WS gammj1mb37kg.invalid;branch=z9hG4bK6981394
Max-Forwards: 69
To: <sip:jh at test.fi>;tag=hosudd4jlh
From: "Test" <sip:test at test.fi>;tag=k808o8t8np
Call-ID: edbrqn9t6jbvf749ajil
CSeq: 2850 ACK
Supported: path, outbound, gruu
User-Agent: JsSIP 0.3.0
Content-Length: 0

i call loose_route() on it, which returns 2 (route calculation based on
flow-token has been successful) and after that $ru/$du are

Apr 18 17:56:44 siika /usr/sbin/sip-proxy[14517]: INFO: ru/du =
<sip:jh at test.fi;gr=urn:uuid:eea2f222-60b6-4ba1-a764-99cc0eb3ba9f>/<sip:T4Ah7mN1nrM0HgXAYmYKJ2DAYmYK5bA=@192.98.102.10:10080;transport=ws;lr>

why is $du set when there is only one route header denoting the proxy
itself?

how can i now test that routing should be based on r-uri, when $du gets
set for no reason?

-- juha



More information about the sr-dev mailing list