Hello,
On 4/19/12 1:26 PM, Karsten Horsmann wrote:
Hi Daniel,
both - it pops-up on incoming call and after hangup (BYE).
the initial invite has no route header, so it should not happen for that
one at all.
I took the BYE and injected to a local kamailio, parsing the message,
including the route header was going fine, see the log pasted below.
Add an xlog line before lose_route() and print some details of the
package, like method, call-id, ... in order to identify properly which
request is causing the log messages.
Cheers,
Daniel
1(36430) ERROR: *** cfgtrace:
c=[/Users/stejar/work/sip/esr/sip-router/../etc/kamailio-3.3-basic-mem.cfg]
l=64 a=25 n=loose_route
1(36430) DEBUG: <core> [parser/parse_via.c:1288]: Found param type
232, <branch> = <z9hG4bK871c.21c67fb7.0>; state=15
1(36430) DEBUG: <core> [parser/parse_via.c:2563]: end of header
reached, state=5
1(36430) DEBUG: <core> [parser/msg_parser.c:511]: parse_headers: Via
found, flags=200
1(36430) DEBUG: <core> [parser/msg_parser.c:524]: parse_headers: this
is the second via
1(36430) DEBUG: <core> [parser/parse_via.c:1288]: Found param type
234, <received> = <217.10.68.222>; state=6
1(36430) DEBUG: <core> [parser/parse_via.c:1288]: Found param type
232, <branch> = <z9hG4bK6bf678bc>; state=15
1(36430) DEBUG: <core> [parser/parse_via.c:2563]: end of header
reached, state=5
1(36430) DEBUG: <core> [parser/msg_parser.c:511]: parse_headers: Via
found, flags=200
1(36430) DEBUG: <core> [parser/parse_via.c:1288]: Found param type
234, <received> = <217.116.117.68>; state=6
1(36430) DEBUG: <core> [parser/parse_via.c:1288]: Found param type
232, <branch> = <z9hG4bK6bf678bc>; state=6
1(36430) DEBUG: <core> [parser/parse_via.c:1288]: Found param type
235, <rport> = <5060>; state=15
1(36430) DEBUG: <core> [parser/parse_via.c:2563]: end of header
reached, state=5
1(36430) DEBUG: <core> [parser/msg_parser.c:511]: parse_headers: Via
found, flags=200
1(36430) DEBUG: <core> [parser/parse_to.c:139]: DEBUG: add_param:
tag=ds-4ee75a14-d7805636
1(36430) DEBUG: <core> [parser/parse_to.c:802]: end of header reached,
state=29
1(36430) DEBUG: <core> [parser/msg_parser.c:188]: DEBUG:
get_hdr_field: <To> [59]; uri=[sip:0049511xxxxxxxxx@sipgate.de]
1(36430) DEBUG: <core> [parser/msg_parser.c:190]: DEBUG: to body
[<sip:0049511xxxxxxxxx@sipgate.de>]
1(36430) DEBUG: rr [loose.c:85]: is_preloaded: No
1(36430) DEBUG: <core> [socket_info.c:583]: grep_sock_info - checking
if host==us: 15==9 && [222.222.222.222] == [127.0.0.1]
1(36430) DEBUG: <core> [socket_info.c:587]: grep_sock_info - checking
if port 5060 (advertise 0) matches port 5060
1(36430) DEBUG: <core> [forward.c:456]: check_self: host != me
1(36430) DEBUG: <core> [socket_info.c:583]: grep_sock_info - checking
if host==us: 15==9 && [222.222.222.222] == [127.0.0.1]
1(36430) DEBUG: <core> [socket_info.c:587]: grep_sock_info - checking
if port 5060 (advertise 0) matches port 5060
1(36430) DEBUG: <core> [forward.c:456]: check_self: host != me
1(36430) DEBUG: rr [loose.c:773]: Topmost URI is NOT myself
1(36430) DEBUG: rr [loose.c:776]: URI to be processed:
'sip:222.222.222.222;r2=on;lr=on;ftag=as526ba9ce;did=7a2.13d08ea6'
1(36430) DEBUG: rr [loose.c:785]: Next URI is a loose router
1(36430) ERROR: *** cfgtrace:
c=[/Users/stejar/work/sip/esr/sip-router/../etc/kamailio-3.3-basic-mem.cfg]
l=65 a=3 n=exit
2012/4/19 Daniel-Constantin Mierla<miconda(a)gmail.com>om>:
> Hello,
>
> when is the message related to rr printed, for the BYE?
>
> The other one is info message from rtpproxy.
--
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/