Hi Daniel,
Changed the configuration as per your suggestion, but still i am getting
same 500 server error.
Sep 11 20:37:09 testpc kamailio[24158]: ERROR: xcap_server
[xcap_misc.c:475]: xcaps_xpath_set(): unable to evaluate xpath expression
[/presence/pdm:person]
here are logs
Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [db_res.c:54]:
db_free_rows(): freeing 1 rows
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core>
[parser/msg_parser.c:577]: parse_headers(): header field type 0,
name=<P-Access-Network-Info>, body=<IEEE-802.3>
Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [db_row.c:97]:
db_free_row(): freeing row values at 0xb71a5c08
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core>
[parser/msg_parser.c:577]: parse_headers(): header field type 21,
name=<Event>, body=<presence>
Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [db_res.c:62]:
db_free_rows(): freeing rows at 0xb71a5b68
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core>
[parser/msg_parser.c:577]: parse_headers(): header field type 14,
name=<Expires>, body=<0>
Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [db_res.c:136]:
db_free_result(): freeing result set at 0xb71a5aa8
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core>
[parser/msg_parser.c:577]: parse_headers(): header field type 20,
name=<Allow>,
body=<INVITE,ACK,BYE,CANCEL,REFER,NOTIFY,OPTIONS,PRACK,UPDATE,INFO,MESSAGE,SUBSCRIBE,SERVICE,PING,PUBLISH>
Sep 11 20:37:09 testpc kamailio[24158]: ERROR: xcap_server
[xcap_misc.c:475]: xcaps_xpath_set(): unable to evaluate xpath expression
[/presence/pdm:person]
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core>
[parser/msg_parser.c:577]: parse_headers(): header field type 38,
name=<Allow-Events>, body=<refer, presence>
Sep 11 20:37:09 testpc kamailio[24158]: ERROR: xcap_server
[xcap_server.c:619]: w_xcaps_put(): could not update xcap document
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core>
[parser/msg_parser.c:577]: parse_headers(): header field type 16,
name=<Supported>, body=<100rel, replaces, timer, gruu, join, histinfo>
Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: sl [sl.c:289]: send_reply():
reply in stateless mode (sl)
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core>
[parser/msg_parser.c:577]: parse_headers(): header field type 15,
name=<Proxy-Authorization>, body=<Digest username="test1",
realm="192.168.41.89", nonce="UjCISVIwhx0F+TNBypMtYYEH6fo9xDAg",
uri="
sip:test1@192.168.41.89", algorithm=MD5,
response="47af8cdf01d8e8bcbd1b32cd09d87575">
Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core>
[parser/msg_parser.c:339]: parse_headers(): parse_headers: flags=8
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core>
[parser/msg_parser.c:577]: parse_headers(): header field type 45,
name=<Date>, body=<Wed, 11 Sep 2013 15:07:09 GMT>
Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core>
[parser/msg_parser.c:339]: parse_headers(): parse_headers:
flags=ffffffffffffffff
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core>
[parser/parse_hname2.c:189]: parse_hname2(): beginning of SIP-If-Match:
yet=0x2d706973
Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core>
[msg_translator.c:206]: check_via_address():
check_via_address(192.168.41.60, 192.168.41.60, 0)
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core>
[parser/parse_hname2.c:189]: parse_hname2(): middle of SIP-If-Match:
yet=0x6d2d6669
Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [tcp_main.c:1497]:
_tcpconn_find(): tcpconn_find: 1 port 56724
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core>
[parser/parse_hname2.c:189]: parse_hname2(): end of SIP-If-Match
Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [ip_addr.c:247]:
print_ip(): tcpconn_find: ip 192.168.41.60
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core>
[parser/msg_parser.c:577]: parse_headers(): header field type 33,
name=<sip-if-match>, body=<a.1378910652.23833.4.0>
Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [tcp_main.c:1504]:
_tcpconn_find(): c=0xb465ad08, c->id=1, port=56724
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core>
[parser/msg_parser.c:204]: get_hdr_field(): DEBUG: get_hdr_body :
content_length=0
Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [ip_addr.c:247]:
print_ip(): ip=192.168.41.60
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core>
[parser/msg_parser.c:577]: parse_headers(): header field type 12,
name=<Content-Length>, body=<0>
Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [tcp_main.c:2330]:
tcpconn_send_put(): tcp_send: send from reader (24158 (14)), reusing fd
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core>
[parser/msg_parser.c:339]: parse_headers(): parse_headers:
flags=ffffffffffffffff
Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [tcp_main.c:2566]:
tcpconn_do_send(): tcp_send: sending...
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core>
[parser/msg_parser.c:106]: get_hdr_field(): found end of header
Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [tcp_main.c:2600]:
tcpconn_do_send(): tcp_send: after real write: c= 0xb465ad08 n=125 fd=11
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: sanity [sanity.c:588]:
check_cl(): check_cl passed
Sep 11 20:37:09 testpc kamailio[24158]: 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:56724#015#012Server: kamailio (4.0.3
(i386/linux))#015#012Content-Length: 0#015#012#015#012
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: sanity [sanity.c:605]:
check_expires_value(): check_expires_value entered
Sep 11 20:37:09 testpc kamailio[24162]: DEBUG: <core> [tcp_main.c:3634]:
handle_ser_child(): handle_ser_child: read response= b465ad08, -1, fd -1
from 14 (24158)
Sep 11 20:37:09 testpc kamailio[24158]: ERROR: *** cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg] l=1228 a=16 n=if
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core>
[parser/msg_parser.c:339]: parse_headers(): parse_headers: flags=4000
Sep 11 20:37:09 testpc kamailio[24158]: ERROR: *** cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg] l=1228 a=16 n=if
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: sanity [sanity.c:643]:
check_expires_value(): check_expires_value passed
Sep 11 20:37:09 testpc kamailio[24158]: ERROR: *** cfgtrace:
c=[/usr/local/etc/kamailio/kamailio.cfg] l=1228 a=16 n=if
Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: sanity [sanity.c:756]:
check_parse_uris(): check_parse_uris entered
Regards
Anzi.