[SR-Users] Problem with "transport=tcp" and rtpproxy
Pau Giralt
pau.gimo at gmail.com
Thu Feb 15 15:35:06 CET 2018
My kamailio version is:
version: kamailio 4.4.6 (x86_64/linux) becbde
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
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: becbde
compiled on 08:18:45 Jul 3 2017 with gcc 5.4.0
I've pasted the logs below.
( ... )
15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core>
[parser/msg_parser.c:606]: parse_msg(): SIP Request:
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core>
[parser/msg_parser.c:608]: parse_msg(): method: <INVITE>
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core>
[parser/msg_parser.c:610]: parse_msg(): uri: <
sip:+3412345678910 at 146.185.142.19:9773>
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core>
[parser/msg_parser.c:612]: parse_msg(): version: <SIP/2.0>
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
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>
; state=6
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
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
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
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
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core>
[receive.c:134]: receive_msg(): After parse_msg...
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core>
[receive.c:177]: receive_msg(): preparing to run routing scripts...
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
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
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
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: maxfwd
[mf_funcs.c:85]: is_maxfwd_present(): value = 70
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
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
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
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
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
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=[sip:+3412345678910 at 146.185.142.19]
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core>
[parser/msg_parser.c:175]: get_hdr_field(): DEBUG: to body [
sip:+3412345678910 at 146.185.142.19#015#012]
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>
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
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
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
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
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: sanity
[mod_sanity.c:248]: w_sanity_check(): sanity checks result: 1
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
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
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
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
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)
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
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
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
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
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
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
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: siputils
[checks.c:97]: has_totag(): no totag
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
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
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
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
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)
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
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: tm
[t_lookup.c:424]: matching_3261(): DEBUG: RFC3261 transaction matching
failed
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
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)
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
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
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
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]
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
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]
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
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core>
[forward.c:412]: check_self(): host != me
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
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]
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
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]
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
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core>
[forward.c:412]: check_self(): host != me
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]
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
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
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
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
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
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
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
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
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
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
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
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]
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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]
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
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
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]
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
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
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
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core>
[db_res.c:79]: db_free_columns(): freeing 2 columns
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
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
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
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
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
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
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
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
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: registrar
[lookup.c:196]: lookup_helper(): contact for [+3412345678910] found by
address
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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)
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
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: tm
[t_lookup.c:424]: matching_3261(): DEBUG: RFC3261 transaction matching
failed
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
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
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core>
[md5utils.c:67]: MD5StringArray(): MD5 calculated:
f3913fdf4b6cd76583034cec844eb6cd
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: tm
[t_funcs.c:315]: t_relay_to(): SER: new INVITE
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
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
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core>
[tcp_main.c:2430]: tcpconn_do_send(): sending...
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
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
.170.95:33335;rport=33335;branch=z9hG4bKPjd8e1dc7c-4dd1-42ac-88e4-b09e0cc55a63;alias;received=37.29.170.95#015#012From:
sip:+34639446862 at 146.185.142.19
;tag=d48d0318-ea78-44ed-90b7-0634b2ee4f40#015#
012To: sip:+3412345678910 at 146.185.142.19#015#012Call-ID:
167f1514-e91c-42c7-8767-afc78c31abda#015#012CSeq: 21647
INVITE#015#012Server: kamailio (4.3.4
(x86_64/linux))#015#012Content-Length: 0
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
100 trying -
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: tm
[t_reply.c:657]: _reply_light(): DEBUG: _reply_light: finished
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
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <script>:
new branch [0] to sip:+3412345678910 at 88.15.197.56:55288;transport=TCP;ob
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
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
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
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
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
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: siputils
[checks.c:97]: has_totag(): no totag
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
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
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
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
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
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
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)
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core>
[tcp_main.c:2221]: tcpconn_send_put(): c=0x7fa00bf40488, n=16
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
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core>
[tcp_main.c:2430]: tcpconn_do_send(): sending...
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
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core>
[tcp_main.c:2465]: tcpconn_do_send(): buf=#012INVITE
sip:+3412345678910 at 88.15.197.56:55288;transport=TCP;ob SIP/2.0#015#012Rec
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 37.29.170.95:3333
5;received=37.29.170.95;rport=33335;branch=z9hG4bKPjd8e1dc7c-4dd1-42ac-88e4-b09e0cc55a63;alias#015#012Max-Forwards:
69#015#012From: sip:+34639446862 at 146.185.142.19
;tag=d48d0318-ea78-44ed-90b7-0634b
2ee4f40#015#012To: sip:+3412345678910 at 146.185.142.19#015#012Contact:
<sip:+34639446862 at 37.29.170.95:33335;transport=TCP;ob>#015#012Call-ID:
167f1514-e91c-42c7-8767-afc78c31abda#015#012CSeq: 21647 I
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#
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
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:
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
tpmap:8 PCMA/8000#015#012a=rtpmap:9 G722/8000#015#012a=rtpmap:96
telephone-event/8000#015#012a=fmtp:96 0-16
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
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
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core>
[usr_avp.c:631]: destroy_avp_list(): destroying list (nil)
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)]
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core>
[xavp.c:446]: xavp_destroy_list(): destroying xavp list (nil)
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3099]: DEBUG: <core>
[receive.c:278]: receive_msg(): cleaning up
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
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
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
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:146.185.142.19:9773], 0x7fa00bf40488
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
Feb 15 14:22:54 kamailio-alone /usr/sbin/kamailio[3100]: DEBUG: <core>
[tcp_read.c:1339]: tcp_read_req(): content-length=0
( ... )
Thanks!
2018-02-15 15:02 GMT+01:00 Daniel-Constantin Mierla <miconda at gmail.com>:
> Hello,
>
> first, what is the version of kamailio?
>
> 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.
>
> Cheers,
> Daniel
>
> On 15.02.18 12:08, Pau Giralt wrote:
>
> Hi!
>
> I'm working with kamailio and rtpproxy.
> 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.
>
> The code is never passing the point pasted below, inside route[NATMANAGE]
> in kamailio.cfg
>
> if (!(isflagset(FLT_NATS) || isbflagset(FLB_NATB))) return;
>
> Therefore, rtpproxy_manage("co"); is never reached.
>
> Could it be a parsing problem? ( check_route_param("nat=yes") )
>
> The config file is exactly the same as the one provided in the kamailio
> repository (the default one)
>
> Thanks!
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing Listsr-users at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com
> Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180215/4077979e/attachment.html>
More information about the sr-users
mailing list