From miconda@gmail.com Thu Aug 4 07:56:52 2016 From: Daniel-Constantin Mierla To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] Path & Loose Route Date: Thu, 04 Aug 2016 07:56:43 +0200 Message-ID: <78269bdc-9f49-6496-e733-baacf66f27c3@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0296327307==" --===============0296327307== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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: >