### Description
Goal: Build a destination set from multiple contacts gathered from multiple registered AoR.
Situation: assumptions, observations:
* lookup() returns success there are registered contacts for each AoR. * All contacts have same q value. * lookup() can only be called for one AoR, there is no way to call it for multiple AoR. * If lookup() is called multiple times, only the destination set gathered by the last invocation is preserved, all other ones are overwritten. * t_load_contacts() transfers the destination set into the $xavp(tm_contacts) but like lookup() initializes that
So I am trying to find a way to store/collate all destination sets into one and parallel fork a call to all contacts from multiple AoR.
Idea: Stack all contacts in $xavp(contact_stack) with the same structure as $xavp(tm_contacts) and append it to tm_contacts.
xavp_rm("contact_stack"); # Make sure this is not defined. We are in a loop setting $var(lookupuri) to (sip:315996608@3cx-pbx.imp.ch and sip:315996608-1@157.161.4.181) {
lookup("location", "$var(lookupuri)"); t_load_contacts(0); # Now $xavp(tm_contacts) is populated $xavp(contact_stack) = $xavp(tm_contacts); # Store contact set
} xavp_rm("tm_contacts"); # Re Initialize tm_contacts to empty $xavp(tm_contacts) = $xavp(contact_stack); # Restore tm_contacts from stacked set.
xlog("L_INFO", "$cfg(route): COUNT: $cnt($xavp(tm_contacts))\n"); # Make sure, the count matches what we expect. xlog("L_INFO", "$cfg(route): Before t_next_contacts\n"); t_next_contacts(); # Load destination set => CRASH! xlog("L_INFO", "$cfg(route): After t_next_contacts\n");
Log (some more infos logged I omitted in the example above)
``` Dec 10 16:18:05 dev-cpereg01 kamailio[3964710]: INFO: [1 0618269314 128182546-3942836285-478214563@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: Auth_aor_user[0] = 315996608 Dec 10 16:18:05 dev-cpereg01 kamailio[3964710]: INFO: [1 0618269314 128182546-3942836285-478214563@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: Sigprofile[0] = local Dec 10 16:18:05 dev-cpereg01 kamailio[3964710]: INFO: [1 0618269314 128182546-3942836285-478214563@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: Lookupuri[0] = sip:315996608@3cx-pbx.imp.ch Dec 10 16:18:05 dev-cpereg01 kamailio[3964710]: INFO: [1 0618269314 128182546-3942836285-478214563@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: LOOKUP sip:315996608@3cx-pbx.imp.ch SUCCESS!!!! Dec 10 16:18:05 dev-cpereg01 kamailio[3964710]: INFO: [1 0618269314 128182546-3942836285-478214563@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: Auth_aor_user[1] = 315996608-1 Dec 10 16:18:05 dev-cpereg01 kamailio[3964710]: INFO: [1 0618269314 128182546-3942836285-478214563@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: Sigprofile[1] = local Dec 10 16:18:05 dev-cpereg01 kamailio[3964710]: INFO: [1 0618269314 128182546-3942836285-478214563@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: Lookupuri[1] = sip:315996608-1@157.161.4.181 Dec 10 16:18:05 dev-cpereg01 kamailio[3964710]: INFO: [1 0618269314 128182546-3942836285-478214563@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: LOOKUP sip:315996608-1@157.161.4.181 SUCCESS!!!! Dec 10 16:18:05 dev-cpereg01 kamailio[3964710]: INFO: [1 0618269314 128182546-3942836285-478214563@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: ADD to tm_contacts Dec 10 16:18:05 dev-cpereg01 kamailio[3964710]: INFO: [1 0618269314 128182546-3942836285-478214563@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: COUNT: 4 Dec 10 16:18:05 dev-cpereg01 kamailio[3964710]: INFO: [1 0618269314 128182546-3942836285-478214563@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: Before t_next_contacts Dec 10 16:18:05 dev-cpereg01 kernel: [13747450.274883] traps: kamailio[3964710] general protection fault ip:55bc00e61f2b sp:7ffce62d7520 error:0 in kamailio[55bc00ba5000+457000] ```
#### Reproduction
Code above with: version: kamailio 5.7.6 (x86_64/linux) from official kamailio repository on ubuntu jammy.
#### Debugging Data
If required, I can try to enable coredumps.
#### Log Messages
Shown above
#### SIP Traffic
Probably not needed.
### Possible Solutions
None yet.
Thanks for the report. It would be indeed helpful to get at coredump backtraces, after you've installed also the kamailio debug package.
Ok, here we go with debug info:
``` # kamailio -v version: kamailio 5.7.6 (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_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: unknown compiled with gcc 11.4.0 ```
``` Dec 12 07:56:00 dev-cpereg01 kamailio[4133351]: INFO: [1 0618269314 130730064-3942978960-282784630@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: Auth_aor_user[0] = 315996608 Dec 12 07:56:00 dev-cpereg01 kamailio[4133351]: INFO: [1 0618269314 130730064-3942978960-282784630@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: Sigprofile[0] = local Dec 12 07:56:00 dev-cpereg01 kamailio[4133351]: INFO: [1 0618269314 130730064-3942978960-282784630@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: Lookupuri[0] = sip:315996608@3cx-pbx.imp.ch Dec 12 07:56:00 dev-cpereg01 kamailio[4133351]: INFO: [1 0618269314 130730064-3942978960-282784630@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: LOOKUP sip:315996608@3cx-pbx.imp.ch SUCCESS!!!! Dec 12 07:56:00 dev-cpereg01 kamailio[4133351]: INFO: [1 0618269314 130730064-3942978960-282784630@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: Auth_aor_user[1] = 315996608-1 Dec 12 07:56:00 dev-cpereg01 kamailio[4133351]: INFO: [1 0618269314 130730064-3942978960-282784630@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: Sigprofile[1] = local Dec 12 07:56:00 dev-cpereg01 kamailio[4133351]: INFO: [1 0618269314 130730064-3942978960-282784630@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: Lookupuri[1] = sip:315996608-1@172.29.255.4 Dec 12 07:56:00 dev-cpereg01 kamailio[4133351]: INFO: [1 0618269314 130730064-3942978960-282784630@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: LOOKUP sip:315996608-1@172.29.255.4 SUCCESS!!!! Dec 12 07:56:00 dev-cpereg01 kamailio[4133351]: INFO: [1 0618269314 130730064-3942978960-282784630@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: ADD to tm_contacts Dec 12 07:56:00 dev-cpereg01 kamailio[4133351]: INFO: [1 0618269314 130730064-3942978960-282784630@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: COUNT: 3 Dec 12 07:56:00 dev-cpereg01 kamailio[4133351]: INFO: [1 0618269314 130730064-3942978960-282784630@prt-cbl-sbc1.imp.ch 2 INVITE]<script>: LOCATION: Before t_next_contacts Dec 12 07:56:00 dev-cpereg01 kernel: [13890122.160961] traps: kamailio[4133351] general protection fault ip:562bfa661f2b sp:7ffc9cd0ef10 error:0 in kamailio[562bfa3a5000+457000] ```
``` Reading symbols from /usr/sbin/kamailio... Reading symbols from /usr/lib/debug/.build-id/dc/16ff423bdbb69318c54d6527bebbc00f57d9b1.debug...
warning: Can't open file /dev/zero (deleted) during file-backed mapping note processing [New LWP 4133351] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.cfg'. Program terminated with signal SIGSEGV, Segmentation fault. #0 xavp_get_internal (name=<optimized out>, list=<optimized out>, idx=idx@entry=0, prv=prv@entry=0x0) at core/xavp.c:329 329 core/xavp.c: No such file or directory. (gdb) bt full #0 xavp_get_internal (name=<optimized out>, list=<optimized out>, idx=idx@entry=0, prv=prv@entry=0x0) at core/xavp.c:329 avp = 0xabcdefed00000000 id = 8122237 n = 0 #1 0x0000562bfa662025 in xavp_get (name=<optimized out>, start=<optimized out>) at core/xavp.c:344 No locals. #2 0x00007f7c59d2437f in ki_t_next_contacts (msg=0x7f7cdb5e61b8) at /build/kamailio-5.7.6+ubuntu22.04/src/modules/tm/t_serial.c:649 uri = {s = 0x562bfa7fc004 "core", len = -93825791} dst_uri = {s = 0x562bfa843d61 "core: core/xavp.c", len = -90987488} path = {s = 0x2 <error: Cannot access memory at address 0x2>, len = 1523695616} instance = {s = 0x8000000 <error: Cannot access memory at address 0x8000000>, len = 96} host = {s = 0x0, len = -1962807040} sock_str = {s = 0x0, len = 0} ruid = {s = 0x0, len = 0} location_ua = {s = 0x7f7c59c1f91f <_pv_xavp_buf.0+127> "", len = 0} sock = <optimized out> flags = <optimized out> q_flag = <optimized out> xavp_list = 0x7f7c6062be78 xavp = 0x7f7c6062be78 prev_xavp = <optimized out> vavp = <optimized out> port = 32636 proto = 1505884320 il = <optimized out> ilp = <optimized out> __func__ = "ki_t_next_contacts" #3 0x0000562bfa3c06d9 in do_action (h=0x7ffc9cd0fa10, a=0x7f7cdb7fb400, msg=<optimized out>) at core/action.c:1127 ret = -5 li = 94746886258692 v = 94746886556616 dst = {send_sock = 0x7ffc9cd0f7e0, to = {s = {sa_family = 61696, sa_data = "\001\213]\277ed\360\367М\374\177\000"}, sin = {sin_family = 61696, sin_port = 35585, sin_addr = {s_addr = 1684389725}, sin_zero = "\360\367М\374\177\000"}, sin6 = {sin6_family = 61696, sin6_port = 35585, sin6_flowinfo = 1684389725, sin6_addr = {__in6_u = {__u6_addr8 = "\360\367М\374\177\000\000\370l\177\333|\177\000", __u6_addr16 = { 63472, 40144, 32764, 0, 27896, 56191, 32636, 0}, __u6_addr32 = {2630940656, 32764, 3682561272, 32636}}}, sin6_scope_id = 2630952144}, sas = {ss_family = 61696, __ss_padding = "\001\213]\277ed\360\367М\374\177\000\000\370l\177\333|\177\000\000\320$ќ\374\177\000\000\257@\203\372+V\000\000\330.\200\372+V\000\000\b1\223\372+V\000\000\000\000\000\000\000\000\000\000#\000<\372+V\000\000\004\300\177\372+V\000\000\350.\200\372+V\000\000\270a^\333|\177\000\000袂\372+V", '\000' <repeats 11 times>, "\361\001\213]\277ed", __ss_align = 0}}, id = -1962807040, send_flags = {f = 48989, blst_imask = 25701}, proto = 0 '\000', proto_pad0 = 2 '\002', proto_pad1 = 0} tmp = <optimized out> new_uri = <optimized out> end = <optimized out> crt = <optimized out> cmd = <optimized out> len = <optimized out> user = <optimized out> uri = {user = {s = 0x0, len = 8}, passwd = {s = 0x0, len = 0}, host = {s = 0x562b0000000a <error: Cannot access memory at address 0x562b0000000a>, len = -481865391}, port = {s = 0x1 <error: Cannot access memory at address 0x1>, len = 1}, params = {s = 0xffffffffffffffff <error: Cannot access memory at address 0xffffffffffffffff>, len = -483226004}, sip_params = {s = 0x7f7cdbc05410 "LOCATION: Before t_next_contacts\n", len = 0}, headers = {s = 0x0, len = 1504174961}, port_no = 42544, proto = 64429, type = 22059, flags = (URI_SIP_USER_PHONE | unknown: 0x58), transport = {s = 0x7f7ce34b2240 <_IO_mem_jumps> "", len = 33}, ttl = { --Type <RET> for more, q to quit, c to continue without paging--c s = 0x7f7cdbc05410 "LOCATION: Before t_next_contacts\n", len = -483323958}, user_param = {s = 0x0, len = 1504174944}, maddr = {s = 0x3000000000 <error: Cannot access memory at address 0x3000000000>, len = -1664025536}, method = {s = 0x7ffc9cd0fb60 "0", len = 0}, lr = {s = 0xd68 <error: Cannot access memory at address 0xd68>, len = 32}, r2 = {s = 0x7ffc00000000 <error: Cannot access memory at address 0x7ffc00000000>, len = -1664026240}, gr = {s = 0x0, len = 0}, transport_val = {s = 0x562bfb9f5ad0 "\300\210\234\373+V", len = 1504174944}, ttl_val = {s = 0x7f7c59a7e371 "s", len = 6}, user_param_val = {s = 0xffffffffffffffff <error: Cannot access memory at address 0xffffffffffffffff>, len = 1496328088}, maddr_val = {s = 0x7f7c0000000b <error: Cannot access memory at address 0x7f7c0000000b>, len = 0}, method_val = {s = 0x7f7c00000000 <error: Cannot access memory at address 0x7f7c00000000>, len = 0}, lr_val = {s = 0x0, len = 1496199155}, r2_val = {s = 0x7f7c59300ac6 "registrar", len = 1496328088}, gr_val = {s = 0x0, len = 0}} next_hop = {user = {s = 0x562bfa7fc004 "core", len = -91993144}, passwd = {s = 0x7f7cdb7f7038 "\001", len = -612407184}, host = {s = 0x7f7cdb7f7038 "\001", len = -1962807040}, port = {s = 0x7f7cdb5e61b8 "\016", len = -618041328}, params = {s = 0x350 <error: Cannot access memory at address 0x350>, len = -615481128}, sip_params = {s = 0x562bfa829bfa "core: core/rvalue.c", len = -615480232}, headers = {s = 0x7f7cdb5080a0 "8\a", len = -93800729}, port_no = 49156, proto = 64127, type = 22059, flags = 0, transport = {s = 0x562b00000083 <error: Cannot access memory at address 0x562b00000083>, len = -612408288}, ttl = {s = 0x3b8 <error: Cannot access memory at address 0x3b8>, len = -91975632}, user_param = {s = 0x562bfa829bfa "core: core/rvalue.c", len = -92089856}, maddr = {s = 0x7f7cdb5080d8 "\001", len = -92291068}, method = {s = 0x562bfa82d200 <__func__.27> "rval_destroy_helper", len = 0}, lr = {s = 0x1 <error: Cannot access memory at address 0x1>, len = -94912334}, r2 = {s = 0x562bfa7fc004 "core", len = -92089856}, gr = {s = 0x0, len = 0}, transport_val = {s = 0x2 <error: Cannot access memory at address 0x2>, len = -481615296}, ttl_val = {s = 0x562bfbada630 "Jt\026\231.V", len = 8}, user_param_val = {s = 0x7f7ce3475154 "", len = 1}, maddr_val = {s = 0x7f7ce3475153 "]", len = -483323958}, method_val = {s = 0x7f7cdb7f3e18 "", len = -481865392}, lr_val = {s = 0x3000000000 <error: Cannot access memory at address 0x3000000000>, len = -1664026048}, r2_val = {s = 0x7ffc9cd0f960 "\030", len = 0}, gr_val = {s = 0xd68 <error: Cannot access memory at address 0xd68>, len = 9147936}} u = <optimized out> port = <optimized out> dst_host = <optimized out> i = <optimized out> flags = <optimized out> avp = <optimized out> st = {flags = 4202676228, id = 22059, name = {n = 94746886556616, s = {s = 0x562bfa844bc8 <__func__.25> "xavp_new_value", len = -612405192}, re = 0x562bfa844bc8 <__func__.25>}, avp = 0x7f7cdb7f6870} sct = <optimized out> sjt = <optimized out> rve = <optimized out> mct = <optimized out> rv = 0x562bfa843d61 rv1 = <optimized out> c1 = {cache_type = RV_CACHE_EMPTY, val_type = RV_NONE, c = {avp_val = {n = 94746906043952, s = {s = 0x562bfbada630 "Jt\026\231.V", len = -615452576}, re = 0x562bfbada630}, pval = {rs = {s = 0x562bfbada630 "Jt\026\231.V", len = -615452576}, ri = 510, flags = 0}}, i2s = "\020\000\000\000\060\000\000\000@\374М\374\177\000\000\200\373М\374\177"} s = {s = 0x562bfa7fc004 "core", len = -93780959} srevp = {0x7f7cdbae2360, 0x1c} evp = {data = 0x0, obuf = {s = 0x0, len = 0}, rcv = 0x0, dst = 0x0, req = 0x0, rpl = 0x0, rplcode = 0, mode = 0} skip = <optimized out> __func__ = "do_action" mod_f_params = {{type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NUMBER_ST, u = {number = 2, string = 0x2 <error: Cannot access memory at address 0x2>, str = {s = 0x2 <error: Cannot access memory at address 0x2>, len = 0}, data = 0x2, attr = 0x2, select = 0x2}}, {type = RVE_FREE_FIXUP_ST, u = {number = 0, string = 0x0, str = {s = 0x0, len = 5}, data = 0x0, attr = 0x0, select = 0x0}}, {type = MODFIXUP_ST, u = {number = 140174232786880, string = 0x7f7cdb5a17c0 "P\027Z\333|\177", str = {s = 0x7f7cdb5a17c0 "P\027Z\333|\177", len = 4}, data = 0x7f7cdb5a17c0, attr = 0x7f7cdb5a17c0, select = 0x7f7cdb5a17c0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}} #4 0x0000562bfa3d71e5 in run_actions (h=0x7ffc9cd0fa10, a=0x7f7cdb7fb400, msg=0x7f7cdb5e61b8) at core/action.c:1618 t = 0x7f7cdb7fb400 ret = <optimized out> tvb = {tv_sec = 0, tv_usec = 0} tve = {tv_sec = 0, tv_usec = 0} tz = {tz_minuteswest = -481612320, tz_dsttime = 32636} tdiff = <optimized out> end = <optimized out> __func__ = "run_actions" #5 0x0000562bfa570bdb in run_actions_safe (msg=<optimized out>, a=<optimized out>, h=0x7ffc9cd124d0) at core/action.c:1677 ctx = {rec_lev = 1, run_flags = 0, last_retcode = 0, jmp_env = {{__jmpbuf = {1, 5879228209816687345, 0, 140722939438288, 94746886258692, 1, 5879228210020111089, 160435459554693873}, __mask_was_saved = 0, __saved_mask = {__val = {163, 1733990160, 85101640, 240518168576, 51539607559, 532575944715, 1486058684420, 140170552672256, 0, 94746904904144, 140722939427760, 94746886410448, 94746883171796, 140172169756224, 7234398784925593856, 94746886258692}}}}} ret = <optimized out> ign_on_break = <optimized out> ctx = <optimized out> ret = <optimized out> ign_on_break = <optimized out> #6 rval_get_long (h=h@entry=0x7ffc9cd124d0, msg=msg@entry=0x7f7cdb5e61b8, i=i@entry=0x7ffc9cd0fcf0, rv=rv@entry=0x7f7cdb7fbc40, cache=cache@entry=0x0) at core/rvalue.c:973 r_avp = <optimized out> avp_val = {n = 8, s = {s = 0x8 <error: Cannot access memory at address 0x8>, len = -1962807040}, re = 0x8} pval = {rs = {s = 0x1fbb45130 <error: Cannot access memory at address 0x1fbb45130>, len = -128}, ri = 11, flags = -1962807040} tmp = {s = 0x2010 <error: Cannot access memory at address 0x2010>, len = -483129079} s = 0x0 r = <optimized out> ret = 0 destroy_pval = 0 __func__ = "rval_get_long" #7 0x0000562bfa574b36 in rval_expr_eval_long (h=0x7ffc9cd124d0, msg=0x7f7cdb5e61b8, res=0x7ffc9cd0fcf0, rve=<optimized out>) at core/rvalue.c:1854 i1 = 94746886258692 i2 = 94746886367152 ret = -1 c1 = {cache_type = 3682575056, val_type = 32636, c = {avp_val = {n = 7234398784925593856, s = {s = 0x6465bf5d8b01f100 <error: Cannot access memory at address 0x6465bf5d8b01f100>, len = -92291068}, re = 0x6465bf5d8b01f100}, pval = {rs = {s = 0x6465bf5d8b01f100 <error: Cannot access memory at address 0x6465bf5d8b01f100>, len = -92291068}, ri = 4294967295, flags = -612396088}}, i2s = "Ƴ\247Y|\177\000\000\244\343\247Y|\177\000\000\244\343\247Y|\177"} c2 = {cache_type = 4202676228, val_type = 22059, c = {avp_val = {n = 7234398784925593856, s = {s = 0x6465bf5d8b01f100 <error: Cannot access memory at address 0x6465bf5d8b01f100>, len = 81}, re = 0x6465bf5d8b01f100}, pval = {rs = {s = 0x6465bf5d8b01f100 <error: Cannot access memory at address 0x6465bf5d8b01f100>, len = 81}, ri = 140174235247312, flags = -612392232}}, i2s = "0\234\177\333|\177\000\000\270a^\333|\177\000\000\320$ќ\374\177"} rv1 = 0x6465bf5d8b01f100 rv2 = 0x7ffc9cd0fb80 __func__ = "rval_expr_eval_long" #8 0x0000562bfa5745d1 in rval_expr_eval_long (h=0x7ffc9cd124d0, msg=0x7f7cdb5e61b8, res=0x7ffc9cd0fe98, rve=<optimized out>) at core/rvalue.c:1864 i1 = 94746886552929 i2 = 94746886258692 ret = -1 c1 = {cache_type = RV_CACHE_INT2STR, val_type = RV_NONE, c = {avp_val = {n = 0, s = {s = 0x0, len = 0}, re = 0x0}, pval = {rs = {s = 0x0, len = 0}, ri = 0, flags = 134217728}}, i2s = "\270\215\177\333|\177\000\000\340\375М\374\177\000\000\257@\203\372+V"} c2 = {cache_type = 1617085760, val_type = 32636, c = {avp_val = {n = 3723916619, s = {s = 0xddf6754b <error: Cannot access memory at address 0xddf6754b>, len = 0}, re = 0xddf6754b}, pval = {rs = {s = 0xddf6754b <error: Cannot access memory at address 0xddf6754b>, len = 0}, ri = 94746884588114, flags = 0}}, i2s = "\270", '\000' <repeats 11 times>, "|\177\000\000\b\000\000\000\000"} rv1 = 0x7f7c6062c540 rv2 = 0x7f7c5ad1c000 __func__ = "rval_expr_eval_long" #9 0x0000562bfa3c07e7 in do_action (h=0x7ffc9cd124d0, a=0x7f7cdb7fce50, msg=<optimized out>) at core/action.c:1097 ret = -5 li = 134217728 v = 0 dst = {send_sock = 0x0, to = {s = {sa_family = 0, sa_data = '\000' <repeats 13 times>}, sin = {sin_family = 0, sin_port = 0, sin_addr = {s_addr = 0}, sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 0, sin6_port = 0, sin6_flowinfo = 0, sin6_addr = {__in6_u = {__u6_addr8 = "\000\000\000\000\000\000\000\000\265\340\335Y|\177\000", __u6_addr16 = {0, 0, 0, 0, 57525, 23005, 32636, 0}, __u6_addr32 = {0, 0, 1507713205, 32636}}}, sin6_scope_id = 134217728}, sas = {ss_family = 0, __ss_padding = '\000' <repeats 14 times>, "\265\340\335Y|\177\000\000\000\000\000\b\000\000\000\000\000nt\a\000\000\000\000\350\306o\000\000\000\000\000\000\222\213\000\000\000\000\000\020ģ\000\000\000\000\000\000\361\001\213]\277ed\247\001\000\000\000\000\000\000\340\215{\333|\177\000\000\000p\277Y|\177\000\000\300H~\333|\177\000\000\340ϿY|\177\000\000\000\000\000\000\000\000\000", __ss_align = 140174234979784}}, id = 1505277294, send_flags = {f = 32636, blst_imask = 0}, proto = 0 '\000', proto_pad0 = 112 'p', proto_pad1 = 22975} tmp = <optimized out> new_uri = <optimized out> end = <optimized out> crt = <optimized out> cmd = <optimized out> len = <optimized out> user = <optimized out> uri = {user = {s = 0x562bfa8429d0 "core: core/usr_avp.c", len = -1962807040}, passwd = {s = 0x562bfa7fc004 "core", len = -1664023592}, host = {s = 0x7ffc9cd103d0 "ȍ{\333|\177", len = -612527176}, port = {s = 0x562bfa8d0690 <__func__.24.lto_priv.2> "rval_get_btype", len = -92291068}, params = {s = 0x0, len = -92441687}, sip_params = {s = 0x1 <error: Cannot access memory at address 0x1>, len = -94958770}, headers = {s = 0x0, len = -92101960}, port_no = 4, proto = 0, type = ERROR_URI_T, flags = (unknown: 0xdb5248c0), transport = {s = 0x7f7c59c00595 "pv: pv_svar.c", len = 1505763800}, ttl = {s = 0xe <error: Cannot access memory at address 0xe>, len = -612611960}, user_param = {s = 0x7f7c00000001 <error: Cannot access memory at address 0x7f7c00000001>, len = -1962807040}, maddr = {s = 0x562bfa7fc004 "core", len = -1962807040}, method = {s = 0x0, len = -618041328}, lr = {s = 0x562bfa93a420 <dprint_crit> "", len = -615490464}, r2 = {s = 0x562bfa829bfa "core: core/rvalue.c", len = -92089856}, gr = {s = 0x7f7cdb505c28 "0", len = -93802930}, transport_val = {s = 0x562bfa7fc004 "core", len = -94948622}, ttl_val = {s = 0x562bfa931150 <core_cfg> "\330\323\022[|\177", len = 178}, user_param_val = {s = 0x562bfa7fc004 "core", len = -91975632}, maddr_val = {s = 0x562bfa829bfa "core: core/rvalue.c", len = -92089856}, method_val = {s = 0x7f7cdb505c60 "uloc-675869cc-3c801f-49414:5060;transport=udp", len = -92291068}, lr_val = {s = 0x562bfa82d200 <__func__.27> "rval_destroy_helper", len = -1664023360}, r2_val = {s = 0x7f7cdb7d9bd8 "\002", len = -94912334}, gr_val = {s = 0x562bfa7fc004 "core", len = -92089856}} next_hop = {user = {s = 0x8000000 <error: Cannot access memory at address 0x8000000>, len = 0}, passwd = {s = 0x7f7c59bf7000 "pv", len = 1505743016}, host = {s = 0x7f7c59bf7000 "pv", len = 1505743016}, port = {s = 0x0, len = 4}, params = {s = 0x1000000000000 <error: Cannot access memory at address 0x1000000000000>, len = 4}, sip_params = {s = 0x562bfa7fc004 "core", len = -92097368}, headers = {s = 0x7f7cdb7cd0c5 "cfd_tn)", len = 6}, port_no = 273, proto = 0, type = 36, flags = (URI_USER_NORMALIZE | unknown: 0xdb7cd0c4), transport = {s = 0x562b00000006 <error: Cannot access memory at address 0x562b00000006>, len = 1617078664}, ttl = {s = 0x562b00000009 <error: Cannot access memory at address 0x562b00000009>, len = 1617078824}, user_param = {s = 0x562b00000001 <error: Cannot access memory at address 0x562b00000001>, len = -92057152}, maddr = {s = 0x0, len = 0}, method = {s = 0x0, len = 0}, lr = {s = 0x562bfa803071 "corefunc", len = -1962807040}, r2 = {s = 0x7f7cdb7c462d "IMP-cfw)", len = -612527160}, gr = {s = 0x7f7cdb5e61b8 "\016", len = -1664023592}, transport_val = {s = 0x562bfa8210d0 <__func__.19> "pv_get_spec_value", len = -92291068}, ttl_val = {s = 0x0, len = -95377964}, user_param_val = {s = 0x7ffc9cd10170 "", len = -95377964}, maddr_val = {s = 0x562bfa7fc004 "core", len = -91958912}, method_val = {s = 0x0, len = -90196267}, lr_val = {s = 0x7 <error: Cannot access memory at address 0x7>, len = -1962807040}, r2_val = {s = 0x6fc0e8 <error: Cannot access memory at address 0x6fc0e8>, len = 72}, gr_val = {s = 0xb2 <error: Cannot access memory at address 0xb2>, len = 1523695616}} u = <optimized out> port = <optimized out> dst_host = <optimized out> i = <optimized out> flags = <optimized out> avp = <optimized out> st = {flags = 134217728, id = 0, name = {n = 140170552672256, s = {s = 0x7f7c00000000 <error: Cannot access memory at address 0x7f7c00000000>, len = 1505718272}, re = 0x7f7c00000000}, avp = 0x7f7c59bfd0a8 <__func__.61>} sct = <optimized out> sjt = <optimized out> rve = 0x7f7cdb7fc368 mct = <optimized out> rv = 0x7f7cdb505c60 rv1 = <optimized out> c1 = {cache_type = 4204770218, val_type = 22059, c = {avp_val = {n = 94746884487577, s = {s = 0x562bfa64b999 <create_avp+153> "L\215\rd\006\033", len = -92291068}, re = 0x562bfa64b999 <create_avp+153>}, pval = {rs = {s = 0x562bfa64b999 <create_avp+153> "L\215\rd\006\033", len = -92291068}, ri = 94746886552736, flags = 1505718272}}, i2s = "\227ķY|\177\000\000\000p\277Y|\177\000\000\240\300\277Y|\177"} s = {s = 0x7f7cdb508f90 "315996608-1", len = 5} srevp = {0x7f7cdb7b5d9d, 0x562bfa843ca0 <__func__.17>} evp = {data = 0x0, obuf = {s = 0x0, len = 0}, rcv = 0x0, dst = 0x0, req = 0x0, rpl = 0x0, rplcode = 0, mode = 0} skip = <optimized out> __func__ = "do_action" mod_f_params = {{type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NUMBER_ST, u = {number = 2, string = 0x2 <error: Cannot access memory at address 0x2>, str = {s = 0x2 <error: Cannot access memory at address 0x2>, len = 0}, data = 0x2, attr = 0x2, select = 0x2}}, {type = RVE_FREE_FIXUP_ST, u = {number = 0, string = 0x0, str = {s = 0x0, len = 5}, data = 0x0, attr = 0x0, select = 0x0}}, {type = MODFIXUP_ST, u = {number = 140174232786880, string = 0x7f7cdb5a17c0 "P\027Z\333|\177", str = {s = 0x7f7cdb5a17c0 "P\027Z\333|\177", len = 4}, data = 0x7f7cdb5a17c0, attr = 0x7f7cdb5a17c0, select = 0x7f7cdb5a17c0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}} #10 0x0000562bfa3d71e5 in run_actions (h=0x7ffc9cd124d0, a=0x7f7cdb7e5f70, msg=0x7f7cdb5e61b8) at core/action.c:1618 t = 0x7f7cdb7fce50 ret = <optimized out> tvb = {tv_sec = 0, tv_usec = 0} tve = {tv_sec = 0, tv_usec = 0} tz = {tz_minuteswest = -1962807040, tz_dsttime = 1684389725} tdiff = <optimized out> end = <optimized out> __func__ = "run_actions" #11 0x0000562bfa3c0330 in do_action (h=0x7ffc9cd124d0, a=<optimized out>, msg=<optimized out>) at core/action.c:709 ret = -5 li = 178 v = 1 dst = {send_sock = 0x562bfa7fc004, to = {s = {sa_family = 12008, sa_data = "\200\372+V\000\000\270a^\333|\177\000"}, sin = {sin_family = 12008, sin_port = 64128, sin_addr = {s_addr = 22059}, sin_zero = "\270a^\333|\177\000"}, sin6 = {sin6_family = 12008, sin6_port = 64128, sin6_flowinfo = 22059, sin6_addr = {__in6_u = {__u6_addr8 = "\270a^\333|\177\000\000\265\340\335Y|\177\000", __u6_addr16 = {25016, 56158, 32636, 0, 57525, 23005, 32636, 0}, __u6_addr32 = {3680395704, 32636, 1507713205, 32636}}}, sin6_scope_id = 134217728}, sas = {ss_family = 12008, __ss_padding = "\200\372+V\000\000\270a^\333|\177\000\000\265\340\335Y|\177\000\000\000\000\000\b\000\000\000\000hpt\a\000\000\000\000\001\000\304\023\000\000\000\000\230\217\213\000\000\000\000\000\020ģ\000\000\000\000\000\b\000\000\000\000\000\000\000ȹ\n[|\177\000\000\016", '\000' <repeats 15 times>, "\004\000\000\000\000\000\000\000\240\236\221\333|\177\000\000(\242\202\372+V\000", __ss_align = 140174236410856}}, id = 1505277294, send_flags = {f = 32636, blst_imask = 0}, proto = 0 '\000', proto_pad0 = 112 'p', proto_pad1 = 22975} tmp = <optimized out> new_uri = <optimized out> end = <optimized out> crt = <optimized out> cmd = <optimized out> len = <optimized out> user = <optimized out> uri = {user = {s = 0x6465bf5d00000007 <error: Cannot access memory at address 0x6465bf5d00000007>, len = 14}, passwd = {s = 0x7f7cdb35fed5 "dsattrs)", len = -91997024}, host = {s = 0x7f7c5b0ab9c8 "name="IC-core"", len = -94062183}, port = {s = 0x562bfa7fc004 "core", len = -91997024}, params = {s = 0x0, len = -92441687}, sip_params = {s = 0x1a8 <error: Cannot access memory at address 0x1a8>, len = -1962807040}, headers = {s = 0x8 <error: Cannot access memory at address 0x8>, len = -614571592}, port_no = 4800, proto = 40145, type = 32764, flags = (URI_USER_NORMALIZE | unknown: 0x59c7bac0), transport = {s = 0x7f7cdb5e61b8 "\016", len = -90196821}, ttl = {s = 0x1 <error: Cannot access memory at address 0x1>, len = -1962807040}, user_param = {s = 0x7f7c59c80c28 "tmx", len = -90766816}, maddr = {s = 0x7f7c599e9978 <ds_attrs_pv+24> "", len = 1505718272}, method = {s = 0x7f7c59bfcff8 <__func__.52> "pv_set_avp", len = -1962807040}, lr = {s = 0x0, len = 1503520016}, r2 = {s = 0x7f7cdb5e61b8 "\016", len = 1503510771}, gr = {s = 0x7f7cdb346718 "\227\300\235Y|\177", len = -91016952}, transport_val = {s = 0x0, len = 1503390040}, ttl_val = {s = 0x7f7c599dc0f3 "dispatcher", len = 1503520016}, user_param_val = {s = 0x7f7c59b34bef "textops", len = 1504943560}, maddr_val = {s = 0x562bfa829bfa "core: core/rvalue.c", len = -92089856}, method_val = {s = 0x7f7cdb52cdd8 "", len = -92291068}, lr_val = {s = 0x562bfa82d200 <__func__.27> "rval_destroy_helper", len = -1664021376}, r2_val = {s = 0x7f7cdb919ea0 "\002", len = -94912334}, gr_val = {s = 0x562bfa7fc004 "core", len = -1962807040}} next_hop = {user = {s = 0xb2 <error: Cannot access memory at address 0xb2>, len = 1523695616}, passwd = {s = 0x562bfa8429d0 "core: core/usr_avp.c", len = -90987488}, host = {s = 0x562bfa7fc004 "core", len = -93825791}, port = {s = 0x0, len = 1616990152}, params = {s = 0x562bfa8429d0 "core: core/usr_avp.c", len = -91997024}, sip_params = {s = 0xaa <error: Cannot access memory at address 0xaa>, len = -92097368}, headers = {s = 0x1 <error: Cannot access memory at address 0x1>, len = -96729383}, port_no = 49156, proto = 64127, type = 22059, flags = (unknown: 0xfa849048), transport = {s = 0x562bfa9fb321 <buf+225> "65\r\nSession-Expires: 3600\r\nMin-SE: 900\r\nSupported: replaces,100rel,timer\r\nTo: sip:0315996608@3cx-pbx.imp.ch\r\nFrom: "ImproWare AG" sip:0618269314@3cx-pbx.imp.ch;tag=3942978960-531067030\r\nCall-ID: 1"..., len = 2}, ttl = {s = 0x7f7cdb50f9b8 "(", len = -93802930}, user_param = {s = 0x562bfa7fc004 "core", len = -91975632}, maddr = {s = 0x562bfa931150 <core_cfg> "\330\323\022[|\177", len = -1962807040}, method = {s = 0x562bfa7fc004 "core", len = 1511}, lr = {s = 0x7f7cdb5e61b8 "\016", len = 7}, r2 = {s = 0x7f7cdb5e61b8 "\016", len = -1962807040}, gr = {s = 0x6 <error: Cannot access memory at address 0x6>, len = -1962807040}, transport_val = {s = 0x7f7cdb919690 "\017", len = -1664021608}, ttl_val = {s = 0x562bfa8210d0 <__func__.19> "pv_get_spec_value", len = -1962807040}, user_param_val = {s = 0x0, len = 178}, maddr_val = {s = 0x7f7c5ad1c000 "", len = 71}, method_val = {s = 0x562bfa8429d0 "core: core/usr_avp.c", len = -91997024}, lr_val = {s = 0x562bfa7fc004 "core", len = -93780959}, r2_val = {s = 0x562bfa7fc004 "core", len = -91791968}, gr_val = {s = 0x1a9 <error: Cannot access memory at address 0x1a9>, len = 275}} u = <optimized out> port = <optimized out> dst_host = <optimized out> i = <optimized out> flags = <optimized out> avp = <optimized out> st = {flags = 178, id = 0, name = {n = 140172076367872, s = {s = 0x7f7c5ad1c000 "", len = -92001840}, re = 0x7f7c5ad1c000}, avp = 0x562bfa93a420 <dprint_crit>} sct = <optimized out> sjt = <optimized out> rve = <optimized out> mct = <optimized out> rv = 0x562bfa7fc004 rv1 = <optimized out> c1 = {cache_type = RV_CACHE_EMPTY, val_type = RV_NONE, c = {avp_val = {n = 140174234390384, s = {s = 0x7f7cdb728f70 "r", len = -1664019776}, re = 0x7f7cdb728f70}, pval = {rs = {s = 0x7f7cdb728f70 "r", len = -1664019776}, ri = 94746886488239, flags = -617322728}}, i2s = "\b1\223\372+V\000\000\000\000\000\000\000\000\000\000\331\006<\372+V"} s = {s = 0x0, len = -1664022816} srevp = {0x7f7c59c021d8 <__func__.5.lto_priv.3>, 0x6465bf5d8b01f100} evp = {data = 0x0, obuf = {s = 0x0, len = 0}, rcv = 0x0, dst = 0x0, req = 0x0, rpl = 0x0, rplcode = 0, mode = 0} skip = <optimized out> __func__ = "do_action" mod_f_params = {{type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NUMBER_ST, u = {number = 2, string = 0x2 <error: Cannot access memory at address 0x2>, str = {s = 0x2 <error: Cannot access memory at address 0x2>, len = 0}, data = 0x2, attr = 0x2, select = 0x2}}, {type = RVE_FREE_FIXUP_ST, u = {number = 0, string = 0x0, str = {s = 0x0, len = 5}, data = 0x0, attr = 0x0, select = 0x0}}, {type = MODFIXUP_ST, u = {number = 140174232786880, string = 0x7f7cdb5a17c0 "P\027Z\333|\177", str = {s = 0x7f7cdb5a17c0 "P\027Z\333|\177", len = 4}, data = 0x7f7cdb5a17c0, attr = 0x7f7cdb5a17c0, select = 0x7f7cdb5a17c0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}} #12 0x0000562bfa3d71e5 in run_actions (h=0x7ffc9cd124d0, a=0x7f7cdb7bc5e8, msg=0x7f7cdb5e61b8) at core/action.c:1618 t = 0x7f7cdb7e52b8 ret = <optimized out> tvb = {tv_sec = 0, tv_usec = 0} tve = {tv_sec = 0, tv_usec = 0} tz = {tz_minuteswest = 1503388254, tz_dsttime = 32636} tdiff = <optimized out> end = <optimized out> __func__ = "run_actions" #13 0x0000562bfa3c0330 in do_action (h=0x7ffc9cd124d0, a=<optimized out>, msg=<optimized out>) at core/action.c:709 ret = -5 li = 5879228224335270641 v = 0 dst = {send_sock = 0x562bfa7fc004, to = {s = {sa_family = 12008, sa_data = "\200\372+V\000\000\000\000\000\000\000\000\000"}, sin = {sin_family = 12008, sin_port = 64128, sin_addr = {s_addr = 22059}, sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 12008, sin6_port = 64128, sin6_flowinfo = 22059, sin6_addr = {__in6_u = {__u6_addr8 = '\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}, sas = {ss_family = 12008, __ss_padding = "\200\372+V", '\000' <repeats 22 times>, "+V\000\000\000\361\001\213]\277ed\320A\234\373+V\000\000\000\361\001\213]\277ed\270a^\333|\177\000\000\000\361\001\213]\277ed\000\000\000\000\000\000\000\000\001", '\000' <repeats 23 times>, "\340\204R\333|\177\000\000\000\361\001\213]\277ed", __ss_align = 140174233067960}}, id = 1506692170, send_flags = {f = 32636, blst_imask = 0}, proto = -96 '\240', proto_pad0 = -51 '\315', proto_pad1 = -9390} tmp = <optimized out> new_uri = <optimized out> end = <optimized out> crt = <optimized out> cmd = <optimized out> len = <optimized out> user = <optimized out> uri = {user = {s = 0x7f7c00000000 <error: Cannot access memory at address 0x7f7c00000000>, len = 9675808}, passwd = {s = 0x1 <error: Cannot access memory at address 0x1>, len = -1962807040}, host = {s = 0x0, len = -613289424}, port = {s = 0x7ffc9cd11910 "", len = -92061521}, params = {s = 0x7f7cdb346718 "\227\300\235Y|\177", len = -91016952}, sip_params = {s = 0x0, len = -96729383}, headers = {s = 0x562bfa7fc004 "core", len = -92262680}, port_no = 320, proto = 0, type = ERROR_URI_T, flags = (unknown: 0x9cd11110), transport = {s = 0x7ffc9cd11200 "\004\300\177\372+V", len = -1962807040}, ttl = {s = 0x7f7cdb524eb8 "@", len = -92102080}, user_param = {s = 0x0, len = 0}, maddr = {s = 0x0, len = 0}, method = {s = 0x7ffc9cd124d0 "\005", len = 1506661772}, lr = {s = 0x7ffc9cd11308 "`P\200\372+V", len = -92102120}, r2 = {s = 0x6fc5f8 <error: Cannot access memory at address 0x6fc5f8>, len = -1664019448}, gr = {s = 0x7f7c59d71307 "tm", len = 1507282568}, transport_val = {s = 0x0, len = 0}, ttl_val = {s = 0x0, len = 0}, user_param_val = {s = 0x0, len = 0}, maddr_val = {s = 0x0, len = 0}, method_val = {s = 0x0, len = -1664015152}, lr_val = {s = 0x562bfa7fc004 "core", len = -1}, r2_val = {s = 0x519736eba23452f1 <error: Cannot access memory at address 0x519736eba23452f1>, len = 120}, gr_val = {s = 0x562bfa7fc004 "core", len = -91958912}} next_hop = {user = {s = 0x519736eba8f452f1 <error: Cannot access memory at address 0x519736eba8f452f1>, len = 1344426737}, passwd = {s = 0x562b00000000 <error: Cannot access memory at address 0x562b00000000>, len = -1962807040}, host = {s = 0x7f7c59bf7000 "pv", len = -1962807040}, port = {s = 0x0, len = -94958720}, params = {s = 0x7ffc9cd112c0 "\257@\203\372+V", len = 0}, sip_params = {s = 0x7ffc9cd124d0 "\005", len = -92291068}, headers = {s = 0x1 <error: Cannot access memory at address 0x1>, len = -94958629}, port_no = 28973, proto = 56119, type = 32636, flags = (unknown: 0xffffff80), transport = {s = 0xb <error: Cannot access memory at address 0xb>, len = 0}, ttl = {s = 0x0, len = -1962807040}, user_param = {s = 0x562bfba0dcb0 "h", len = -1664019776}, maddr = {s = 0x7f7cdb728f70 "r", len = -614571592}, method = {s = 0x562bfa8340af "", len = -92291068}, lr = {s = 0x562bfa803071 "corefunc", len = -96636443}, r2 = {s = 0x0, len = -1664019776}, gr = {s = 0x7f7cdb728f70 "r", len = -614571592}, transport_val = {s = 0x562bfa7fc004 "core", len = -92254112}, ttl_val = {s = 0x0, len = 1503390040}, user_param_val = {s = 0x7f7c599dc0f3 "dispatcher", len = 1503520016}, maddr_val = {s = 0x7f7c59b34bef "textops", len = 1504943560}, method_val = {s = 0x1 <error: Cannot access memory at address 0x1>, len = -1678486799}, lr_val = {s = 0x0, len = -1664015152}, r2_val = {s = 0x562bfa7fc004 "core", len = 1}, gr_val = {s = 0x519736eba71452f1 <error: Cannot access memory at address 0x519736eba71452f1>, len = 1344426737}} u = <optimized out> port = <optimized out> dst_host = <optimized out> i = <optimized out> flags = <optimized out> avp = <optimized out> st = {flags = 2834584305, id = 14059, name = {n = 160435459554693873, s = {s = 0x239fb33502252f1 <error: Cannot access memory at address 0x239fb33502252f1>, len = 0}, re = 0x239fb33502252f1}, avp = 0x6465bf5d8b01f100} sct = <optimized out> sjt = <optimized out> rve = <optimized out> mct = <optimized out> rv = 0x562bfa803071 rv1 = <optimized out> c1 = {cache_type = 16777473, val_type = RV_NONE, c = {avp_val = {n = 94746883591040, s = {s = 0x562bfa570b80 <rval_get_long+368> "H\213q\bH\205\366\017\204S\001", len = -1664018984}, re = 0x562bfa570b80 <rval_get_long+368>}, pval = {rs = {s = 0x562bfa570b80 <rval_get_long+368> "H\213q\bH\205\366\017\204S\001", len = -1664018984}, ri = 0, flags = -1664015152}}, i2s = "\004\300\177\372+V\000\000\001\000\000\000\000\000\000\000\333\vW\372+V"} s = {s = 0x562bfa7fc004 "core", len = -1664020144} srevp = {0x0, 0x6465bf5d8b01f100} evp = {data = 0x0, obuf = {s = 0x0, len = 0}, rcv = 0x0, dst = 0x0, req = 0x0, rpl = 0x0, rplcode = 0, mode = 0} skip = <optimized out> __func__ = "do_action" mod_f_params = {{type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NUMBER_ST, u = {number = 2, string = 0x2 <error: Cannot access memory at address 0x2>, str = {s = 0x2 <error: Cannot access memory at address 0x2>, len = 0}, data = 0x2, attr = 0x2, select = 0x2}}, {type = RVE_FREE_FIXUP_ST, u = {number = 0, string = 0x0, str = {s = 0x0, len = 5}, data = 0x0, attr = 0x0, select = 0x0}}, {type = MODFIXUP_ST, u = {number = 140174232786880, string = 0x7f7cdb5a17c0 "P\027Z\333|\177", str = {s = 0x7f7cdb5a17c0 "P\027Z\333|\177", len = 4}, data = 0x7f7cdb5a17c0, attr = 0x7f7cdb5a17c0, select = 0x7f7cdb5a17c0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}} #14 0x0000562bfa3d71e5 in run_actions (h=0x7ffc9cd124d0, a=0x7f7cdb72a160, msg=0x7f7cdb5e61b8) at core/action.c:1618 t = 0x7f7cdb72a160 ret = <optimized out> tvb = {tv_sec = 0, tv_usec = 0} tve = {tv_sec = 0, tv_usec = 0} tz = {tz_minuteswest = -94948622, tz_dsttime = 22059} tdiff = <optimized out> end = <optimized out> __func__ = "run_actions" #15 0x0000562bfa3c084b in do_action (h=0x7ffc9cd124d0, a=0x7f7cdb72a4e8, msg=<optimized out>) at core/action.c:1117 ret = 1 li = 5879228224058446577 v = 1 dst = {send_sock = 0x0, to = {s = {sa_family = 0, sa_data = '\000' <repeats 13 times>}, sin = {sin_family = 0, sin_port = 0, sin_addr = {s_addr = 0}, sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 0, sin6_port = 0, sin6_flowinfo = 0, sin6_addr = {__in6_u = {__u6_addr8 = '\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}, sas = {ss_family = 0, __ss_padding = '\000' <repeats 31 times>, "\361\001\213]\277ed\002\000\304\023\235\241\027\004@\242\202\372+V\000\000\270a^\333|\177\000\000\b\374q\333|\177\000\000(\242\202\372+V\000\000\360\033ќ\374\177\000\000\320$ќ\374\177\000\000\066KW\372+V", '\000' <repeats 17 times>, __ss_align = 0}}, id = 0, send_flags = {f = 0, blst_imask = 0}, proto = 0 '\000', proto_pad0 = 0 '\000', proto_pad1 = 0} tmp = <optimized out> new_uri = <optimized out> end = <optimized out> crt = <optimized out> cmd = <optimized out> len = <optimized out> user = <optimized out> uri = {user = {s = 0x562bfa7fc004 "core", len = -92089856}, passwd = {s = 0x7f7c5947eb0d "siptrace: siptrace_hep.c", len = -1962807040}, host = {s = 0x7ffc9cd11b10 "", len = -94958720}, port = {s = 0x7ffc9cd11bf0 "", len = 0}, params = {s = 0x7ffc9cd124d0 "\005", len = -92291068}, sip_params = {s = 0xffffffff <error: Cannot access memory at address 0xffffffff>, len = -94958629}, headers = {s = 0x562bfa7fc004 "core", len = -92101960}, port_no = 0, proto = 0, type = ERROR_URI_T, flags = (URI_USER_NORMALIZE | unknown: 0x59dde0b4), transport = {s = 0x8000000 <error: Cannot access memory at address 0x8000000>, len = -1962807040}, ttl = {s = 0x6fc5f8 <error: Cannot access memory at address 0x6fc5f8>, len = -92102080}, user_param = {s = 0x0, len = 0}, maddr = {s = 0x0, len = 0}, method = {s = 0x7ffc9cd124d0 "\005", len = -94943791}, lr = {s = 0x562bfa7fc004 "core", len = -92102120}, r2 = {s = 0x7ffc9cd11a80 "\257@\203\372+V", len = -1664017648}, gr = {s = 0x7f7cdb5e61b8 "\016", len = -1664017800}, transport_val = {s = 0x7ffc9cd124d0 "\005", len = -94947850}, ttl_val = {s = 0x7f7cdb710878 "\002", len = -613351328}, user_param_val = {s = 0x0, len = 1}, maddr_val = {s = 0x1 <error: Cannot access memory at address 0x1>, len = -1986768143}, method_val = {s = 0x0, len = -1664015152}, lr_val = {s = 0x562bfa7fc004 "core", len = -1}, r2_val = {s = 0x519736eb95b452f1 <error: Cannot access memory at address 0x519736eb95b452f1>, len = 1344426737}, gr_val = {s = 0x0, len = 0}} next_hop = {user = {s = 0x519736eb987452f1 <error: Cannot access memory at address 0x519736eb987452f1>, len = 1344426737}, passwd = {s = 0x562b00000000 <error: Cannot access memory at address 0x562b00000000>, len = -1962807040}, host = {s = 0x7f7c59bf7000 "pv", len = -1664018008}, port = {s = 0x7ffc9cd119a0 "\320$ќ\374\177", len = -613351336}, params = {s = 0x562bfa8d0690 <__func__.24.lto_priv.2> "rval_get_btype", len = -92291068}, sip_params = {s = 0x0, len = -92441687}, headers = {s = 0x1 <error: Cannot access memory at address 0x1>, len = -94958629}, port_no = 28973, proto = 56119, type = 32636, flags = (URI_USER_NORMALIZE | unknown: 0x4), transport = {s = 0x7100000111 <error: Cannot access memory at address 0x7100000111>, len = -617123539}, ttl = {s = 0x562b00000005 <error: Cannot access memory at address 0x562b00000005>, len = -1962807040}, user_param = {s = 0x562b00000001 <error: Cannot access memory at address 0x562b00000001>, len = -1664017792}, maddr = {s = 0x0, len = 0}, method = {s = 0x0, len = 0}, lr = {s = 0x562bfa803071 "corefunc", len = -96636443}, r2 = {s = 0x562bfa93a420 <dprint_crit> "", len = -1664017792}, gr = {s = 0x7f7cdb71b6a8 "P", len = -614571592}, transport_val = {s = 0x562bfa7fc004 "core", len = -92254112}, ttl_val = {s = 0x562bfa7fc004 "core", len = -94948622}, user_param_val = {s = 0x562bfa931150 <core_cfg> "\330\323\022[|\177", len = -95377964}, maddr_val = {s = 0x562bfa7fc004 "core", len = -91975632}, method_val = {s = 0x562bfa829bfa "core: core/rvalue.c", len = -92089856}, lr_val = {s = 0x7f7cdb52cdd8 "", len = -92291068}, r2_val = {s = 0x562bfa82d200 <__func__.27> "rval_destroy_helper", len = -1664017792}, gr_val = {s = 0x7f7cdb710878 "\002", len = -94912334}} u = <optimized out> port = <optimized out> dst_host = <optimized out> i = <optimized out> flags = <optimized out> avp = <optimized out> st = {flags = 2557760241, id = 14059, name = {n = 160435459554693873, s = {s = 0x239fb33502252f1 <error: Cannot access memory at address 0x239fb33502252f1>, len = 0}, re = 0x239fb33502252f1}, avp = 0x6465bf5d8b01f100} sct = <optimized out> sjt = <optimized out> rve = <optimized out> mct = <optimized out> rv = 0x562bfa803071 rv1 = <optimized out> c1 = {cache_type = RV_CACHE_EMPTY, val_type = RV_NONE, c = {avp_val = {n = 94746883591040, s = {s = 0x562bfa570b80 <rval_get_long+368> "H\213q\bH\205\366\017\204S\001", len = -1664017000}, re = 0x562bfa570b80 <rval_get_long+368>}, pval = {rs = {s = 0x562bfa570b80 <rval_get_long+368> "H\213q\bH\205\366\017\204S\001", len = -1664017000}, ri = 0, flags = -1664015152}}, i2s = "\004\300\177\372+V\000\000\377\377\377\377\000\000\000\000\333\vW\372+V"} s = {s = 0x7f7cdb52d126 "", len = -1664018160} srevp = {0x0, 0x6465bf5d8b01f100} evp = {data = 0x0, obuf = {s = 0x0, len = 0}, rcv = 0x0, dst = 0x0, req = 0x0, rpl = 0x0, rplcode = 0, mode = 0} skip = <optimized out> __func__ = "do_action" mod_f_params = {{type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NUMBER_ST, u = {number = 2, string = 0x2 <error: Cannot access memory at address 0x2>, str = {s = 0x2 <error: Cannot access memory at address 0x2>, len = 0}, data = 0x2, attr = 0x2, select = 0x2}}, {type = RVE_FREE_FIXUP_ST, u = {number = 0, string = 0x0, str = {s = 0x0, len = 5}, data = 0x0, attr = 0x0, select = 0x0}}, {type = MODFIXUP_ST, u = {number = 140174232786880, string = 0x7f7cdb5a17c0 "P\027Z\333|\177", str = {s = 0x7f7cdb5a17c0 "P\027Z\333|\177", len = 4}, data = 0x7f7cdb5a17c0, attr = 0x7f7cdb5a17c0, select = 0x7f7cdb5a17c0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}} #16 0x0000562bfa3d71e5 in run_actions (h=0x7ffc9cd124d0, a=0x7f7cdb725320, msg=0x7f7cdb5e61b8) at core/action.c:1618 t = 0x7f7cdb72a4e8 ret = <optimized out> tvb = {tv_sec = 0, tv_usec = 0} tve = {tv_sec = 0, tv_usec = 0} tz = {tz_minuteswest = 1497892160, tz_dsttime = 32636} tdiff = <optimized out> end = <optimized out> __func__ = "run_actions" #17 0x0000562bfa3c084b in do_action (h=0x7ffc9cd124d0, a=0x7f7cdb72dfa0, msg=<optimized out>) at core/action.c:1117 ret = 1 li = 94746888352618 v = 1 dst = {send_sock = 0x0, to = {s = {sa_family = 45990, sa_data = "\237\372+V\000\000\004\300\177\372\000\000\000"}, sin = {sin_family = 45990, sin_port = 64159, sin_addr = {s_addr = 22059}, sin_zero = "\004\300\177\372\000\000\000"}, sin6 = {sin6_family = 45990, sin6_port = 64159, sin6_flowinfo = 22059, sin6_addr = {__in6_u = {__u6_addr8 = "\004\300\177\372\000\000\000\000\035\000\000\000sip:", __u6_addr16 = {49156, 64127, 0, 0, 29, 0, 26995, 14960}, __u6_addr32 = {4202676228, 0, 29, 980445555}}}, sin6_scope_id = 4202676228}, sas = {ss_family = 45990, __ss_padding = "\237\372+V\000\000\004\300\177\372\000\000\000\000\035\000\000\000sip:\004\300\177\372+V\000\000 \253\207\372+V\000\000\000\000\000\000\000\000\000\000\265\263\237\372+V\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000ó\237\372+V\000\000\000\361\001\213]\277edd", '\000' <repeats 15 times>, "\270a^\333|\177\000\000\360$ќ\374\177\000", __ss_align = 4}}, id = -1664015584, send_flags = {f = 32764, blst_imask = 0}, proto = 72 'H', proto_pad0 = 69 'E', proto_pad1 = -1388} tmp = <optimized out> new_uri = <optimized out> end = <optimized out> crt = <optimized out> cmd = <optimized out> len = <optimized out> user = <optimized out> uri = {user = {s = 0x8000000 <error: Cannot access memory at address 0x8000000>, len = -618041328}, passwd = {s = 0x40 <error: Cannot access memory at address 0x40>, len = -615477768}, host = {s = 0x562bfa8143f8 "core: core/parser/msg_parser.c", len = -615477656}, port = {s = 0x7f7cdb508dc0 "\030", len = -93800729}, params = {s = 0x562bfa7fc004 "core", len = -93825303}, sip_params = {s = 0x562b00000159 <error: Cannot access memory at address 0x562b00000159>, len = -615477824}, headers = {s = 0xa8 <error: Cannot access memory at address 0xa8>, len = -91975632}, port_no = 17400, proto = 64129, type = 22059, flags = (unknown: 0xfa84d180), transport = {s = 0x562bfa7fc004 "core", len = -91958896}, ttl = {s = 0x562bfa7fc004 "core", len = -91975608}, user_param = {s = 0x1 <error: Cannot access memory at address 0x1>, len = -1962807040}, maddr = {s = 0x562bfa7fc004 "core", len = -91975608}, method = {s = 0x7f7cdb61bc30 "$", len = -615362720}, lr = {s = 0x562bfa87ac34 "core: core/parser/parse_via.c", len = -91626448}, r2 = {s = 0x13 <error: Cannot access memory at address 0x13>, len = 256}, gr = {s = 0x7f7c00000001 <error: Cannot access memory at address 0x7f7c00000001>, len = 10}, transport_val = {s = 0x562bfa7fc004 "core", len = -91975608}, ttl_val = {s = 0x7f7cdb5670d8 "H\a", len = 1507713205}, user_param_val = {s = 0x8000000 <error: Cannot access memory at address 0x8000000>, len = 1507713205}, maddr_val = {s = 0x8000000 <error: Cannot access memory at address 0x8000000>, len = 125071296}, method_val = {s = 0x6fc5f8 <error: Cannot access memory at address 0x6fc5f8>, len = 9146432}, lr_val = {s = 0xa3c410 <error: Cannot access memory at address 0xa3c410>, len = 8}, r2_val = {s = 0x1a8 <error: Cannot access memory at address 0x1a8>, len = -1962807040}, gr_val = {s = 0x7f7cdb5e61b8 "\016", len = -93666135}} next_hop = {user = {s = 0x562bfa9fb36a <buf+298> "\nTo: sip:0315996608@3cx-pbx.imp.ch\r\nFrom: "ImproWare AG" sip:0618269314@3cx-pbx.imp.ch;tag=3942978960-531067030\r\nCall-ID: 130730064-3942978960-282784630@prt-cbl-sbc1.imp.ch\r\nCSeq: 2 INVITE\r\nAllow:"..., len = 0}, passwd = {s = 0x7f7c60606738 "\020M\377Z|\177", len = -1962807040}, host = {s = 0xc8 <error: Cannot access memory at address 0xc8>, len = 1506866528}, port = {s = 0x7ffc9cd120e8 "\300ot\a", len = -1664016452}, params = {s = 0x562bfa970220 <def_list.lto_priv> "خb`|\177", len = -90766808}, sip_params = {s = 0x562bfa970230 <def_list.lto_priv+16> "", len = -90766792}, headers = {s = 0x562bfa970240 <def_list.lto_priv+32> "", len = -1962807040}, port_no = 592, proto = 64151, type = 22059, flags = (unknown: 0xfa9fb5ac), transport = {s = 0x562bfa93a380 <_pkg_root> "8x\204\372+V", len = 89}, ttl = {s = 0x562bfa9fb837 <buf+1527> "", len = -90196596}, user_param = {s = 0x7f7cdb50f180 "\001", len = -93234732}, maddr = {s = 0x562bfa7fc004 "core", len = -91626448}, method = {s = 0x562bfa9fb5ac <buf+876> "branch=z9hG4bK972150f051997686186e443a172a4d74\r\nContact: sip:16-3140@157.161.10.228:6448\r\nContent-Type: application/sdp\r\nAccept: application/sdp\r\nContent-Length: 256\r\nP-Asserted-Identity: <sip:+4161"..., len = -93825303}, lr = {s = 0x562b00000000 <error: Cannot access memory at address 0x562b00000000>, len = -91626464}, r2 = {s = 0x562b00000000 <error: Cannot access memory at address 0x562b00000000>, len = -91958896}, gr = {s = 0x64 <error: Cannot access memory at address 0x64>, len = 0}, transport_val = {s = 0x7f7cdb50f180 "\001", len = 0}, ttl_val = {s = 0x562bfa7fc004 "core", len = -91975608}, user_param_val = {s = 0x7f7cdb5e61b8 "\016", len = -93426968}, maddr_val = {s = 0x562bfa93a420 <dprint_crit> "", len = 73}, method_val = {s = 0x562bfa7fc004 "core", len = -91792016}, lr_val = {s = 0x8 <error: Cannot access memory at address 0x8>, len = 1506563709}, r2_val = {s = 0x7f7c59d71307 "tm", len = 1507271688}, gr_val = {s = 0x7f7c59d71307 "tm", len = -1962807040}} u = <optimized out> port = <optimized out> dst_host = <optimized out> i = <optimized out> flags = <optimized out> avp = <optimized out> st = {flags = 4204770154, id = 22059, name = {n = 7234398782593433600, s = {s = 0x6465bf5d00000000 <error: Cannot access memory at address 0x6465bf5d00000000>, len = 1616930616}, re = 0x6465bf5d00000000}, avp = 0x6465bf5d8b01f100} sct = <optimized out> sjt = <optimized out> rve = <optimized out> mct = <optimized out> rv = 0x1a9 rv1 = <optimized out> c1 = {cache_type = 4202676228, val_type = 22059, c = {avp_val = {n = 94746886590848, s = {s = 0x562bfa84d180 <__func__.21> "parse_headers", len = 0}, re = 0x562bfa84d180 <__func__.21>}, pval = {rs = {s = 0x562bfa84d180 <__func__.21> "parse_headers", len = 0}, ri = 94746885271239, flags = 0}}, i2s = "\210\206R\333|\177\000\000\b\210R\333|\177\000\000\000\000\000\000\000"} s = {s = 0x40 <error: Cannot access memory at address 0x40>, len = -93825303} srevp = {0x0, 0xffffffffffffffff} evp = {data = 0x0, obuf = {s = 0x0, len = 0}, rcv = 0x0, dst = 0x0, req = 0x0, rpl = 0x0, rplcode = 0, mode = 0} skip = <optimized out> __func__ = "do_action" mod_f_params = {{type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NUMBER_ST, u = {number = 2, string = 0x2 <error: Cannot access memory at address 0x2>, str = {s = 0x2 <error: Cannot access memory at address 0x2>, len = 0}, data = 0x2, attr = 0x2, select = 0x2}}, {type = RVE_FREE_FIXUP_ST, u = {number = 0, string = 0x0, str = {s = 0x0, len = 5}, data = 0x0, attr = 0x0, select = 0x0}}, {type = MODFIXUP_ST, u = {number = 140174232786880, string = 0x7f7cdb5a17c0 "P\027Z\333|\177", str = {s = 0x7f7cdb5a17c0 "P\027Z\333|\177", len = 4}, data = 0x7f7cdb5a17c0, attr = 0x7f7cdb5a17c0, select = 0x7f7cdb5a17c0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}} #18 0x0000562bfa3d71e5 in run_actions (h=0x7ffc9cd124d0, a=0x7f7cdb7019e0, msg=0x7f7cdb5e61b8) at core/action.c:1618 t = 0x7f7cdb72dfa0 ret = <optimized out> tvb = {tv_sec = 0, tv_usec = 0} tve = {tv_sec = 0, tv_usec = 0} tz = {tz_minuteswest = -1962807040, tz_dsttime = 1684389725} tdiff = <optimized out> end = <optimized out> __func__ = "run_actions" #19 0x0000562bfa3d82e0 in run_top_route (a=<optimized out>, msg=<optimized out>, c=<optimized out>) at core/action.c:1701 ctx = {rec_lev = 5, run_flags = 0, last_retcode = 1, jmp_env = {{__jmpbuf = {1, 160434616232334065, 0, 94746886415311, 0, 94746887563232, 5879228225706808049, 160435459554693873}, __mask_was_saved = 0, __saved_mask = {__val = {125079392, 7319992, 9138336, 10732560, 8, 434, 7234398784925593856, 140174233067960, 94746887562112, 140174233067960, 7234398784925593856, 94746886415311, 94746887562112, 94746887562272, 140172059234076, 94746887562112}}}}} p = <optimized out> ret = <optimized out> sfbk = 0 #20 0x0000562bfa52819b in receive_msg (buf=<optimized out>, len=<optimized out>, rcv_info=<optimized out>) at core/receive.c:518 msg = 0x7f7cdb5e61b8 ctx = {rec_lev = 0, run_flags = 0, last_retcode = 0, jmp_env = {{__jmpbuf = {1, 160434616232334065, 0, 94746886415311, 94746887783040, 0, 5879228225706808049, 160435459554693873}, __mask_was_saved = 0, __saved_mask = {__val = {146, 94746906350704, 7234398784925593856, 64, 7234398784925593856, 4294967169, 140174230372840, 6, 94746886487656, 94746886258692, 94746887594696, 0, 94746883913415, 94746886258692, 94746886487656, 94746886258692}}}}} bctx = 0x0 ret = <optimized out> tvb = {tv_sec = 0, tv_usec = 0} tve = {tv_sec = 0, tv_usec = 0} diff = 0 inb = {s = 0x562bfa9fb240 <buf> "INVITE sip:0315996608@3cx-pbx.imp.ch SIP/2.0\r\nRecord-Route: sip:157.161.23.2;lr;ftag=3942978960-531067030;did=b62.43a3\r\nRecord-Route: sip:157.161.23.23;lr;did=b62.1e04\r\nRecord-Route: <sip:157.161."..., len = 1527} netinfo = {data = {s = 0x562bfa9fb240 <buf> "INVITE sip:0315996608@3cx-pbx.imp.ch SIP/2.0\r\nRecord-Route: sip:157.161.23.2;lr;ftag=3942978960-531067030;did=b62.43a3\r\nRecord-Route: sip:157.161.23.23;lr;did=b62.1e04\r\nRecord-Route: <sip:157.161."..., len = 1527}, bufsize = 0, rcv = 0x7ffc9cd12950, dst = 0x0} keng = 0x0 evp = {data = 0x7ffc9cd12640, obuf = {s = 0x0, len = 0}, rcv = 0x7ffc9cd12950, dst = 0x0, req = 0x0, rpl = 0x0, rplcode = 0, mode = 0} cidlockidx = 0 cidlockset = 0 errsipmsg = 0 exectime = 0 __func__ = "receive_msg" #21 0x0000562bfa653e48 in udp_rcv_loop () at core/udp_server.c:647 len = 1527 tmp = <optimized out> fromaddr = <optimized out> fromaddrlen = 16 rcvi = {src_ip = {af = 2, len = 4, u = {addrl = {35103133, 0}, addr32 = {35103133, 0, 0, 0}, addr16 = {41373, 535, 0, 0, 0, 0, 0, 0}, addr = "\235\241\027\002", '\000' <repeats 11 times>}}, dst_ip = {af = 2, len = 4, u = {addrl = {68657565, 0}, addr32 = {68657565, 0, 0, 0}, addr16 = {41373, 1047, 0, 0, 0, 0, 0, 0}, addr = "\235\241\027\004", '\000' <repeats 11 times>}}, src_port = 5060, dst_port = 5060, proto_reserved1 = 0, proto_reserved2 = 0, src_su = {s = {sa_family = 2, sa_data = "\023ĝ\241\027\002\000\000\000\000\000\000\000"}, sin = {sin_family = 2, sin_port = 50195, sin_addr = {s_addr = 35103133}, sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 2, sin6_port = 50195, sin6_flowinfo = 35103133, sin6_addr = {__in6_u = {__u6_addr8 = '\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}, sas = {ss_family = 2, __ss_padding = "\023ĝ\241\027\002", '\000' <repeats 111 times>, __ss_align = 0}}, bind_address = 0x7f7cdb327938, rflags = 0, proto = 1 '\001', proto_pad0 = 0 '\000', proto_pad1 = 0} evp = {data = 0x0, obuf = {s = 0x0, len = 0}, rcv = 0x0, dst = 0x0, req = 0x0, rpl = 0x0, rplcode = 0, mode = 0} printbuf = "\020-ќ\374\177\000\000;-ќ\374\177\000\000\217-ќ\374\177\000\000\020-ќ\374\177\000\000@0_\343|\177", '\000' <repeats 18 times>, "\323X8\343|\177\000\000\310@_\343|\177\000\000\000\361\001\213]\277ed\330@_\343|\177\000\000\205", '\000' <repeats 15 times>, "\246&\203\372+V\000\000X>\203\372+V\000\000\310"\224\372+V\000\000\000\000\000\000\000\000\000\000\343\377[\372+V\000\000\000\000\000\000\000\000\000\000\226?v\372+V\000\000\377\377\377\377+V\000\000\034\201P\372+V\000\000\004\300\177\372+V\000\000\000#K\343|\177", '\000' <repeats 11 times>, "\361\001\213"... i = <optimized out> j = <optimized out> l = <optimized out> error = <optimized out> __func__ = "udp_rcv_loop" buf = "INVITE sip:0315996608@3cx-pbx.imp.ch SIP/2.0\r\nRecord-Route: sip:157.161.23.2;lr;ftag=3942978960-531067030;did=b62.43a3\r\nRecord-Route: sip:157.161.23.23;lr;did=b62.1e04\r\nRecord-Route: <sip:157.161."... __llevel = <optimized out> __kld = <optimized out> #22 0x0000562bfa3b8341 in main_loop () at /build/kamailio-5.7.6+ubuntu22.04/src/main.c:1802 i = <optimized out> pid = <optimized out> si = <optimized out> si_desc = "udp receiver child=5 sock=157.161.23.4:5060\000+V\000\000\000\200%\333|\177\000\000\003\000\000\000\377\377\377\377\004\300\177\372+V\000\000\004\000\000\000|\177\000\000\003\000\000\000\000\000\000\000\t\000\000\000\000\000\000\000Thu Dec \000\361\001\213]\277ed:46 2024\005\000\000\000\000\000\000" nrprocs = <optimized out> woneinit = 1 error = <optimized out> __func__ = "main_loop" #23 0x0000562bfa3aaffc in main (argc=<optimized out>, argv=<optimized out>) at /build/kamailio-5.7.6+ubuntu22.04/src/main.c:3213 cfg_stream = <optimized out> c = <optimized out> r = <optimized out> tmp = 0x7ffc9cd13e64 "" tmp_len = 791621423 port = 791621423 proto = 791621423 ahost = 0x0 aport = 0 options = 0x562bfa7ff2f0 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:Y:" ret = -1 seed = 2415308427 rfd = <optimized out> debug_save = <optimized out> debug_flag = <optimized out> dont_fork_cnt = <optimized out> n_lst = <optimized out> p = <optimized out> st = {st_dev = 25, st_ino = 1188693, st_nlink = 2, st_mode = 16888, st_uid = 114, st_gid = 119, __pad0 = 0, st_rdev = 0, st_size = 40, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1733990086, tv_nsec = 427733329}, st_mtim = {tv_sec = 1733990086, tv_nsec = 427733329}, st_ctim = {tv_sec = 1733990086, tv_nsec = 427733329}, __glibc_reserved = {0, 0, 0}} tbuf = '\000' <repeats 511 times> option_index = 12 __func__ = "main" long_options = {{name = 0x562bfa7fefd2 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x562bfa806da8 "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x562bfa816731 "alias", has_arg = 1, flag = 0x0, val = 1024}, {name = 0x562bfa7fefd7 "subst", has_arg = 1, flag = 0x0, val = 1025}, {name = 0x562bfa7fefdd "substdef", has_arg = 1, flag = 0x0, val = 1026}, {name = 0x562bfa7fefe6 "substdefs", has_arg = 1, flag = 0x0, val = 1027}, {name = 0x562bfa7feff0 "server-id", has_arg = 1, flag = 0x0, val = 1028}, {name = 0x562bfa7feffa "loadmodule", has_arg = 1, flag = 0x0, val = 1029}, {name = 0x562bfa7ff005 "modparam", has_arg = 1, flag = 0x0, val = 1030}, {name = 0x562bfa7ff00e "log-engine", has_arg = 1, flag = 0x0, val = 1031}, {name = 0x562bfa806ec5 "debug", has_arg = 1, flag = 0x0, val = 1032}, {name = 0x562bfa7ff019 "cfg-print", has_arg = 0, flag = 0x0, val = 1033}, {name = 0x562bfa7ff023 "atexit", has_arg = 1, flag = 0x0, val = 1034}, {name = 0x562bfa7ff02a "all-errors", has_arg = 0, flag = 0x0, val = 1035}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
```
The problem is that you mess the xavps that are reserved for internal use of tm for serializing contacts. Note that internally an xavp can have more types of values than config interpreter supports (which are int/long and string). When a module asks for names of xavp or avps via modparams, the config file actions must not change them (or if it does, it must do it as expected by the c code, which sometime is impossible to due to expected value type).
I have actually just added a safety check for this case, but there are many places where config actions can crash kamailio if not done as per documentation and it will not be feasible (also sometime not desired) to do it everywhere, because then the processing is "lost" in safety checks, decreasing performance significantly.
So, if dispatcher, lcr or tm (or other modules) reserves some xavp/avp names, changing them from config actions opens the door for unexpected behaviour/crashes.
From the other point of view, what you want to achieve does not work as you tried, you cannot assign an xavp that contains other xavps to another xavp. You have to do it item by item. There are copy functions in pv module that can help, or those for implode/explode. But again, only if the xavps don't have special types for their values.
From what I understood, I think lookup() and lookup_to_dset() should offer all that is needed. Anyhow, if anything else is needed to discuss about using kamailio and implementing a specific feature in the config, use sr-users mailing list.
Closed #4063 as completed.