Sep 28 16:25:50 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:81]: freeing 6 columns Sep 28 16:25:50 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:85]: freeing RES_NAMES[0] at 0x7f2d6288bf88 Sep 28 16:25:50 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:85]: freeing RES_NAMES[1] at 0x7f2d6288bfa8 Sep 28 16:25:50 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:85]: freeing RES_NAMES[2] at 0x7f2d6288bfc8 Sep 28 16:25:50 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:85]: freeing RES_NAMES[3] at 0x7f2d6288bfe8 Sep 28 16:25:50 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:85]: freeing RES_NAMES[4] at 0x7f2d6288c008 Sep 28 16:25:50 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:85]: freeing RES_NAMES[5] at 0x7f2d6288c028 Sep 28 16:25:50 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:94]: freeing result names at 0x7f2d6288bf20 Sep 28 16:25:50 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:99]: freeing result types at 0x7f2d6288bf60 Sep 28 16:25:50 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:136]: freeing result set at 0x7f2d6288bee0 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [subscribe.c:2156]: db_update timer Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [subscribe.c:1879]: update_db_subs_timer: start Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:117]: pres_uri: sip:8475551001@10.50.251.12 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:118]: watcher_user@watcher_domain: 8475551001@10.50.251.12 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:119]: to_user@to_domain: 8475551001@10.50.251.12 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:120]: from_user@from_domain: 8475551001@10.50.251.12 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:121]: callid/from_tag/to_tag: 97486333-eaaa-cacf-ad9a-41002672a3cf/26643342/a6a1c5f60faecf035a1ae5b6e96e979a-2e33 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:122]: local_cseq/remote_cseq: 1/32394 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:123]: local_contact/contact: sip:10.50.251.12:5060;transport=tcp/sip:8475551001@10.51.2.181:55786;transport=tcp Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:124]: record_route: Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:125]: sockinfo_str: tcp:10.50.251.12:5060 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:127]: event: presence.winfo Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:128]: status: active Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:129]: reason: Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:130]: version: 1 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:131]: expires: 1348870763 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:133]: updated/updated_winfo: 0/0 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [subscribe.c:2068]: NO_UPDATEDB_FLAG Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:117]: pres_uri: sip:8475551001@10.50.251.12 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:118]: watcher_user@watcher_domain: 8475551001@10.50.251.12 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:119]: to_user@to_domain: 8475551001@10.50.251.12 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:120]: from_user@from_domain: 8475551001@10.50.251.12 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:121]: callid/from_tag/to_tag: 35335218-fbe9-c8d8-f2dd-776633e29a2e/23773268/a6a1c5f60faecf035a1ae5b6e96e979a-1c90 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:122]: local_cseq/remote_cseq: 1/32394 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:123]: local_contact/contact: sip:10.50.251.12:5060;transport=tcp/sip:8475551001@10.51.2.181:51378;transport=tcp Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:124]: record_route: Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:125]: sockinfo_str: tcp:10.50.251.12:5060 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:127]: event: presence.winfo Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:128]: status: active Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:129]: reason: Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:130]: version: 1 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:131]: expires: 1348867894 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [notify.c:133]: updated/updated_winfo: 0/0 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: presence [subscribe.c:2068]: NO_UPDATEDB_FLAG Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:118]: allocate 48 bytes for result set at 0x7f2d6288bee0 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:68]: 6 columns returned from the query Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:155]: allocate 48 bytes for result names at 0x7f2d6288bf20 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:165]: allocate 24 bytes for result types at 0x7f2d6288bf60 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for RES_NAMES[0] at 0x7f2d6288c028 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:92]: RES_NAMES(0x7f2d6288c028)[0]=[rlsubs_did] Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:136]: use DB1_STRING result type Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for RES_NAMES[1] at 0x7f2d6288c008 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:92]: RES_NAMES(0x7f2d6288c008)[1]=[resource_uri] Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:136]: use DB1_STRING result type Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for RES_NAMES[2] at 0x7f2d6288bfe8 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:92]: RES_NAMES(0x7f2d6288bfe8)[2]=[auth_state] Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:100]: use DB1_INT result type Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for RES_NAMES[3] at 0x7f2d6288bfc8 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:92]: RES_NAMES(0x7f2d6288bfc8)[3]=[content_type] Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:136]: use DB1_STRING result type Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for RES_NAMES[4] at 0x7f2d6288bfa8 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:92]: RES_NAMES(0x7f2d6288bfa8)[4]=[reason] Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:136]: use DB1_STRING result type Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for RES_NAMES[5] at 0x7f2d6288bf88 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:92]: RES_NAMES(0x7f2d6288bf88)[5]=[presence_state] Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:121]: use DB1_BLOB result type Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: db_mysql [km_res.c:169]: no rows returned from the query Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:81]: freeing 6 columns Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:85]: freeing RES_NAMES[0] at 0x7f2d6288c028 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:85]: freeing RES_NAMES[1] at 0x7f2d6288c008 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:85]: freeing RES_NAMES[2] at 0x7f2d6288bfe8 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:85]: freeing RES_NAMES[3] at 0x7f2d6288bfc8 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:85]: freeing RES_NAMES[4] at 0x7f2d6288bfa8 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:85]: freeing RES_NAMES[5] at 0x7f2d6288bf88 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:94]: freeing result names at 0x7f2d6288bf20 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:99]: freeing result types at 0x7f2d6288bf60 Sep 28 16:25:55 RCS-Presence /usr/local/sbin/kamailio[26649]: DEBUG: [db_res.c:136]: freeing result set at 0x7f2d6288bee0 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26665]: DEBUG: [ip_addr.c:247]: tcpconn_new: new tcp connection: 10.51.2.181 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26665]: DEBUG: [tcp_main.c:1089]: tcpconn_new: on port 56299, type 2 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26665]: DEBUG: [tcp_main.c:1400]: tcpconn_add: hashes: 1796:1307:1784, 1 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26665]: DEBUG: [io_wait.h:390]: DBG: io_watch_add(0x82cec0, 31, 2, 0x7f2d5c57bf38), fd_no=22 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26665]: DEBUG: [io_wait.h:617]: DBG: io_watch_del (0x82cec0, 31, -1, 0x0) fd_no=23 called Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26665]: DEBUG: [tcp_main.c:4295]: tcp: DBG: sending to child, events 1 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26665]: DEBUG: [tcp_main.c:3966]: selected tcp worker 0 13(26660) for activity on [tcp:10.50.251.12:5060], 0x7f2d5c57bf38 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_read.c:1354]: received n=8 con=0x7f2d5c57bf38, fd=11 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_read.c:1164]: tcp_read_req: content-length= 0 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:624]: SIP Request: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:626]: method: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:628]: uri: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:630]: version: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_via.c:1286]: Found param type 232, = ; state=6 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_via.c:1286]: Found param type 235, = ; state=17 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_via.c:2561]: end of header reached, state=5 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:511]: parse_headers: Via found, flags=2 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:513]: parse_headers: this is the first via Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [receive.c:149]: After parse_msg... Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [receive.c:190]: preparing to run routing scripts... Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_to.c:802]: end of header reached, state=10 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:188]: DEBUG: get_hdr_field: [31]; uri=[sip:8475551001@10.50.251.12] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:190]: DEBUG: to body [#015#012] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:168]: get_hdr_field: cseq : <1704> Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:202]: DEBUG: get_hdr_body : content_length=0 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: maxfwd [mf_funcs.c:85]: value = 70 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:104]: found end of header Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_to.c:178]: DEBUG: add_param: tag=27060041 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_to.c:802]: end of header reached, state=29 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: sanity [mod_sanity.c:255]: sanity checks result: 1 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: siputils [checks.c:103]: no totag Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:1079]: DEBUG: t_check_msg: msg id=1 global id=0 T start=0xffffffffffffffff Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:527]: t_lookup_request: start searching: hash=55839, isACK=0 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:485]: DEBUG: RFC3261 transaction matching failed Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:709]: DEBUG: t_lookup_request: no transaction found Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:1148]: DEBUG: t_check_msg: msg id=1 global id=1 T end=(nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth_db [authorize.c:306]: realm value [10.50.251.12] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth [api.c:96]: auth: digest-algo: parsed value: 0 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth [api.c:148]: auth:pre_auth: Invalid nonce value received Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth_db [authorize.c:197]: not authenticated Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth [challenge.c:128]: build_challenge_hf: realm='10.50.251.12' Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth [challenge.c:270]: auth: 'WWW-Authenticate: Digest realm="10.50.251.12", nonce="UGYXEFBmFeSDjhouEq7B8iHXS4K7qz9r"#015#012' Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: sl [sl.c:278]: reply in stateless mode (sl) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [msg_translator.c:206]: check_via_address(10.51.2.181, 10.51.2.181, 0) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_main.c:2313]: tcp_send: send from reader (26660 (13)), reusing fd Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_main.c:2549]: tcp_send: sending... Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_main.c:2583]: tcp_send: after real write: c= 0x7f2d5c57bf38 n=443 fd=11 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_main.c:2584]: tcp_send: buf=#012SIP/2.0 401 Unauthorized#015#012Via: SIP/2.0/TCP 10.51.2.181:56299;branch=z9hG4bK27058680;rport=56299#015#012From: ;tag=27060041#015#012To: ;tag=b27e1a1d33761e85846fc98f5f3a7e58.ba2e#015#012Call-ID: 0301a9cc-2376-1a27-00b0-320108825461#015#012CSeq: 1704 REGISTER#015#012WWW-Authenticate: Digest realm="10.50.251.12", nonce="UGYXEFBmFeSDjhouEq7B8iHXS4K7qz9r"#015#012Server: kamailio (3.3.1 (x86_64/linux))#015#012Content-Length: 0#015#012#015#012 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [xavp.c:365]: destroying xavp list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [receive.c:293]: receive_msg: cleaning up Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [io_wait.h:390]: DBG: io_watch_add(0x871120, 11, 2, 0x7f2d5c57bf38), fd_no=1 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_read.c:1164]: tcp_read_req: content-length= 0 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:624]: SIP Request: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:626]: method: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:628]: uri: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:630]: version: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_via.c:1286]: Found param type 232, = ; state=6 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_via.c:1286]: Found param type 235, = ; state=17 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_via.c:2561]: end of header reached, state=5 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:511]: parse_headers: Via found, flags=2 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:513]: parse_headers: this is the first via Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [receive.c:149]: After parse_msg... Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [receive.c:190]: preparing to run routing scripts... Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_to.c:802]: end of header reached, state=10 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:188]: DEBUG: get_hdr_field: [31]; uri=[sip:8475551001@10.50.251.12] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:190]: DEBUG: to body [#015#012] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:168]: get_hdr_field: cseq : <1705> Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:202]: DEBUG: get_hdr_body : content_length=0 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: maxfwd [mf_funcs.c:85]: value = 70 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:104]: found end of header Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_to.c:178]: DEBUG: add_param: tag=27060041 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_to.c:802]: end of header reached, state=29 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: sanity [mod_sanity.c:255]: sanity checks result: 1 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: siputils [checks.c:103]: no totag Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:1079]: DEBUG: t_check_msg: msg id=2 global id=1 T start=(nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:527]: t_lookup_request: start searching: hash=55840, isACK=0 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:485]: DEBUG: RFC3261 transaction matching failed Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:709]: DEBUG: t_lookup_request: no transaction found Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:1148]: DEBUG: t_check_msg: msg id=2 global id=2 T end=(nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth_db [authorize.c:306]: realm value [10.50.251.12] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth [api.c:96]: auth: digest-algo: MD5 parsed value: 1 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [db_res.c:118]: allocate 48 bytes for result set at 0x7f2d628a0708 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: db_mysql [km_res.c:68]: 1 columns returned from the query Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [db_res.c:155]: allocate 8 bytes for result names at 0x7f2d628a0828 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [db_res.c:165]: allocate 4 bytes for result types at 0x7f2d628a0778 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for RES_NAMES[0] at 0x7f2d628a0790 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: db_mysql [km_res.c:92]: RES_NAMES(0x7f2d628a0790)[0]=[password] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: db_mysql [km_res.c:136]: use DB1_STRING result type Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [db_res.c:184]: allocate 32 bytes for rows at 0x7f2d628a07b0 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [db_row.c:119]: allocate 32 bytes for row values at 0x7f2d628a0848 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [db_val.c:117]: converting STRING [1001] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [db_row.c:119]: allocate 32 bytes for row values at 0x7f2d628a0878 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [db_val.c:117]: converting STRING [1001] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth_db [authorize.c:124]: HA1 string calculated: be0eb7aaba97a43db0bedaa77060a705 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth [api.c:211]: check_response: Our result = '21879ca92607b5276648a76c732ce345' Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth [api.c:218]: check_response: Authorization is OK Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [db_res.c:81]: freeing 1 columns Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [db_res.c:85]: freeing RES_NAMES[0] at 0x7f2d628a0790 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [db_res.c:94]: freeing result names at 0x7f2d628a0828 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [db_res.c:99]: freeing result types at 0x7f2d628a0778 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [db_res.c:54]: freeing 2 rows Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [db_row.c:97]: freeing row values at 0x7f2d628a0848 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [db_row.c:97]: freeing row values at 0x7f2d628a0878 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [db_res.c:62]: freeing rows at 0x7f2d628a07b0 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [db_res.c:136]: freeing result set at 0x7f2d628a0708 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [socket_info.c:583]: grep_sock_info - checking if host==us: 12==9 && [10.50.251.12] == [127.0.0.1] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [socket_info.c:587]: grep_sock_info - checking if port 5060 (advertise 0) matches port 5060 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [socket_info.c:583]: grep_sock_info - checking if host==us: 12==12 && [10.50.251.12] == [10.50.251.12] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [socket_info.c:587]: grep_sock_info - checking if port 5060 (advertise 0) matches port 5060 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [sruid.c:176]: new sruid is [uloc-506615cf-6824-1] (1 / 20) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: registrar [reply.c:368]: created Contact HF: Contact: ;expires=600000#015#012 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: sl [sl.c:278]: reply in stateless mode (sl) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [msg_translator.c:206]: check_via_address(10.51.2.181, 10.51.2.181, 0) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_main.c:2313]: tcp_send: send from reader (26660 (13)), reusing fd Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_main.c:2549]: tcp_send: sending... Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_main.c:2583]: tcp_send: after real write: c= 0x7f2d5c57bf38 n=418 fd=11 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_main.c:2584]: tcp_send: buf=#012SIP/2.0 200 OK#015#012Via: SIP/2.0/TCP 10.51.2.181:56299;branch=z9hG4bK27041239;rport=56299#015#012From: ;tag=27060041#015#012To: ;tag=b27e1a1d33761e85846fc98f5f3a7e58.48a0#015#012Call-ID: 0301a9cc-2376-1a27-00b0-320108825461#015#012CSeq: 1705 REGISTER#015#012Contact: ;expires=600000#015#012Server: kamailio (3.3.1 (x86_64/linux))#015#012Content-Length: 0#015#012#015#012 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [xavp.c:365]: destroying xavp list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [receive.c:293]: receive_msg: cleaning up Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_read.c:1164]: tcp_read_req: content-length= 0 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:624]: SIP Request: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:626]: method: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:628]: uri: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:630]: version: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_via.c:1286]: Found param type 232, = ; state=6 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_via.c:1286]: Found param type 235, = ; state=17 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_via.c:2561]: end of header reached, state=5 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:511]: parse_headers: Via found, flags=2 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:513]: parse_headers: this is the first via Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [receive.c:149]: After parse_msg... Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [receive.c:190]: preparing to run routing scripts... Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_to.c:802]: end of header reached, state=10 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:188]: DEBUG: get_hdr_field: [31]; uri=[sip:8475551001@10.50.251.12] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:190]: DEBUG: to body [#015#012] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:168]: get_hdr_field: cseq : <24466> Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:202]: DEBUG: get_hdr_body : content_length=0 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: maxfwd [mf_funcs.c:85]: value = 70 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:104]: found end of header Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_to.c:178]: DEBUG: add_param: tag=27064139 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_to.c:802]: end of header reached, state=29 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: sanity [mod_sanity.c:255]: sanity checks result: 1 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: siputils [checks.c:103]: no totag Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:1079]: DEBUG: t_check_msg: msg id=3 global id=2 T start=(nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:527]: t_lookup_request: start searching: hash=57104, isACK=0 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:485]: DEBUG: RFC3261 transaction matching failed Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:709]: DEBUG: t_lookup_request: no transaction found Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:1148]: DEBUG: t_check_msg: msg id=3 global id=3 T end=(nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [socket_info.c:583]: grep_sock_info - checking if host==us: 12==9 && [10.50.251.12] == [127.0.0.1] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [socket_info.c:587]: grep_sock_info - checking if port 5060 (advertise 0) matches port 5060 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [socket_info.c:583]: grep_sock_info - checking if host==us: 12==12 && [10.50.251.12] == [10.50.251.12] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [socket_info.c:587]: grep_sock_info - checking if port 5060 (advertise 0) matches port 5060 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth_db [authorize.c:274]: realm value [10.50.251.12] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth [api.c:86]: auth:pre_auth: Credentials with realm '10.50.251.12' not found Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth_db [authorize.c:180]: no credentials Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth [challenge.c:128]: build_challenge_hf: realm='10.50.251.12' Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth [challenge.c:270]: auth: 'Proxy-Authenticate: Digest realm="10.50.251.12", nonce="UGYXEFBmFeSDjhouEq7B8iHXS4K7qz9r"#015#012' Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: sl [sl.c:278]: reply in stateless mode (sl) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [msg_translator.c:206]: check_via_address(10.51.2.181, 10.51.2.181, 0) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_main.c:2313]: tcp_send: send from reader (26660 (13)), reusing fd Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_main.c:2549]: tcp_send: sending... Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_main.c:2583]: tcp_send: after real write: c= 0x7f2d5c57bf38 n=464 fd=11 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_main.c:2584]: tcp_send: buf=#012SIP/2.0 407 Proxy Authentication Required#015#012Via: SIP/2.0/TCP 10.51.2.181:56299;branch=z9hG4bK27035729;rport=56299#015#012From: ;tag=27064139#015#012To: ;tag=b27e1a1d33761e85846fc98f5f3a7e58.1d86#015#012Call-ID: cfc85670-bc8b-d156-4225-f8542265a997#015#012CSeq: 24466 SUBSCRIBE#015#012Proxy-Authenticate: Digest realm="10.50.251.12", nonce="UGYXEFBmFeSDjhouEq7B8iHXS4K7qz9r"#015#012Server: kamailio (3.3.1 (x86_64/linux))#015#012Content-Length: 0#015#012#015#012 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [xavp.c:365]: destroying xavp list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [receive.c:293]: receive_msg: cleaning up Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_read.c:1164]: tcp_read_req: content-length= 0 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:624]: SIP Request: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:626]: method: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:628]: uri: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:630]: version: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_via.c:1286]: Found param type 232, = ; state=6 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_via.c:1286]: Found param type 235, = ; state=17 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_via.c:2561]: end of header reached, state=5 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:511]: parse_headers: Via found, flags=2 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:513]: parse_headers: this is the first via Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [receive.c:149]: After parse_msg... Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [receive.c:190]: preparing to run routing scripts... Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_to.c:802]: end of header reached, state=10 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:188]: DEBUG: get_hdr_field: [31]; uri=[sip:8475551001@10.50.251.12] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:190]: DEBUG: to body [#015#012] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:168]: get_hdr_field: cseq : <32393> Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:202]: DEBUG: get_hdr_body : content_length=0 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: maxfwd [mf_funcs.c:85]: value = 70 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/msg_parser.c:104]: found end of header Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_to.c:178]: DEBUG: add_param: tag=27036475 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [parser/parse_to.c:802]: end of header reached, state=29 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: sanity [mod_sanity.c:255]: sanity checks result: 1 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: siputils [checks.c:103]: no totag Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:1079]: DEBUG: t_check_msg: msg id=4 global id=3 T start=(nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26665]: DEBUG: [ip_addr.c:247]: tcpconn_new: new tcp connection: 10.51.2.181 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26665]: DEBUG: [tcp_main.c:1089]: tcpconn_new: on port 56301, type 2 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26665]: DEBUG: [tcp_main.c:1400]: tcpconn_add: hashes: 1794:1309:1790, 2 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26665]: DEBUG: [io_wait.h:390]: DBG: io_watch_add(0x82cec0, 33, 2, 0x7f2d5c57d458), fd_no=22 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:527]: t_lookup_request: start searching: hash=12876, isACK=0 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:485]: DEBUG: RFC3261 transaction matching failed Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:709]: DEBUG: t_lookup_request: no transaction found Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: tm [t_lookup.c:1148]: DEBUG: t_check_msg: msg id=4 global id=4 T end=(nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [socket_info.c:583]: grep_sock_info - checking if host==us: 12==9 && [10.50.251.12] == [127.0.0.1] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [socket_info.c:587]: grep_sock_info - checking if port 5060 (advertise 0) matches port 5060 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [socket_info.c:583]: grep_sock_info - checking if host==us: 12==12 && [10.50.251.12] == [10.50.251.12] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [socket_info.c:587]: grep_sock_info - checking if port 5060 (advertise 0) matches port 5060 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth_db [authorize.c:274]: realm value [10.50.251.12] Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth [api.c:86]: auth:pre_auth: Credentials with realm '10.50.251.12' not found Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26665]: DEBUG: [io_wait.h:617]: DBG: io_watch_del (0x82cec0, 33, -1, 0x0) fd_no=23 called Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26665]: DEBUG: [tcp_main.c:4295]: tcp: DBG: sending to child, events 1 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26665]: DEBUG: [tcp_main.c:3966]: selected tcp worker 1 14(26661) for activity on [tcp:10.50.251.12:5060], 0x7f2d5c57d458 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth_db [authorize.c:180]: no credentials Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth [challenge.c:128]: build_challenge_hf: realm='10.50.251.12' Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: auth [challenge.c:270]: auth: 'Proxy-Authenticate: Digest realm="10.50.251.12", nonce="UGYXEFBmFeSDjhouEq7B8iHXS4K7qz9r"#015#012' Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: sl [sl.c:278]: reply in stateless mode (sl) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [msg_translator.c:206]: check_via_address(10.51.2.181, 10.51.2.181, 0) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_main.c:2313]: tcp_send: send from reader (26660 (13)), reusing fd Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_main.c:2549]: tcp_send: sending... Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26661]: DEBUG: [tcp_read.c:1354]: received n=8 con=0x7f2d5c57d458, fd=11 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_main.c:2583]: tcp_send: after real write: c= 0x7f2d5c57bf38 n=464 fd=11 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_main.c:2584]: tcp_send: buf=#012SIP/2.0 407 Proxy Authentication Required#015#012Via: SIP/2.0/TCP 10.51.2.181:56299;branch=z9hG4bK27043594;rport=56299#015#012From: ;tag=27036475#015#012To: ;tag=b27e1a1d33761e85846fc98f5f3a7e58.2699#015#012Call-ID: 70085615-c9a9-df0f-282a-62550735a89e#015#012CSeq: 32393 SUBSCRIBE#015#012Proxy-Authenticate: Digest realm="10.50.251.12", nonce="UGYXEFBmFeSDjhouEq7B8iHXS4K7qz9r"#015#012Server: kamailio (3.3.1 (x86_64/linux))#015#012Content-Length: 0#015#012#015#012 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26661]: DEBUG: [parser/msg_parser.c:624]: SIP Request: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26661]: DEBUG: [parser/msg_parser.c:626]: method: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26661]: DEBUG: [parser/msg_parser.c:628]: uri: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26661]: DEBUG: [parser/msg_parser.c:630]: version: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26661]: DEBUG: [parser/msg_parser.c:104]: found end of header Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26661]: DEBUG: [receive.c:149]: After parse_msg... Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26661]: DEBUG: xhttp [xhttp_mod.c:345]: new fake msg created (204 bytes):#012 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26661]: DEBUG: [parser/msg_parser.c:624]: SIP Request: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26661]: DEBUG: [parser/msg_parser.c:626]: method: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26661]: DEBUG: [parser/msg_parser.c:628]: uri: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26661]: DEBUG: [parser/msg_parser.c:630]: version: Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26661]: DEBUG: [parser/parse_via.c:2561]: end of header reached, state=5 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26661]: DEBUG: [parser/msg_parser.c:511]: parse_headers: Via found, flags=2 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26661]: DEBUG: [parser/msg_parser.c:513]: parse_headers: this is the first via Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [usr_avp.c:644]: DEBUG:destroy_avp_list: destroying list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [xavp.c:365]: destroying xavp list (nil) Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [receive.c:293]: receive_msg: cleaning up Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26660]: DEBUG: [tcp_read.c:1164]: tcp_read_req: content-length= 0 Sep 28 16:25:56 RCS-Presence /usr/local/sbin/kamailio[26661]: DEBUG: