<div dir="ltr"><div>My kamailio version is:<br><br>version: kamailio 4.4.6 (x86_64/linux) becbde<br>flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES<br>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB<br>poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>id: becbde <br>compiled on 08:18:45 Jul 3 2017 with gcc 5.4.0<br><br><br></div>I've pasted the logs below.<br><div><div><div> <br>( ... )<br><br>15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [parser/msg_parser.c:606]: parse_msg(): SIP Request:<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [parser/msg_parser.c:608]: parse_msg(): method: <INVITE><br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [parser/msg_parser.c:610]: parse_msg(): uri: <<a href="http://sip:+3412345678910@146.185.142.19:9773">sip:+3412345678910@146.185.142.19:9773</a>><br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [parser/msg_parser.c:612]: parse_msg(): version: <SIP/2.0><br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [parser/parse_via.c:1254]: parse_via_param(): Found param type 235, <rport> = <n/a>; state=6<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [parser/parse_via.c:1254]: parse_via_param(): Found param type 232, <branch> = <z9hG4bKPjd8e1dc7c-4dd1-42ac-88e4-b09e0cc55a63><br>; state=6<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [parser/parse_via.c:1254]: parse_via_param(): Found param type 237, <alias> = <n/a>; state=16<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [parser/parse_via.c:2642]: parse_via(): end of header reached, state=5<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [parser/msg_parser.c:496]: parse_headers(): parse_headers: Via found, flags=2<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [parser/msg_parser.c:498]: parse_headers(): parse_headers: this is the first via<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [receive.c:134]: receive_msg(): After parse_msg...<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [receive.c:177]: receive_msg(): preparing to run routing scripts...<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=466 a=5 n=route<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[REQINIT] c=[/etc/kamailio/kamailio.cfg] l=579 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[REQINIT] c=[/etc/kamailio/kamailio.cfg] l=574 a=25 n=mf_process_maxfwd_header<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: maxfwd [mf_funcs.c:85]: is_maxfwd_present(): value = 70<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[REQINIT] c=[/etc/kamailio/kamailio.cfg] l=584 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[REQINIT] c=[/etc/kamailio/kamailio.cfg] l=579 a=25 n=is_method<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[REQINIT] c=[/etc/kamailio/kamailio.cfg] l=588 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[REQINIT] c=[/etc/kamailio/kamailio.cfg] l=584 a=26 n=sanity_check<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [parser/parse_addr_spec.c:894]: parse_addr_spec(): end of header reached, state=9<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [parser/msg_parser.c:173]: get_hdr_field(): DEBUG: get_hdr_field: <To> [35]; uri=[<a href="mailto:sip%3A%2B3412345678910@146.185.142.19">sip:+3412345678910@146.185.142.19</a>]<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [parser/msg_parser.c:175]: get_hdr_field(): DEBUG: to body [<a href="http://sip:+3412345678910@146.185.142.19#015#012">sip:+3412345678910@146.185.142.19#015#012</a>]<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [parser/msg_parser.c:153]: get_hdr_field(): get_hdr_field: cseq <CSeq>: <21647> <INVITE><br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [parser/msg_parser.c:187]: get_hdr_field(): DEBUG: get_hdr_body : content_length=479<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [parser/msg_parser.c:89]: get_hdr_field(): found end of header<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [parser/parse_addr_spec.c:172]: parse_to_param(): DEBUG: add_param: tag=d48d0318-ea78-44ed-90b7-0634b2ee4f40<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [parser/parse_addr_spec.c:894]: parse_addr_spec(): end of header reached, state=29<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: sanity [mod_sanity.c:248]: w_sanity_check(): sanity checks result: 1<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=469 a=5 n=route<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[NATDETECT] c=[/etc/kamailio/kamailio.cfg] l=764 a=55 n=force_rport<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[NATDETECT] c=[/etc/kamailio/kamailio.cfg] l=775 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[NATDETECT] c=[/etc/kamailio/kamailio.cfg] l=765 a=25 n=nat_uac_test<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [msg_translator.c:158]: check_via_address(): (37.29.170.95, 37.29.170.95, 0)<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[NATDETECT] c=[/etc/kamailio/kamailio.cfg] l=775 a=2 n=return<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=480 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=472 a=25 n=is_method<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=480 a=5 n=route<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[WITHINDLG] c=[/etc/kamailio/kamailio.cfg] l=596 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[WITHINDLG] c=[/etc/kamailio/kamailio.cfg] l=592 a=24 n=has_totag<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: siputils [checks.c:97]: has_totag(): no totag<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[WITHINDLG] c=[/etc/kamailio/kamailio.cfg] l=592 a=2 n=return<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=489 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=485 a=24 n=t_precheck_trans<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=489 a=24 n=t_check_trans<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: tm [t_lookup.c:1011]: t_check_msg(): DEBUG: t_check_msg: msg id=10 global id=9 T start=(nil)<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: tm [t_lookup.c:466]: t_lookup_request(): t_lookup_request: start searching: hash=7756, isACK=0<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: tm [t_lookup.c:424]: matching_3261(): DEBUG: RFC3261 transaction matching failed<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: tm [t_lookup.c:648]: t_lookup_request(): DEBUG: t_lookup_request: no transaction found<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: tm [t_lookup.c:1080]: t_check_msg(): DEBUG: t_check_msg: msg id=10 global id=10 T end=(nil)<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=492 a=5 n=route<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[AUTH] c=[/etc/kamailio/kamailio.cfg] l=752 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[AUTH] c=[/etc/kamailio/kamailio.cfg] l=739 a=25 n=is_method<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [socket_info.c:558]: grep_sock_info(): checking if host==us: 14==14 && [146.185.142.19] == [146.185.142.19]<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [socket_info.c:565]: grep_sock_info(): checking if port 9773 (advertise 0) matches port 5060<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [socket_info.c:558]: grep_sock_info(): checking if host==us: 14==14 && [146.185.142.19] == [146.185.142.19]<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [socket_info.c:565]: grep_sock_info(): checking if port 9773 (advertise 0) matches port 5060<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [forward.c:412]: check_self(): host != me<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[AUTH] c=[/etc/kamailio/kamailio.cfg] l=758 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [socket_info.c:558]: grep_sock_info(): checking if host==us: 14==14 && [146.185.142.19] == [146.185.142.19]<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [socket_info.c:565]: grep_sock_info(): checking if port 9773 (advertise 0) matches port 5060<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [socket_info.c:558]: grep_sock_info(): checking if host==us: 14==14 && [146.185.142.19] == [146.185.142.19]<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [socket_info.c:565]: grep_sock_info(): checking if port 9773 (advertise 0) matches port 5060<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [forward.c:412]: check_self(): host != me<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [socket_info.c:558]: grep_sock_info(): checking if host==us: 14==14 && [146.185.142.19] == [146.185.142.19]<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [socket_info.c:565]: grep_sock_info(): checking if port 9773 (advertise 0) matches port 9773<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[AUTH] c=[/etc/kamailio/kamailio.cfg] l=758 a=2 n=return<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=496 a=25 n=remove_hf<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=501 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=497 a=25 n=is_method<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=498 a=24 n=record_route<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=506 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=501 a=25 n=is_method<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=502 a=39 n=setflag<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=506 a=5 n=route<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[SIPOUT] c=[/etc/kamailio/kamailio.cfg] l=828 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [socket_info.c:558]: grep_sock_info(): checking if host==us: 14==14 && [146.185.142.19] == [146.185.142.19]<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [socket_info.c:565]: grep_sock_info(): checking if port 9773 (advertise 0) matches port 9773<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[SIPOUT] c=[/etc/kamailio/kamailio.cfg] l=826 a=2 n=return<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=511 a=5 n=route<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[PRESENCE] c=[/etc/kamailio/kamailio.cfg] l=697 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[PRESENCE] c=[/etc/kamailio/kamailio.cfg] l=694 a=25 n=is_method<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[PRESENCE] c=[/etc/kamailio/kamailio.cfg] l=695 a=2 n=return<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=514 a=5 n=route<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[REGISTRAR] c=[/etc/kamailio/kamailio.cfg] l=639 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[REGISTRAR] c=[/etc/kamailio/kamailio.cfg] l=637 a=25 n=is_method<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[REGISTRAR] c=[/etc/kamailio/kamailio.cfg] l=637 a=2 n=return<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=523 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=523 a=5 n=route<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[PSTN] c=[/etc/kamailio/kamailio.cfg] l=865 a=2 n=return<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[DEFAULT_ROUTE] c=[/etc/kamailio/kamailio.cfg] l=526 a=5 n=route<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[LOCATION] c=[/etc/kamailio/kamailio.cfg] l=667 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[LOCATION] c=[/etc/kamailio/kamailio.cfg] l=663 a=25 n=alias_db_lookup<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [db_res.c:115]: db_new_result(): allocate 56 bytes for result set at 0x7fa015dc2c48<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: db_mysql [km_res.c:66]: db_mysql_get_columns(): 2 columns returned from the query<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [db_res.c:152]: db_allocate_columns(): allocate 16 bytes for result names at 0x7fa015dc2d50<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [db_res.c:163]: db_allocate_columns(): allocate 8 bytes for result types at 0x7fa015dc2dc0<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: db_mysql [km_res.c:83]: db_mysql_get_columns(): allocate 16 bytes for RES_NAMES[0] at 0x7fa015dc2e28<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: db_mysql [km_res.c:90]: db_mysql_get_columns(): RES_NAMES(0x7fa015dc2e28)[0]=[username]<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: db_mysql [km_res.c:135]: db_mysql_get_columns(): use DB1_STRING result type<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: db_mysql [km_res.c:83]: db_mysql_get_columns(): allocate 16 bytes for RES_NAMES[1] at 0x7fa015dc2e98<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: db_mysql [km_res.c:90]: db_mysql_get_columns(): RES_NAMES(0x7fa015dc2e98)[1]=[domain]<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: db_mysql [km_res.c:135]: db_mysql_get_columns(): use DB1_STRING result type<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: db_mysql [km_res.c:168]: db_mysql_convert_rows(): no rows returned from the query<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: alias_db [alookup.c:117]: alias_db_lookup(): no alias found for R-URI<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [db_res.c:79]: db_free_columns(): freeing 2 columns<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [db_res.c:83]: db_free_columns(): freeing RES_NAMES[0] at 0x7fa015dc2e28<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [db_res.c:83]: db_free_columns(): freeing RES_NAMES[1] at 0x7fa015dc2e98<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [db_res.c:92]: db_free_columns(): freeing result names at 0x7fa015dc2d50<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [db_res.c:97]: db_free_columns(): freeing result types at 0x7fa015dc2dc0<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [db_res.c:134]: db_free_result(): freeing result set at 0x7fa015dc2c48<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[LOCATION] c=[/etc/kamailio/kamailio.cfg] l=667 a=63 n=assign<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[LOCATION] c=[/etc/kamailio/kamailio.cfg] l=684 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[LOCATION] c=[/etc/kamailio/kamailio.cfg] l=668 a=25 n=lookup<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: registrar [lookup.c:196]: lookup_helper(): contact for [+3412345678910] found by address<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[LOCATION] c=[/etc/kamailio/kamailio.cfg] l=688 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[LOCATION] c=[/etc/kamailio/kamailio.cfg] l=684 a=25 n=is_method<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[LOCATION] c=[/etc/kamailio/kamailio.cfg] l=685 a=39 n=setflag<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[LOCATION] c=[/etc/kamailio/kamailio.cfg] l=688 a=5 n=route<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[RELAY] c=[/etc/kamailio/kamailio.cfg] l=537 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[RELAY] c=[/etc/kamailio/kamailio.cfg] l=534 a=25 n=is_method<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[RELAY] c=[/etc/kamailio/kamailio.cfg] l=536 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[RELAY] c=[/etc/kamailio/kamailio.cfg] l=535 a=25 n=t_is_set<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[RELAY] c=[/etc/kamailio/kamailio.cfg] l=535 a=25 n=t_on_branch<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[RELAY] c=[/etc/kamailio/kamailio.cfg] l=540 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[RELAY] c=[/etc/kamailio/kamailio.cfg] l=537 a=25 n=is_method<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[RELAY] c=[/etc/kamailio/kamailio.cfg] l=539 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[RELAY] c=[/etc/kamailio/kamailio.cfg] l=538 a=25 n=t_is_set<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[RELAY] c=[/etc/kamailio/kamailio.cfg] l=538 a=25 n=t_on_reply<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[RELAY] c=[/etc/kamailio/kamailio.cfg] l=544 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[RELAY] c=[/etc/kamailio/kamailio.cfg] l=540 a=25 n=is_method<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[RELAY] c=[/etc/kamailio/kamailio.cfg] l=542 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[RELAY] c=[/etc/kamailio/kamailio.cfg] l=541 a=25 n=t_is_set<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[RELAY] c=[/etc/kamailio/kamailio.cfg] l=541 a=25 n=t_on_failure<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[RELAY] c=[/etc/kamailio/kamailio.cfg] l=547 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[RELAY] c=[/etc/kamailio/kamailio.cfg] l=544 a=24 n=t_relay<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: tm [t_lookup.c:1312]: t_newtran(): DEBUG: t_newtran: msg id=10 , global msg id=10 , T on entrance=(nil)<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: tm [t_lookup.c:466]: t_lookup_request(): t_lookup_request: start searching: hash=7756, isACK=0<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: tm [t_lookup.c:424]: matching_3261(): DEBUG: RFC3261 transaction matching failed<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: tm [t_lookup.c:648]: t_lookup_request(): DEBUG: t_lookup_request: no transaction found<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: tm [t_hooks.c:358]: run_reqin_callbacks_internal(): DBG: trans=0x7fa00bf492c0, callback type 1, id 0 entered<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [md5utils.c:67]: MD5StringArray(): MD5 calculated: f3913fdf4b6cd76583034cec844eb6cd<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: tm [t_funcs.c:315]: t_relay_to(): SER: new INVITE<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [mem/shm_mem.c:101]: _shm_resize(): WARNING:vqm_resize: resize(0) called<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [tcp_main.c:2195]: tcpconn_send_put(): send from reader (3099 (11)), reusing fd<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [tcp_main.c:2430]: tcpconn_do_send(): sending...<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [tcp_main.c:2464]: tcpconn_do_send(): after real write: c= 0x7fa00bf44ae0 n=430 fd=9<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [tcp_main.c:2465]: tcpconn_do_send(): buf=#012SIP/2.0 100 trying -- your call is important to us#015#012Via: SIP/2.0/TCP 37.29<br>.170.95:33335;rport=33335;branch=z9hG4bKPjd8e1dc7c-4dd1-42ac-88e4-b09e0cc55a63;alias;received=37.29.170.95#015#012From: <a href="mailto:sip%3A%2B34639446862@146.185.142.19">sip:+34639446862@146.185.142.19</a>;tag=d48d0318-ea78-44ed-90b7-0634b2ee4f40#015#<br>012To: <a href="http://sip:+3412345678910@146.185.142.19#015#012Call-ID">sip:+3412345678910@146.185.142.19#015#012Call-ID</a>: 167f1514-e91c-42c7-8767-afc78c31abda#015#012CSeq: 21647 INVITE#015#012Server: kamailio (4.3.4 (x86_64/linux))#015#012Content-Length: 0<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: tm [t_reply.c:647]: _reply_light(): DEBUG: reply sent out. buf=0x7fa015dc30b0: SIP/2.0 100 trying -..., shmem=0x7fa00bf4c3f8: SIP/2.0<br> 100 trying -<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: tm [t_reply.c:657]: _reply_light(): DEBUG: _reply_light: finished<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:branch_route=[MANAGE_BRANCH] c=[/etc/kamailio/kamailio.cfg] l=918 a=25 n=xdbg<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <script>: new branch [0] to sip:+3412345678910@88.15.197.56:55288;transport=TCP;ob<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:branch_route=[MANAGE_BRANCH] c=[/etc/kamailio/kamailio.cfg] l=919 a=5 n=route<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:branch_route=[NATMANAGE] c=[/etc/kamailio/kamailio.cfg] l=791 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:branch_route=[NATMANAGE] c=[/etc/kamailio/kamailio.cfg] l=783 a=24 n=is_request<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:branch_route=[NATMANAGE] c=[/etc/kamailio/kamailio.cfg] l=789 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:branch_route=[NATMANAGE] c=[/etc/kamailio/kamailio.cfg] l=784 a=24 n=has_totag<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: siputils [checks.c:97]: has_totag(): no totag<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:branch_route=[NATMANAGE] c=[/etc/kamailio/kamailio.cfg] l=795 a=16 n=if<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:branch_route=[NATMANAGE] c=[/etc/kamailio/kamailio.cfg] l=791 a=41 n=isflagset<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:branch_route=[NATMANAGE] c=[/etc/kamailio/kamailio.cfg] l=791 a=25 n=isbflagset<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:branch_route=[NATMANAGE] c=[/etc/kamailio/kamailio.cfg] l=792 a=2 n=return<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [msg_translator.c:2843]: create_via_hf(): id added: <;i=5>, rcv proto=2<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [tcp_main.c:2211]: tcpconn_send_put(): tcp connection found (0x7fa00bf40488), acquiring fd<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3102]: DEBUG: <core> [tcp_main.c:3475]: handle_ser_child(): read response= 7fa00bf40488, 2, fd -1 from 11 (3099)<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [tcp_main.c:2221]: tcpconn_send_put(): c=0x7fa00bf40488, n=16<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [tcp_main.c:2251]: tcpconn_send_put(): after receive_fd: c= 0x7fa00bf40488 n=8 fd=11<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [tcp_main.c:2430]: tcpconn_do_send(): sending...<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [tcp_main.c:2464]: tcpconn_do_send(): after real write: c= 0x7fa00bf40488 n=1340 fd=11<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [tcp_main.c:2465]: tcpconn_do_send(): buf=#012INVITE sip:+3412345678910@88.15.197.56:55288;transport=TCP;ob SIP/2.0#015#012Rec<br>ord-Route: <sip:146.185.142.19:9773;transport=tcp;lr>#015#012Via: SIP/2.0/TCP 146.185.142.19:9773;branch=z9hG4bKc4e1.f3913fdf4b6cd76583034cec844eb6cd.0;i=5#015#012Via: SIP/2.0/TCP <a href="http://37.29.170.95:3333">37.29.170.95:3333</a><br>5;received=37.29.170.95;rport=33335;branch=z9hG4bKPjd8e1dc7c-4dd1-42ac-88e4-b09e0cc55a63;alias#015#012Max-Forwards: 69#015#012From: <a href="mailto:sip%3A%2B34639446862@146.185.142.19">sip:+34639446862@146.185.142.19</a>;tag=d48d0318-ea78-44ed-90b7-0634b<br>2ee4f40#015#012To: <a href="http://sip:+3412345678910@146.185.142.19#015#012Contact">sip:+3412345678910@146.185.142.19#015#012Contact</a>: <sip:+34639446862@37.29.170.95:33335;transport=TCP;ob>#015#012Call-ID: 167f1514-e91c-42c7-8767-afc78c31abda#015#012CSeq: 21647 I<br>NVITE#015#012Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS#015#012Supported: replaces, 100rel, timer, norefersub#015#012Session-Expires: 1800#015#<br>012Min-SE: 90#015#012Content-Type: application/sdp#015#012Content-Length: 479#015#012#015#012v=0#015#012o=- 3727693372 3727693372 IN IP4 100.108.48.229#015#012s=pjmedia#015#012b=AS:84#015#012t=0 <br>0#015#012a=X-nat:0#015#012m=audio 4004 RTP/AVP 98 97 99 104 3 0 8 9 96#015#012c=IN IP4 100.108.48.229#015#012b=TIAS:64000#015#012a=rtcp:4005 IN IP4 100.108.48.229#015#012a=sendrecv#015#012a=rtpmap:<br>98 speex/16000#015#012a=rtpmap:97 speex/8000#015#012a=rtpmap:99 speex/32000#015#012a=rtpmap:104 iLBC/8000#015#012a=fmtp:104 mode=30#015#012a=rtpmap:3 GSM/8000#015#012a=rtpmap:0 PCMU/8000#015#012a=r<br>tpmap:8 PCMA/8000#015#012a=rtpmap:9 G722/8000#015#012a=rtpmap:96 telephone-event/8000#015#012a=fmtp:96 0-16<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: tm [t_funcs.c:362]: t_relay_to(): SER: new transaction fwd'ed<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: exec: *** cfgtrace:request_route=[RELAY] c=[/etc/kamailio/kamailio.cfg] l=547 a=2 n=exit<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [usr_avp.c:631]: destroy_avp_list(): destroying list (nil)<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: message repeated 5 times: [ DEBUG: <core> [usr_avp.c:631]: destroy_avp_list(): destroying list (nil)]<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [xavp.c:446]: xavp_destroy_list(): destroying xavp list (nil)<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [receive.c:278]: receive_msg(): cleaning up<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa81660, 9, 2, 0x7fa00bf44ae0), fd_no=1<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3102]: DEBUG: <core> [io_wait.h:598]: io_watch_del(): DBG: io_watch_del (0xa28d40, 28, -1, 0x0) fd_no=20 called<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3102]: DEBUG: <core> [tcp_main.c:4131]: handle_tcpconn_ev(): sending to child, events 1<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3102]: DEBUG: <core> [tcp_main.c:3810]: send2child(): selected tcp worker 2 12(3100) for activity on [tcp:<a href="http://146.185.142.19:9773">146.185.142.19:9773</a>], 0x7fa00bf40488<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3100]: DEBUG: <core> [tcp_read.c:1539]: handle_io(): received n=8 con=0x7fa00bf40488, fd=9<br>Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3100]: DEBUG: <core> [tcp_read.c:1339]: tcp_read_req(): content-length=0<br><br>( ... )<br><br></div><div>Thanks!<br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-15 15:02 GMT+01:00 Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>first, what is the version of kamailio?</p>
<p>Then, can you load debugger module and set cfgtrace=1, then send
here all log messages for a case exposing this issue? It should
show what actions are executed from config.</p>
<p>Cheers,<br>
Daniel<br>
</p><div><div class="h5">
<br>
<div class="m_2439203765309466644moz-cite-prefix">On 15.02.18 12:08, Pau Giralt wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<p>Hi!</p>
<p> I'm working with kamailio and rtpproxy.<br>
When I configure the clients to send sip messages through TCP
adding the ";transport=tcp" in the sip message the rtpproxy is
not working anymore.</p>
<p>The code is never passing the point pasted below, inside
route[NATMANAGE] in kamailio.cfg</p>
<pre><code>if (!(isflagset(FLT_NATS) || isbflagset(FLB_NATB))) return;
</code></pre>
<p>Therefore, <code>rtpproxy_manage("co");</code> is never
reached.</p>
<p>Could it be a parsing problem? ( <code>check_route_param("nat=yes")</code>
)</p>
<p>The config file is exactly the same as the one provided in
the kamailio repository (the default one)<br>
</p>
<p>Thanks!</p>
<br>
</div>
<br>
<fieldset class="m_2439203765309466644mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a class="m_2439203765309466644moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="m_2439203765309466644moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre class="m_2439203765309466644moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="m_2439203765309466644moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="m_2439203765309466644moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - March 5-7, 2018, Berlin - <a class="m_2439203765309466644moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="m_2439203765309466644moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></pre>
</font></span></div>
</blockquote></div><br></div>