<div dir="ltr"><div><br></div>Hi Daniel,<div><br></div><div>Changed the configuration as per your suggestion, but still i am getting same 500 server error.</div><div>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]<br>
</div><div><br></div><div>here are logs</div><div><br></div><div>Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [db_res.c:54]: db_free_rows(): freeing 1 rows</div><div>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></div>
<div>Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [db_row.c:97]: db_free_row(): freeing row values at 0xb71a5c08</div><div>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></div>
<div>Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [db_res.c:62]: db_free_rows(): freeing rows at 0xb71a5b68</div><div>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></div>
<div>Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [db_res.c:136]: db_free_result(): freeing result set at 0xb71a5aa8</div><div>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></div>
<div>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]</div><div>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></div>
<div>Sep 11 20:37:09 testpc kamailio[24158]: ERROR: xcap_server [xcap_server.c:619]: w_xcaps_put(): could not update xcap document</div><div>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></div>
<div>Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: sl [sl.c:289]: send_reply(): reply in stateless mode (sl)</div><div>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="<a href="mailto:sip%3Atest1@192.168.41.89">sip:test1@192.168.41.89</a>", algorithm=MD5, response="47af8cdf01d8e8bcbd1b32cd09d87575"></div>
<div>Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [parser/msg_parser.c:339]: parse_headers(): parse_headers: flags=8</div><div>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></div>
<div>Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [parser/msg_parser.c:339]: parse_headers(): parse_headers: flags=ffffffffffffffff</div><div>Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core> [parser/parse_hname2.c:189]: parse_hname2(): beginning of SIP-If-Match: yet=0x2d706973</div>
<div>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)</div><div>Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core> [parser/parse_hname2.c:189]: parse_hname2(): middle of SIP-If-Match: yet=0x6d2d6669</div>
<div>Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [tcp_main.c:1497]: _tcpconn_find(): tcpconn_find: 1  port 56724</div><div>Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core> [parser/parse_hname2.c:189]: parse_hname2(): end of SIP-If-Match</div>
<div>Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [ip_addr.c:247]: print_ip(): tcpconn_find: ip 192.168.41.60</div><div>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></div>
<div>Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [tcp_main.c:1504]: _tcpconn_find(): c=0xb465ad08, c->id=1, port=56724</div><div>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</div>
<div>Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [ip_addr.c:247]: print_ip(): ip=192.168.41.60</div><div>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></div>
<div>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</div><div>Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core> [parser/msg_parser.c:339]: parse_headers(): parse_headers: flags=ffffffffffffffff</div>
<div>Sep 11 20:37:09 testpc kamailio[24158]: DEBUG: <core> [tcp_main.c:2566]: tcpconn_do_send(): tcp_send: sending...</div><div>Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core> [parser/msg_parser.c:106]: get_hdr_field(): found end of header</div>
<div>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</div><div>Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: sanity [sanity.c:588]: check_cl(): check_cl passed</div>
<div>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 <a href="http://192.168.41.60:56724#015#012Server">192.168.41.60:56724#015#012Server</a>: kamailio (4.0.3 (i386/linux))#015#012Content-Length: 0#015#012#015#012</div>
<div>Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: sanity [sanity.c:605]: check_expires_value(): check_expires_value entered</div><div>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)</div>
<div>Sep 11 20:37:09 testpc kamailio[24158]: ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=1228 a=16 n=if</div><div>Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: <core> [parser/msg_parser.c:339]: parse_headers(): parse_headers: flags=4000</div>
<div>Sep 11 20:37:09 testpc kamailio[24158]: ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=1228 a=16 n=if</div><div>Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: sanity [sanity.c:643]: check_expires_value(): check_expires_value passed</div>
<div>Sep 11 20:37:09 testpc kamailio[24158]: ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=1228 a=16 n=if</div><div>Sep 11 20:37:09 testpc kamailio[24135]: DEBUG: sanity [sanity.c:756]: check_parse_uris(): check_parse_uris entered <br>
</div><div><div class="gmail_extra"><br><br></div></div><div class="gmail_extra">Regards</div><div class="gmail_extra">Anzi.</div></div>