From chabert.loic.74@gmail.com Mon May 28 12:01:27 2018 From: Loic Chabert To: sr-users@lists.kamailio.org Subject: [SR-Users] Kamailio 5.1.x - Dialog event route not fired Date: Mon, 28 May 2018 12:01:17 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0233197304==" --===============0233197304== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi list, I'm facing a strange behaviour with dialog module and stop event route. When a BYE request has been receved by Kamailio, no stop event route has been fired but dialog state go to 5. My config is following this guide: http://kb.asipto.com/kamailio:presence:k43-blf Using dialog_manage on RELAY route, as describe on this guide. If i set more debug information, i can see dialog has been found and dialog status incremented : 1(7) DEBUG: [core/udp_server.c:491]: udp_rcv_loop(): received on udp socket: (106/100/818) [[BYE sip:172.16.74.201:5060;prxroute=1 SIP/2.0 0D 0A Record-Route: [core/parser/msg_parser.c:604]: parse_msg(): SIP Request: 1(7) DEBUG: [core/parser/msg_parser.c:606]: parse_msg(): method: 1(7) DEBUG: [core/parser/msg_parser.c:608]: parse_msg(): uri: 1(7) DEBUG: [core/parser/msg_parser.c:610]: parse_msg(): version: 1(7) DEBUG: [core/parser/parse_via.c:1303]: parse_via_param(): Found param type 232, = ; state=16 1(7) DEBUG: [core/parser/parse_via.c:2639]: parse_via(): end of header reached, state=5 1(7) DEBUG: [core/parser/msg_parser.c:492]: parse_headers(): Via found, flags=2 1(7) DEBUG: [core/parser/msg_parser.c:494]: parse_headers(): this is the first via 1(7) DEBUG: [core/parser/parse_via.c:1303]: parse_via_param(): Found param type 235, = <5060>; state=6 1(7) DEBUG: [core/parser/parse_via.c:1303]: parse_via_param(): Found param type 232, = ; state=16 1(7) DEBUG: [core/parser/parse_via.c:2639]: parse_via(): end of header reached, state=5 1(7) DEBUG: [core/parser/msg_parser.c:492]: parse_headers(): Via found, flags=78 1(7) DEBUG: [core/parser/msg_parser.c:505]: parse_headers(): this is the second via 1(7) DEBUG: [core/parser/parse_addr_spec.c:185]: parse_to_param(): add param: tag=f651e13a-0aac-40d5-b877-1c24497ff87c 1(7) DEBUG: [core/parser/parse_addr_spec.c:864]: parse_addr_spec(): end of header reached, state=29 1(7) DEBUG: [core/parser/msg_parser.c:171]: get_hdr_field(): [87]; uri=[sip:+33975181257(a)sip.testinfratrunk.vox.fr] 1(7) DEBUG: [core/parser/msg_parser.c:172]: get_hdr_field(): to body [] 1(7) DEBUG: [core/parser/msg_parser.c:152]: get_hdr_field(): cseq : <3> 1(7) DEBUG: [core/receive.c:232]: receive_msg(): --- received sip message - request - call-id: [1-69(a)60.0.0.30] - cseq: [3 BYE] 1(7) DEBUG: [core/receive.c:287]: receive_msg(): preparing to run routing scripts... 1(7) DEBUG: maxfwd [mf_funcs.c:74]: is_maxfwd_present(): value = 69 1(7) DEBUG: [core/parser/parse_addr_spec.c:185]: parse_to_param(): add param: tag=1 1(7) DEBUG: [core/parser/parse_addr_spec.c:864]: parse_addr_spec(): end of header reached, state=29 1(7) DEBUG: [core/parser/msg_parser.c:183]: get_hdr_field(): content_length=0 1(7) DEBUG: [core/parser/msg_parser.c:89]: get_hdr_field(): found end of header 1(7) DEBUG: sanity [sanity_mod.c:256]: w_sanity_check(): sanity checks result: 1 1(7) NOTICE: