[SR-Users] Double attempt to record-route, RR param not added

ron.kamailio at mcleodnet.com ron.kamailio at mcleodnet.com
Sat Jan 3 00:03:24 CET 2015


One additional bit of information.  Here is a message flow diagram of the call scenario.  The circled message is where the Record-Route header is added.

 

http://www.siplabs.net/tracebin/record-route/message-flow-diagram.png

 

Thanks,

Ron

 

From: sr-users [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of ron.kamailio at mcleodnet.com
Sent: January-02-15 2:42 PM
To: sr-users at lists.sip-router.org
Subject: [SR-Users] Double attempt to record-route, RR param not added

 

I have been away from Kamailio for a while and starting working on a project where it would be a good fit.

 

I am having a problem when I try to add a Record-Route header with a tag.  I see a message in the log indicating that a Double attempt to record-route was made, and the tag that I specified (;rtpproxy=yes), does not get included.

 

I have checked-over the scripts defined in the kamailio.cfg, and I am very sure that record_route() does not get called more than once.  Also, the log only shows record_route being execute a single time.

 

Can anyone suggest how I can troubleshoot this problem further?

 

5(32087) ERROR: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[//etc/kamailio/kamailio.cfg] l=206 a=57 n=set_adv_addr

5(32087) ERROR: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[//etc/kamailio/kamailio.cfg] l=207 a=58 n=set_adv_port

5(32087) ERROR: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[//etc/kamailio/kamailio.cfg] l=208 a=25 n=record_route_preset

5(32087) ERROR: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[//etc/kamailio/kamailio.cfg] l=209 a=62 n=force_send_socket

5(32087) ERROR: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[//etc/kamailio/kamailio.cfg] l=210 a=2 n=exit

5(32087) ERROR: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[//etc/kamailio/kamailio.cfg] l=235 a=16 n=if

5(32087) ERROR: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[//etc/kamailio/kamailio.cfg] l=231 a=41 n=isflagset

5(32087) ERROR: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[//etc/kamailio/kamailio.cfg] l=232 a=25 n=add_rr_param

5(32087) DEBUG: rr [record.c:899]: add_rr_param(): rr_param_buf=<;rtpproxy=yes>

5(32087) ERROR: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[//etc/kamailio/kamailio.cfg] l=235 a=25 n=xlog

5(32087) ERROR: <script>: new ru: sip:19999009595 at 192.168.100.52:5080

5(32087) ERROR: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[//etc/kamailio/kamailio.cfg] l=236 a=24 n=record_route

5(32087) ERROR: rr [rr_mod.c:262]: w_record_route(): Double attempt to record-route

5(32087) ERROR: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[//etc/kamailio/kamailio.cfg] l=237 a=5 n=route

5(32087) ERROR: *** cfgtrace:request_route=[RELAY] c=[//etc/kamailio/kamailio.cfg] l=247 a=16 n=if

5(32087) ERROR: *** cfgtrace:request_route=[RELAY] c=[//etc/kamailio/kamailio.cfg] l=244 a=25 n=is_method

5(32087) ERROR: *** cfgtrace:request_route=[RELAY] c=[//etc/kamailio/kamailio.cfg] l=246 a=16 n=if

5(32087) ERROR: *** cfgtrace:request_route=[RELAY] c=[//etc/kamailio/kamailio.cfg] l=245 a=25 n=t_is_set

5(32087) ERROR: *** cfgtrace:request_route=[RELAY] c=[//etc/kamailio/kamailio.cfg] l=245 a=25 n=t_on_branch

5(32087) ERROR: *** cfgtrace:request_route=[RELAY] c=[//etc/kamailio/kamailio.cfg] l=250 a=16 n=if

5(32087) ERROR: *** cfgtrace:request_route=[RELAY] c=[//etc/kamailio/kamailio.cfg] l=247 a=25 n=is_method

5(32087) ERROR: *** cfgtrace:request_route=[RELAY] c=[//etc/kamailio/kamailio.cfg] l=249 a=16 n=if

5(32087) ERROR: *** cfgtrace:request_route=[RELAY] c=[//etc/kamailio/kamailio.cfg] l=248 a=25 n=t_is_set

5(32087) ERROR: *** cfgtrace:request_route=[RELAY] c=[//etc/kamailio/kamailio.cfg] l=248 a=25 n=t_on_reply

5(32087) ERROR: *** cfgtrace:request_route=[RELAY] c=[//etc/kamailio/kamailio.cfg] l=254 a=16 n=if

5(32087) ERROR: *** cfgtrace:request_route=[RELAY] c=[//etc/kamailio/kamailio.cfg] l=250 a=25 n=is_method

5(32087) ERROR: *** cfgtrace:request_route=[RELAY] c=[//etc/kamailio/kamailio.cfg] l=252 a=16 n=if

5(32087) ERROR: *** cfgtrace:request_route=[RELAY] c=[//etc/kamailio/kamailio.cfg] l=251 a=25 n=t_is_set

5(32087) ERROR: *** cfgtrace:request_route=[RELAY] c=[//etc/kamailio/kamailio.cfg] l=251 a=25 n=t_on_failure

5(32087) ERROR: *** cfgtrace:request_route=[RELAY] c=[//etc/kamailio/kamailio.cfg] l=257 a=16 n=if

5(32087) ERROR: *** cfgtrace:request_route=[RELAY] c=[//etc/kamailio/kamailio.cfg] l=254 a=24 n=t_relay

 

The complete log file, script files, and SIP trace can be found here:

 

http://www.siplabs.net/tracebin/record-route/kamailio-log.txt

http://www.siplabs.net/tracebin/record-route/kamailio.cfg

http://www.siplabs.net/tracebin/record-route/bgcf-local.cfg

http://www.siplabs.net/tracebin/record-route/sip-trace.txt

 

 

Thanks and Happy New Year,

Ron

 

 

 

 
-- 
This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150102/28980fb0/attachment.html>


More information about the sr-users mailing list