From luke.milbourne@gmail.com Thu Aug 4 08:10:16 2016 From: Luke Milbourne To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] Path & Loose Route Date: Thu, 04 Aug 2016 07:10:09 +0100 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2119607718==" --===============2119607718== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Daniel, Thanks again for your reply again. I remembered about the debug setting and done it yesterday, not at my pc right now but I remember one of the log lines was saying "the topmost route header is me". Still trying to understand it, but will get a copy of the log lines for you, if you wouldn't mind taking a look. Thanks again, Luke On 4 Aug 2016 06:57, "Daniel-Constantin Mierla" wrote: Hello, set debug=3D3 in kamailio.cfg and look at log messages in syslog. If you find it too verbose, use dispatcher module and set debug level only for core and rr modules to 3. Cheers, Daniel On 03/08/16 13:22, Luke Milbourne wrote: Hi Daniel, I've added some more logging and can see loose_route() is returning -1 - route calculation has been unsuccessful. Is there a way of finding out why this is the case? Kind regards, Luke On 2 August 2016 at 09:49, Luke Milbourne wrote: > I added the below xlog lines into my script: > > xlog("L_NOTICE", "Before loose_route: $si -> $ru - $du\n"); > xlog("L_NOTICE", "Before record_route: $si -> $ru - $du\n"); > xlog("L_NOTICE", "After both: $si -> $ru - $du\n"); > > Which generated the below output in syslog: > > Aug 2 09:46:11 ip-10-10-2-5 /sbin/kamailio[529]: NOTICE: