Hello,
I want to store the siptrace dialog in the database,but it gives an error. Is the configuration method incorrect?
Kamailio version:
```
version: kamailio 5.8.5 (x86_64/linux)
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, MEM_JOIN_FREE, 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_BLOCKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_SEND_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id:
compiled on 11:51:23 Mar 31 2025 with gcc 4.8.5
```
here is the log:
#######
8(3550) DEBUG: <core> [core/udp_server.c:731]: udp_rcv_loop(): probing packet received from 172.16.80.3 7935
2(3539) DEBUG: <core> [core/udp_server.c:708]: udp_rcv_loop(): received on udp socket: (106/100/956) [[INVITE sip:1002@172.16.4.113:5460 SIP/2.0 0D 0A Via: SIP/2.0/UDP 172.16.80.3:8798;branch=z9hG4bK-d87543-4]]
2(3539) DEBUG: <core> [core/receive.c:190]: ksr_evrt_received(): event route core:msg-received not defined
2(3539) DEBUG: <core> [core/parser/parse_fline.c:249]: parse_first_line(): first line type 1 (request) flags 1
2(3539) DEBUG: <core> [core/parser/msg_parser.c:722]: parse_msg(): SIP Request:
2(3539) DEBUG: <core> [core/parser/msg_parser.c:724]: parse_msg(): method: <INVITE>
2(3539) DEBUG: <core> [core/parser/msg_parser.c:726]: parse_msg(): uri: <sip:1002@172.16.4.113:5460>
2(3539) DEBUG: <core> [core/parser/msg_parser.c:728]: parse_msg(): version: <SIP/2.0>
2(3539) DEBUG: <core> [core/parser/parse_hname2.c:316]: parse_sip_header_name(): parsed header name [Via] type 1
2(3539) DEBUG: <core> [core/parser/parse_via.c:1312]: parse_via_param(): Found param type 232, <branch> = <z9hG4bK-d87543-4f7e02083f709d16-1--d87543->; state=6
2(3539) DEBUG: <core> [core/parser/parse_via.c:1312]: parse_via_param(): Found param type 235, <rport> = <n/a>; state=17
2(3539) DEBUG: <core> [core/parser/parse_via.c:2663]: parse_via(): end of header reached, state=5
2(3539) DEBUG: <core> [core/parser/msg_parser.c:592]: parse_headers(): Via found, flags=2
2(3539) DEBUG: <core> [core/parser/msg_parser.c:594]: parse_headers(): this is the first via
2(3539) DEBUG: <core> [core/parser/parse_hname2.c:316]: parse_sip_header_name(): parsed header name [Max-Forwards] type 8
2(3539) DEBUG: <core> [core/parser/parse_hname2.c:316]: parse_sip_header_name(): parsed header name [Contact] type 7
2(3539) DEBUG: <core> [core/parser/parse_hname2.c:316]: parse_sip_header_name(): parsed header name [To] type 3
2(3539) DEBUG: <core> [core/parser/parse_addr_spec.c:904]: parse_addr_spec(): end of header reached, state=10
2(3539) DEBUG: <core> [core/parser/msg_parser.c:173]: get_hdr_field(): <To> [36]; uri=[sip:1002@172.16.4.113:5460]
2(3539) DEBUG: <core> [core/parser/msg_parser.c:176]: get_hdr_field(): to body (36)["1002"<sip:1002@172.16.4.113:5460>
], to tag (0)[]
2(3539) DEBUG: <core> [core/parser/parse_hname2.c:316]: parse_sip_header_name(): parsed header name [From] type 4
2(3539) DEBUG: <core> [core/parser/parse_hname2.c:316]: parse_sip_header_name(): parsed header name [Call-ID] type 6
2(3539) DEBUG: <core> [core/parser/parse_hname2.c:316]: parse_sip_header_name(): parsed header name [CSeq] type 5
2(3539) DEBUG: <core> [core/parser/msg_parser.c:154]: get_hdr_field(): cseq <CSeq>: <1> <INVITE>
2(3539) DEBUG: <core> [core/receive.c:397]: receive_msg(): --- received sip message - request - call-id: [NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.] - cseq: [1 INVITE]
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| <core> [core/receive.c:263]: ksr_evrt_pre_routing(): event route core:pre-routing not defined
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| <core> [core/receive.c:474]: receive_msg(): preparing to run routing scripts...
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=596 a=26 n=xlog
2(3539) INFO: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| <script>: 172.16.80.3:8798|172.16.4.113:5460|udp|INVITE
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=605 a=5 n=route
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[REQINIT] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=707 a=67 n=set_rpl_no_connect
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[REQINIT] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=710 a=55 n=force_rport
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[REQINIT] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=735 a=16 n=if
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| <core> [core/parser/parse_hname2.c:316]: parse_sip_header_name(): parsed header name [Allow] type 21
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| <core> [core/parser/parse_hname2.c:316]: parse_sip_header_name(): parsed header name [Content-Type] type 11
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| <core> [core/parser/parse_hname2.c:316]: parse_sip_header_name(): parsed header name [User-Agent] type 28
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[REQINIT] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=740 a=16 n=if
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[REQINIT] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=735 a=25 n=mf_process_maxfwd_header
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| maxfwd [mf_funcs.c:74]: is_maxfwd_present(): value = 70
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[REQINIT] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=745 a=16 n=if
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[REQINIT] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=740 a=25 n=is_method
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[REQINIT] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=749 a=16 n=if
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[REQINIT] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=745 a=26 n=sanity_check
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:254]: check_ruri_sip_version(): check_ruri_sip_version entered
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:278]: check_ruri_sip_version(): check_ruri_sip_version passed
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:286]: check_ruri_scheme(): check_ruri_scheme entered
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:305]: check_ruri_scheme(): check_ruri_scheme passed
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:327]: check_required_headers(): check_required_headers entered
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| <core> [core/parser/parse_hname2.c:316]: parse_sip_header_name(): parsed header name [Content-Length] type 12
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| <core> [core/parser/msg_parser.c:187]: get_hdr_field(): content_length=417
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| <core> [core/parser/msg_parser.c:91]: get_hdr_field(): found end of header
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:350]: check_required_headers(): check_required_headers passed
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:358]: check_via1_header(): check via1 header
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:519]: check_cseq_method(): check_cseq_method entered
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:553]: check_cseq_method(): check_cseq_method passed
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:563]: check_cseq_value(): check_cseq_value entered
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:591]: check_cseq_value(): check_cseq_value passed
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:601]: check_cl(): check_cl entered
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:626]: check_cl(): check_cl passed
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:643]: check_expires_value(): check_expires_value entered
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:679]: check_expires_value(): no expires header found
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:776]: check_parse_uris(): check_parse_uris entered
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:780]: check_parse_uris(): parsing ruri
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:793]: check_parse_uris(): looking up From header
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| <core> [core/parser/parse_addr_spec.c:185]: parse_to_param(): add param: tag=122cd223
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| <core> [core/parser/parse_addr_spec.c:904]: parse_addr_spec(): end of header reached, state=29
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:808]: check_parse_uris(): looking up To header
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity.c:858]: check_parse_uris(): check_parse_uris passed
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| sanity [sanity_mod.c:252]: w_sanity_check(): sanity checks result: 1
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=608 a=5 n=route
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[NATDETECT] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=962 a=16 n=if
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[NATDETECT] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=950 a=25 n=nat_uac_test
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[NATDETECT] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=962 a=2 n=return
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=615 a=16 n=if
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=623 a=16 n=if
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=615 a=25 n=is_method
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=632 a=16 n=if
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=623 a=25 n=is_method
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=628 a=16 n=if
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=624 a=24 n=t_precheck_trans
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=628 a=24 n=t_check_trans
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| tm [t_lookup.c:1578]: t_check_msg(): msg (0x7ff0858855f0) id=1/3539 global id=0/0 T start=0xffffffffffffffff
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| tm [t_lookup.c:793]: t_lookup_request(): start searching: hash=30439, isACK=0
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| tm [t_lookup.c:512]: matching_3261(): RFC3261 transaction matching failed - via branch [z9hG4bK-d87543-4f7e02083f709d16-1--d87543-]
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| tm [t_lookup.c:993]: t_lookup_request(): no transaction found
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| tm [t_lookup.c:1650]: t_check_msg(): msg (0x7ff0858855f0) id=1/3539 global id=1/3539 T end=(nil)
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=632 a=5 n=route
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[WITHINDLG] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=757 a=16 n=if
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[WITHINDLG] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=753 a=24 n=has_totag
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| siputils [checks.c:122]: has_totag(): no totag
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[WITHINDLG] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=753 a=2 n=return
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=637 a=5 n=route
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[AUTH] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=944 a=16 n=if
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| <core> [core/socket_info.c:742]: grep_sock_info(): checking if host==us: 12==12 && [172.16.4.113] == [172.16.4.113]
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| <core> [core/socket_info.c:745]: grep_sock_info(): checking if port 5460 (advertise 0) matches port 5460
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| <core> [core/forward.c:446]: check_self(): host (0:172.16.4.113:5460) == me
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[AUTH] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=944 a=2 n=return
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=641 a=25 n=remove_hf
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=647 a=16 n=if
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=642 a=25 n=is_method
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=644 a=24 n=record_route
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| rr [record.c:490]: record_route(): inserted record route (r2: 1 - plen: 0)
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=645 a=24 n=dlg_manage
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| dialog [dlg_hash.c:907]: internal_get_dlg(): no dialog callid='NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.' found
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| dialog [dlg_hash.c:975]: dlg_search(): dialog with callid='NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.' not found
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| dialog [dlg_hash.c:478]: build_new_dlg(): new dialog on hash 1712
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| dialog [dlg_handlers.c:275]: populate_leg_info(): leg(0) route_set [], contact [sip:1003@172.16.80.3:8798], cseq [1] and bind_addr [udp:172.16.4.113:5460]
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| dialog [dlg_hash.c:1040]: link_dlg(): linking dialog [1712:1302]
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| dialog [dlg_hash.c:1049]: link_dlg(): ref dlg 0x7ff07ff56f10 with 1 -> 1
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| dialog [dlg_handlers.c:698]: get_dlg_timeout(): using default timeout
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| dialog [dlg_cb.c:227]: run_create_callbacks(): dialog=0x7ff07ff56f10
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| siptrace [siptrace.c:2128]: trace_dialog(): Spiraled dialog!
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| siptrace [siptrace.c:2150]: trace_dialog(): trace_info xavp not registered! Probably incoming E2E CANCEL!
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| dialog [dlg_profile.c:541]: set_current_dialog(): setting current dialog [1712:1302]
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| dialog [dlg_hash.c:780]: dlg_lookup_mode(): ref dlg 0x7ff07ff56f10 with 1 -> 2
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| dialog [dlg_hash.c:784]: dlg_lookup_mode(): dialog id=1302 found on entry 1712
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| dialog [dlg_handlers.c:1927]: dlg_manage(): dialog created before transaction
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| dialog [dlg_hash.c:1088]: dlg_unref_helper(): unref op on 0x7ff07ff56f10 with 1 from dlg_hash.c:1106
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| dialog [dlg_hash.c:1092]: dlg_unref_helper(): unref dlg 0x7ff07ff56f10 with 1 -> 1
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=658 a=16 n=if
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=647 a=25 n=is_method
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=648 a=25 n=sip_trace_mode
2(3539) BUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| siptrace [siptrace.c:1917]: trace_add_info_xavp(): URI should be in raw format here
2(3539) ERROR: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| siptrace [siptrace.c:1028]: sip_trace_helper(): failed to serialize siptrace info! Won't trace dialog!
2(3539) exec: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| *** cfgtrace:dbg_cfg_trace(): request_route=[DEFAULT_ROUTE] c=[/usr/local/bin/../etc/kamailio/conf/kamailio.cfg] l=649 a=24 n=sip_trace
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| siptrace [siptrace.c:618]: sip_trace_insert_db(): storing info - no user
2(3539) DEBUG: |25-04-01 17:09:51|NWM3ODYyYWFhMDllZWYzMmI0NTMxYjZmMmI0M2Y1NjY.| <core> [db_query.c:72]: db_do_submit_query(): submitted query: insert into
######
here is my kamailio.cfg:
```
loadmodule "siptrace.so"
modparam("siptrace", "db_url", DBURL)
modparam("siptrace", "traced_user_avp", "$avp(user)")
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "trace_init_mode", 0)
...
route(AUTH);
# record routing for dialog forming requests (in case they are routed)
# - remove preloaded route headers
remove_hf("Route");
if (is_method("INVITE|SUBSCRIBE|REFER")) {
record_route();
dlg_manage();
}
if (is_method("INVITE")) {
sip_trace_mode("d");
sip_trace();
}
```