I found the following statement in log which causes to
fail.
xcap_server [xcap_misc.c:475]: xcaps_xpath_set(): unable to
evaluate xpath expression
[/presence/pdm:person?xmlns(pdm=urn:ietf:params:xml:ns:pidf:data-model)]
Aug 30 21:31:11 kamailio kamailio[9460]: ERROR: ***
cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=615 a=5
n=route
Aug 30 21:31:11 kamailio kamailio[9520]: DEBUG:
<core> [db_res.c:136]: db_free_result(): freeing
result set at 0xb71c3d28
Aug 30 21:31:11 kamailio kamailio[9460]: ERROR: ***
cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=957 a=2
n=return
Aug 30 21:31:11 kamailio kamailio[9520]: ERROR:
xcap_server [xcap_misc.c:475]: xcaps_xpath_set(): unable to
evaluate xpath expression
[/presence/pdm:person?xmlns(pdm=urn:ietf:params:xml:ns:pidf:data-model)]
Aug 30 21:31:11 kamailio kamailio[9460]: ERROR: ***
cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=627
a=16 n=if
Aug 30 21:31:11 kamailio kamailio[9520]: ERROR:
xcap_server [xcap_server.c:619]: w_xcaps_put(): could not
update xcap document
Aug 30 21:31:11 kamailio kamailio[9460]: ERROR: ***
cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=618
a=25 n=is_method
Aug 30 21:31:11 kamailio kamailio[9520]: DEBUG: sl
[sl.c:289]: send_reply(): reply in stateless mode (sl)
Aug 30 21:31:11 kamailio kamailio[9460]: ERROR: ***
cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=627 a=5
n=route
Aug 30 21:31:11 kamailio kamailio[9520]: DEBUG:
<core> [parser/msg_parser.c:339]: parse_headers():
parse_headers: flags=8
Aug 30 21:31:11 kamailio kamailio[9460]: ERROR: ***
cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=771
a=16 n=if
Aug 30 21:31:11 kamailio kamailio[9520]: DEBUG:
<core> [parser/msg_parser.c:339]: parse_headers():
parse_headers: flags=ffffffffffffffff
Aug 30 21:31:11 kamailio kamailio[9460]: ERROR: ***
cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=731
a=24 n=has_totag
Aug 30 21:31:11 kamailio kamailio[9520]: DEBUG:
<core> [msg_translator.c:206]: check_via_address():
check_via_address(192.168.41.60, 192.168.41.60, 0)
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG: siputils
[checks.c:103]: has_totag(): no totag
Aug 30 21:31:11 kamailio kamailio[9520]: DEBUG:
<core> [tcp_main.c:1497]: _tcpconn_find():
tcpconn_find: 33 port 58665
Aug 30 21:31:11 kamailio kamailio[9460]: ERROR: ***
cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=631
a=24 n=t_check_trans
Aug 30 21:31:11 kamailio kamailio[9520]: DEBUG:
<core> [ip_addr.c:247]: print_ip(): tcpconn_find: ip
192.168.41.60
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG: tm
[t_lookup.c:1095]: t_check_msg(): DEBUG: t_check_msg: msg
id=165 global id=163 T start=(nil)
Aug 30 21:31:11 kamailio kamailio[9520]: DEBUG:
<core> [tcp_main.c:1504]: _tcpconn_find():
c=0xb49ba648, c->id=33, port=58665
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG:
<core> [parser/msg_parser.c:339]: parse_headers():
parse_headers: flags=ffffffffffffffff
Aug 30 21:31:11 kamailio kamailio[9520]: DEBUG:
<core> [ip_addr.c:247]: print_ip(): ip=192.168.41.60
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG:
<core> [parser/msg_parser.c:339]: parse_headers():
parse_headers: flags=78
Aug 30 21:31:11 kamailio kamailio[9520]: DEBUG:
<core> [tcp_main.c:2330]: tcpconn_send_put():
tcp_send: send from reader (9520 (27)), reusing fd
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG: tm
[t_lookup.c:534]: t_lookup_request(): t_lookup_request:
start searching: hash=14466, isACK=0
Aug 30 21:31:11 kamailio kamailio[9520]: DEBUG:
<core> [tcp_main.c:2566]: tcpconn_do_send(): tcp_send:
sending...
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG: tm
[t_lookup.c:492]: matching_3261(): DEBUG: RFC3261
transaction matching failed
Aug 30 21:31:11 kamailio kamailio[9520]: DEBUG:
<core> [tcp_main.c:2600]: tcpconn_do_send(): tcp_send:
after real write: c= 0xb49ba648 n=125 fd=14
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG: tm
[t_lookup.c:716]: t_lookup_request(): DEBUG:
t_lookup_request: no transaction found
Aug 30 21:31:11 kamailio kamailio[9520]: DEBUG:
<core> [tcp_main.c:2601]: tcpconn_do_send(): tcp_send:
buf=#012HTTP/1.1 500 Server error#015#012Via: SIP/2.0/TCP
192.168.41.60:58665#015#012Server:
kamailio (4.0.2 (i386/linux))#015#012Content-Length:
0#015#012#015#012
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG: tm
[t_lookup.c:1164]: t_check_msg(): DEBUG: t_check_msg: msg
id=165 global id=165 T end=(nil)
Aug 30 21:31:11 kamailio kamailio[9525]: DEBUG:
<core> [tcp_main.c:3634]: handle_ser_child():
handle_ser_child: read response= b49ba648, -1, fd -1 from 27
(9520)
Aug 30 21:31:11 kamailio kamailio[9520]: ERROR: ***
cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=1231
a=16 n=if
Aug 30 21:31:11 kamailio kamailio[9460]: ERROR: ***
cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=634 a=5
n=route
Aug 30 21:31:11 kamailio kamailio[9460]: ERROR: ***
cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=921
a=16 n=if
Aug 30 21:31:11 kamailio kamailio[9460]: ERROR: ***
cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=905
a=25 n=is_method
Aug 30 21:31:11 kamailio kamailio[9460]: ERROR: ***
cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=934
a=16 n=if
Aug 30 21:31:11 kamailio kamailio[9460]: ERROR: ***
cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=921
a=25 n=is_method
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG:
<core> [parser/parse_uri.c:1241]: parse_uri(): parsed
uri:#012 type=1 user=<test>(6)#012
passwd=<>(0)#012 host=<
kamailio.com>(22)#012
port=<>(0): 0#012 params=<>(0)#012
headers=<>(0)
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG:
<core> [parser/parse_uri.c:1242]: parse_uri(): uri
flags :
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG:
<core> [parser/parse_uri.c:1245]: parse_uri():
value=0
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG:
<core> [parser/parse_uri.c:1248]: parse_uri(): uri
params:#012 transport=<>, val=<>, proto=0
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG:
<core> [parser/parse_uri.c:1251]: parse_uri():
user-param=<>, val=<>
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG:
<core> [parser/parse_uri.c:1254]: parse_uri():
method=<>, val=<>
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG:
<core> [parser/parse_uri.c:1257]: parse_uri():
ttl=<>, val=<>
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG:
<core> [parser/parse_uri.c:1260]: parse_uri():
maddr=<>, val=<>
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG:
<core> [parser/parse_uri.c:1261]: parse_uri():
lr=<>
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG:
<core> [parser/parse_uri.c:1262]: parse_uri():
r2=<>
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG:
<core> [socket_info.c:589]: grep_sock_info():
grep_sock_info - checking if host==us: 22==25 && [
kamailio.com]
== [2607:F0D0:2001:0:0:0:0:12]
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG:
<core> [socket_info.c:593]: grep_sock_info():
grep_sock_info - checking if port 5060 (advertise 0) matches
port 5060
Aug 30 21:31:11 kamailio kamailio[9460]: DEBUG:
<core> [socket_info.c:589]: grep_sock_info():
grep_sock_info - checking if host==us: 22==13 && [
kamailio.com]
== [192.168.41.10]
Regards,
Anzi