[SR-Users] Kamailio XCAP for Kamailio IMS

Pavel Segeč pavel.segec at fri.uniza.sk
Fri Apr 8 21:43:52 CEST 2011


Hi Daniel,

 

The syslog messages are here, I just focused on the situation when I've
added a new contact...It behaves strange, I can have only one buddy contact,
myself, no others, adding a new one leads to error, or the PUT is
sudcessfull but after re registration of the Boghe client, I still have just
only one contact...myself

 

palo

 

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11622]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0xb3071000, 4556) called from <core>:
tcp_main.c: tcpconn_new(1053)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11622]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0xb3071000, 4556) returns address 0xb320075c
frag. 0xb3200744 (size=4876) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11622]: DEBUG: <core>
[ip_addr.c:247]: tcpconn_new: new tcp connection: 158.193.152.64

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11622]: DEBUG: <core>
[tcp_main.c:1081]: tcpconn_new: on port 6639, type 2

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11622]: DEBUG: <core>
[tcp_main.c:1382]: tcpconn_add: hashes: 2509:3505:3666, 15

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11622]: DEBUG: <core>
[io_wait.h:390]: DBG: io_watch_add(0x823a1c0, 30, 2, 0xb320075c), fd_no=22

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11622]: DEBUG: <core>
[io_wait.h:617]: DBG: io_watch_del (0x823a1c0, 30, -1, 0x0) fd_no=23 called

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11622]: DEBUG: <core>
[tcp_main.c:4195]: tcp: DBG: sending to child, events 1

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11622]: DEBUG: <core>
[tcp_main.c:3880]: send2child: to tcp child 2 15(11620), 0xb320075c

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[tcp_read.c:1101]: received n=4 con=0xb320075c, fd=10

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[tcp_read.c:919]: tcp_read_req: content-length= 155

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 860) called from <core>:
receive.c: receive_msg(120)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 860) returns address 0x8313adc
frag. 0x8313ac4 (size=860) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[parser/msg_parser.c:630]: SIP Request:

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[parser/msg_parser.c:632]:  method:  <PUT>

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[parser/msg_parser.c:634]:  uri:
</xcap-root/resource-lists/users/sip:palo at ims1.sip.uniza.sk/index/~~/resourc
e-lists/list%5B at name=%22rcs%22%5D/entry%5B at uri=%22sip:timeos at ims1.sip.uniza.
sk%22%5D>

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[parser/msg_parser.c:636]:  version: <HTTP/1.1>

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 32) called from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 32) returns address 0x8313f58
frag. 0x8313f40 (size=32) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 32) called from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 32) returns address 0x8313f08
frag. 0x8313ef0 (size=32) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[parser/msg_parser.c:201]: DEBUG: get_hdr_body : content_length=155

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 32) called from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 32) returns address 0x8313eb8
frag. 0x8313ea0 (size=32) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 32) called from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 32) returns address 0x8313e68
frag. 0x8313e50 (size=32) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 32) called from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 32) returns address 0x83145d0
frag. 0x83145b8 (size=32) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 32) called from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 32) returns address 0x8314580
frag. 0x8314568 (size=32) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 32) called from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 32) returns address 0x831420c
frag. 0x83141f4 (size=32) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[parser/msg_parser.c:103]: found end of header

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x831420c), called from <core>:
parser/msg_parser.c: parse_headers(358)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x83141f4 alloc'ed from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[receive.c:145]: After parse_msg...

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 41) called from <core>:
msg_translator.c: via_builder(2318)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 44) returns address 0x8313ff8
frag. 0x8313fe0 (size=44) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 566) called from xhttp:
xhttp_mod.c: xhttp_to_sip(198)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 568) returns address 0x8314994
frag. 0x831497c (size=712) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8313ff8), called from xhttp:
xhttp_mod.c: xhttp_to_sip(219)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8313fe0 alloc'ed from <core>:
msg_translator.c: via_builder(2318)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: xhttp
[xhttp_mod.c:341]: new fake msg created (565 bytes):#012<PUT
/xcap-root/resource-lists/users/sip:palo at ims1.sip.uniza.sk/index/~~/resource
-lists/list%5B at name=%22rcs%22%5D/entry%5B at uri=%22sip:timeos at ims1.sip.uniza.s
k%22%5D HTTP/1.1#015#012Via: SIP/2.0/TCP 158.193.152.64:6639#015#012Host:
158.193.139.36:5060#015#012Content-Length: 155#015#012Connection:
Keep-Alive#015#012User-Agent:
XDM-client/OMA1.1#015#012X-3GPP-Intended-Identity:
sip:palo at ims1.sip.uniza.sk#015#012Content-Type:
application/xcap-el+xml#015#012#015#012<entry
uri="sip:timeos at ims1.sip.uniza.sk"
xmlns="urn:ietf:params:xml:ns:resource-lists">#015#012
<display-name>timeos at ims1.sip.uniza.sk</display-name>#015#012</entry>>

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[parser/msg_parser.c:630]: SIP Request:

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[parser/msg_parser.c:632]:  method:  <PUT>

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[parser/msg_parser.c:634]:  uri:
</xcap-root/resource-lists/users/sip:palo at ims1.sip.uniza.sk/index/~~/resourc
e-lists/list%5B at name=%22rcs%22%5D/entry%5B at uri=%22sip:timeos at ims1.sip.uniza.
sk%22%5D>

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[parser/msg_parser.c:636]:  version: <HTTP/1.1>

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 32) called from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 32) returns address 0x831420c
frag. 0x83141f4 (size=32) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 116) called from <core>:
parser/msg_parser.c: get_hdr_field(130)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 116) returns address 0x8314168
frag. 0x8314150 (size=116) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[parser/parse_via.c:2300]: end of header reached, state=5

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[parser/msg_parser.c:515]: parse_headers: Via found, flags=2

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[parser/msg_parser.c:517]: parse_headers: this is the first via

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <script>:
===== xhttp: request [HTTP/1.1] PUT =>
/xcap-root/resource-lists/users/sip:palo at ims1.sip.uniza.sk/index/~~/resource
-lists/list%5B at name=%22rcs%22%5D/entry%5B at uri=%22sip:timeos at ims1.sip.uniza.s
k%22%5D

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 680) called from <core>:
rvalue.c: rval_new_empty(240)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 680) returns address 0x8314c8c
frag. 0x8314c74 (size=856) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8314c8c), called from <core>:
rvalue.c: rval_destroy(145)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8314c74 alloc'ed from <core>:
rvalue.c: rval_new_empty(240)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: ERROR: xcap_server
[xcap_misc.c:60]: http uri too long

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: ERROR: xcap_server
[xcap_misc.c:736]: error setting xcap uri data
[/xcap-root/resource-lists/users/sip:palo at ims1.sip.uniza.sk/index/~~/resourc
e-lists/list%5B at name=%22rcs%22%5D/entry%5B at uri=%22sip:timeos at ims1.sip.uniza.
sk%22%5D]

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: ERROR: <core>
[lvalue.c:358]: setting pvar failed

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: ERROR: <core>
[lvalue.c:411]: assignment failed at pos: (899,37-899,39)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 548) called from <core>:
rvalue.c: rval_new_empty(240)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 548) returns address 0x8314c8c
frag. 0x8314c74 (size=856) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8314c8c), called from <core>:
rvalue.c: rval_destroy(145)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8314c74 alloc'ed from <core>:
rvalue.c: rval_new_empty(240)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: ERROR: <script>:
===== xhttp: rls-services : sip:palo at ims1.sip.uniza.sk

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 532) called from <core>:
rvalue.c: rval_new_empty(240)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 532) returns address 0x8314c8c
frag. 0x8314c74 (size=856) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8314c8c), called from <core>:
rvalue.c: rval_destroy(145)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8314c74 alloc'ed from <core>:
rvalue.c: rval_new_empty(240)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 524) called from <core>:
rvalue.c: rval_new_empty(240)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 524) returns address 0x8314c8c
frag. 0x8314c74 (size=856) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8314c8c), called from <core>:
rvalue.c: rval_destroy(145)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8314c74 alloc'ed from <core>:
rvalue.c: rval_new_empty(240)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 32) called from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 32) returns address 0x8314530
frag. 0x8314518 (size=32) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 32) called from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 32) returns address 0x8313ff8
frag. 0x8313fe0 (size=44) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[parser/msg_parser.c:201]: DEBUG: get_hdr_body : content_length=155

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 32) called from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 32) returns address 0x8314468
frag. 0x8314450 (size=44) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 32) called from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 32) returns address 0x83144c4
frag. 0x83144ac (size=60) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 32) called from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 32) returns address 0x8314620
frag. 0x8314608 (size=92) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 32) called from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 32) returns address 0x8314054
frag. 0x831403c (size=32) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 32) called from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 32) returns address 0x83140a4
frag. 0x831408c (size=32) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[parser/msg_parser.c:103]: found end of header

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x83140a4), called from <core>:
parser/msg_parser.c: parse_headers(358)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x831408c alloc'ed from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 156) called from xcap_server:
xcap_server.c: w_xcaps_put(473)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 156) returns address 0x831425c
frag. 0x8314244 (size=156) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: ERROR: xcap_server
[xcap_misc.c:60]: http uri too long

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: ERROR: xcap_server
[xcap_server.c:496]: cannot parse xcap uri
[/xcap-root/resource-lists/users/sip:palo at ims1.sip.uniza.sk/index/~~/resourc
e-lists/list%5B at name=%22rcs%22%5D/entry%5B at uri=%22sip:timeos at ims1.sip.uniza.
sk%22%5D]

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 13) called from <core>: ut.c:
as_asciiz(163)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 16) returns address 0x83140a4
frag. 0x831408c (size=32) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: sl
[sl.c:278]: reply in stateless mode (sl)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[msg_translator.c:204]: check_via_address(158.193.152.64, 158.193.152.64, 0)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 126) called from <core>:
msg_translator.c: build_res_buf_from_sip_req(2032)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 128) returns address 0x8314328
frag. 0x8314310 (size=272) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[tcp_main.c:2285]: tcp_send: send from reader (11620 (15)), reusing fd

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[tcp_main.c:2521]: tcp_send: sending...

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[tcp_main.c:2555]: tcp_send: after real write: c= 0xb320075c n=125 fd=10

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[tcp_main.c:2556]: tcp_send: buf=#012HTTP/1.1 500 Server error#015#012Via:
SIP/2.0/TCP 158.193.152.64:6639#015#012Server: kamailio (3.1.2
(i386/linux))#015#012Content-Length: 0#015#012#015#012

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8314328), called from sl:
sl_funcs.c: sl_reply_helper(203)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8314310 alloc'ed from <core>:
msg_translator.c: build_res_buf_from_sip_req(2032)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x83140a4), called from sl: sl.c:
send_reply(282)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11622]: DEBUG: <core>
[tcp_main.c:3580]: handle_ser_child: read response= b320075c, -1, fd -1 from
15 (11620)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x831408c alloc'ed from <core>:
ut.c: as_asciiz(163)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x831425c), called from
xcap_server: xcap_server.c: w_xcaps_put(571)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8314244 alloc'ed from
xcap_server: xcap_server.c: w_xcaps_put(473)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:366]: qm_malloc(0x8292fc0, 532) called from <core>:
rvalue.c: rval_new_empty(240)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:406]: qm_malloc(0x8292fc0, 532) returns address 0x8314c8c
frag. 0x8314c74 (size=856) on 1 -th hit

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8314c8c), called from <core>:
rvalue.c: rval_destroy(145)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8314c74 alloc'ed from <core>:
rvalue.c: rval_new_empty(240)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8314168), called from <core>:
parser/parse_via.c: free_via_list(2399)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8314150 alloc'ed from <core>:
parser/msg_parser.c: get_hdr_field(130)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x831420c), called from <core>:
parser/hf.c: free_hdr_field_lst(251)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x83141f4 alloc'ed from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8314530), called from <core>:
parser/hf.c: free_hdr_field_lst(251)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8314518 alloc'ed from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8313ff8), called from <core>:
parser/hf.c: free_hdr_field_lst(251)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8313fe0 alloc'ed from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8314468), called from <core>:
parser/hf.c: free_hdr_field_lst(251)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8314450 alloc'ed from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x83144c4), called from <core>:
parser/hf.c: free_hdr_field_lst(251)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x83144ac alloc'ed from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8314620), called from <core>:
parser/hf.c: free_hdr_field_lst(251)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8314608 alloc'ed from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8314054), called from <core>:
parser/hf.c: free_hdr_field_lst(251)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x831403c alloc'ed from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8314994), called from xhttp:
xhttp_mod.c: xhttp_handler(344)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x831497c alloc'ed from xhttp:
xhttp_mod.c: xhttp_to_sip(198)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[usr_avp.c:646]: DEBUG:destroy_avp_list: destroying list (nil)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[usr_avp.c:646]: DEBUG:destroy_avp_list: destroying list (nil)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[usr_avp.c:646]: DEBUG:destroy_avp_list: destroying list (nil)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[usr_avp.c:646]: DEBUG:destroy_avp_list: destroying list (nil)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[usr_avp.c:646]: DEBUG:destroy_avp_list: destroying list (nil)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[usr_avp.c:646]: DEBUG:destroy_avp_list: destroying list (nil)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[receive.c:289]: receive_msg: cleaning up

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8313f58), called from <core>:
parser/hf.c: free_hdr_field_lst(251)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8313f40 alloc'ed from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8313f08), called from <core>:
parser/hf.c: free_hdr_field_lst(251)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8313ef0 alloc'ed from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8313eb8), called from <core>:
parser/hf.c: free_hdr_field_lst(251)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8313ea0 alloc'ed from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8313e68), called from <core>:
parser/hf.c: free_hdr_field_lst(251)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8313e50 alloc'ed from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x83145d0), called from <core>:
parser/hf.c: free_hdr_field_lst(251)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x83145b8 alloc'ed from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8314580), called from <core>:
parser/hf.c: free_hdr_field_lst(251)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8314568 alloc'ed from <core>:
parser/msg_parser.c: parse_headers(341)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0x8292fc0, 0x8313adc), called from <core>:
receive.c: receive_msg(291)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0x8313ac4 alloc'ed from <core>:
receive.c: receive_msg(120)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[io_wait.h:390]: DBG: io_watch_add(0x825c400, 10, 2, 0xb320075c), fd_no=1

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[io_wait.h:617]: DBG: io_watch_del (0x825c400, 10, -1, 0x10) fd_no=2 called

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[tcp_read.c:1028]: releasing con 0xb320075c, state -2, fd=10, id=15

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11620]: DEBUG: <core>
[tcp_read.c:1029]:  extra_data (nil)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11622]: DEBUG: <core>
[tcp_main.c:3341]: handle_tcp_child: reader response= b320075c, -2 from 2 

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11622]: WARNING: <core>
[mem/q_malloc.c:428]: qm_free(0xb3071000, 0xb320075c), called from <core>:
tcp_main.c: _tcpconn_free(1413)

Apr  8 21:34:11 kam-presence /usr/sbin/kamailio[11622]: WARNING: <core>
[mem/q_malloc.c:450]: qm_free: freeing frag. 0xb3200744 alloc'ed from
<core>: tcp_main.c: tcpconn_new(1053)

 

From: Daniel-Constantin Mierla [mailto:miconda at gmail.com] 
Sent: Friday, April 08, 2011 1:09 PM
To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users
Mailing List
Cc: Pavel Segeč
Subject: Re: [SR-Users] Kamailio XCAP for Kamailio IMS

 

Hello,

can you run kamailio with global parameter 'debug=3' and send the syslog
messages for such case?

That will give the hints about what is going wrong there. I see some
characters are hexa encoded, but better see first the logs.

Cheers,
Daniel

On 4/8/11 11:14 AM, Pavel Segeč wrote: 

Hi,

 

I'm using Kamailio SIMPLE AS server as the presence and XCAP solution as the
extension for my Kamailio based IMS platfom. As the base Presence
configuration i'm using the default config as is described inside of the
tutorial from ASIPTO site, it works well for pure ietf SIP SIMPLE
environment. But when using it with the IMS, I sniff during putting the new
record 500 Error. May somebody show me a direction what should be wrong?

 

thanks

 

palo

 

PUT
/xcap-root/resource-lists/users/palo/index/~~/resource-lists/list%5B at name=%2
2doubango%22%5D/entry%5B at uri=%22sip:segi at ims1.sip.uniza.sk%22%5D HTTP/1.1

Host: 158.193.139.36:5060

Content-Length: 151

Connection: Keep-Alive

User-Agent: XDM-client/OMA1.1

X-3GPP-Intended-Identity: palo

Content-Type: application/xcap-el+xml

<entry uri= <sip:segi at ims1.sip.uniza.sk> "sip:segi at ims1.sip.uniza.sk"
xmlns="urn:ietf:params:xml:ns:resource-lists">

  <display-name>segi at ims1.sip.uniza.sk</display-name>

</entry>HTTP/1.1 500 Server error

Via: SIP/2.0/TCP 158.193.152.64:20735

Server: kamailio (3.1.2 (i386/linux))

Content-Length: 0

 

 



__________ Informacia od ESET NOD32 Antivirus, verzia databazy 6025
(20110408) __________

Tuto spravu preveril ESET NOD32 Antivirus.

http://www.eset.sk



 
 
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users





-- 
Daniel-Constantin Mierla
http://www.asipto.com



__________ Informacia od ESET NOD32 Antivirus, verzia databazy 6026
(20110408) __________

Tuto spravu preveril ESET NOD32 Antivirus.

http://www.eset.sk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110408/6010bd56/attachment-0001.htm>


More information about the sr-users mailing list