[SR-Users] Config debugging

2013-08-26 Thread Marc Soda
(Sorry for the double post)

I trying to debug why Kamailio is dropping certain ACKs.  I have debug
level set to 4 and cfgtrace on.  The last thing I see in the log for my
missing ACKs is:

Aug 26 12:22:29 eng-reg1 kamailio: ERROR: *** cfgtrace:
c=[/etc/kamailio/kamailio.cfg] l=789 a=16 n=if
Aug 26 12:22:29 eng-reg1 kamailio: ERROR: *** cfgtrace:
c=[/etc/kamailio/kamailio.cfg] l=786 a=25 n=check_route_param
Aug 26 12:22:29 eng-reg1 kamailio: DEBUG: rr [loose.c:974]:
check_route_param(): params are ;alias=172.16.3.65~5060~1
Aug 26 12:22:29 eng-reg1 kamailio: ERROR: *** cfgtrace:
c=[/etc/kamailio/kamailio.cfg] l=795 a=16 n=if

Which corresponds to these lines in the config:

if (!(isflagset(FLT_NATS) || isbflagset(FLB_NATB))) {
return;
}

if (is_request()) {-LINE 795
if (!has_totag()) {
if(t_is_branch_route()) {
add_rr_param(;nat=yes);
}
}
}

Why would that be the last line that is traced?  Is Kamailio really not
processing past here?

-- 

Marc
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Config debugging

2013-08-26 Thread Daniel-Constantin Mierla

Hello,

from the log, the alias should be in r-uri unless there is a strict 
record router somewhere. You should post here the sip trace from invite 
to ack to look at the signaling.


Cheers,
Daniel

On 8/26/13 7:50 PM, Marc Soda wrote:

(Sorry for the double post)

I trying to debug why Kamailio is dropping certain ACKs.  I have debug 
level set to 4 and cfgtrace on.  The last thing I see in the log for 
my missing ACKs is:


Aug 26 12:22:29 eng-reg1 kamailio: ERROR: *** cfgtrace: 
c=[/etc/kamailio/kamailio.cfg] l=789 a=16 n=if
Aug 26 12:22:29 eng-reg1 kamailio: ERROR: *** cfgtrace: 
c=[/etc/kamailio/kamailio.cfg] l=786 a=25 n=check_route_param
Aug 26 12:22:29 eng-reg1 kamailio: DEBUG: rr [loose.c:974]: 
check_route_param(): params are ;alias=172.16.3.65~5060~1
Aug 26 12:22:29 eng-reg1 kamailio: ERROR: *** cfgtrace: 
c=[/etc/kamailio/kamailio.cfg] l=795 a=16 n=if


Which corresponds to these lines in the config:

if (!(isflagset(FLT_NATS) || isbflagset(FLB_NATB))) {
return;
}

if (is_request()) {-LINE 795
if (!has_totag()) {
  if(t_is_branch_route()) {
  add_rr_param(;nat=yes);
  }
}
}

Why would that be the last line that is traced?  Is Kamailio really 
not processing past here?


--

Marc



___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Oct 21-24; Miami, Nov 11-13, 2013
  - more details about Kamailio trainings at http://www.asipto.com -

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users