The following configuration snippet worked for me in 2.4 but causes a coredump in 3.0.1 and 3.0.2.
In request route ( sequential ) xlog("Check for GRUU, Method is $rm\n"); Results Mar 06 13:39:37 slim.mylan /usr/local/sbin/opensips[62100]: *Check for GRUU, Method is BYE* *Request URI is sip:4@192.168.1.2:5060;gr=urn:uuid:13acf37f-2138-0064-a85a-fb5d39f65cc0* DBG:core:grep_sock_info_ext: checking if host==us: 11==11 && [192.168.1.2] == [192.168. DBG:core:grep_sock_info_ext: checking if host==us: 11==11 && [192.168.1.2] == [192.168. DBG:core:parse_params: Parsing params for:[gr=urn:uuid:13acf37f-2138-0064-a85a-fb5d39f65 *Found GRUU* DBG:registrar:parse_lookup_flags: final flags: 1 DBG:registrar:extract_aor: has gruu DBG:registrar:extract_aor: public gruu DBG:registrar:select_contacts: ct: sip:4@192.168.1.75:49479;transport=udp DBG:registrar:select_contacts: ruri has gruu *CRITICAL:core:sig_usr: segfault in process pid: 62100, id: 5* DBG:core:restore_segv_handler: restoring SIGSEGV handler... DBG:core:restore_segv_handler: successfully restored system SIGSEGV handler DBG:core:handle_sigs: OpenSIPS exit status = 139
[root@slim opensips]# coredumpctl info 62100 PID: 62100 (opensips) UID: 1001 (opensips) GID: 1002 (opensips) Signal: 11 (SEGV) Timestamp: Fri 2020-03-06 13:39:37 PST (3min 25s ago) Command Line: /usr/local/sbin/opensips -P /run/opensips/opensips.pid -f /usr/local/etc/opensips/opensips.cfg -m 64 -M 4 Executable: /usr/local/sbin/opensips Control Group: /system.slice/opensips.service Unit: opensips.service Slice: system.slice Boot ID: 9478439d3253442c8068265e87ac6928 Machine ID: d00237b6be8b4893b5359ee676dfc035 Hostname: slim.mylan Storage: /var/lib/systemd/coredump/core.opensips.1001.9478439d3253442c8068265e87ac6928.62100.1583530777000000000000.lz4 Message: Process 62100 (opensips) of user 1001 dumped core. Stack trace of thread 62100: #0 0x00007ffa4ee8fb6a __GI___strlen_sse2 (libc.so.6) #1 0x00007ffa4ee5d5fe __vfprintf_internal (libc.so.6) #2 0x00007ffa4eeebb04 __vsyslog_internal (libc.so.6) #3 0x00007ffa4eeebf8a syslog (libc.so.6) #4 0x00007ffa4a876f66 select_contacts (registrar.so) #5 0x00007ffa4a877aa6 lookup (registrar.so) #6 0x0000000000433ada do_action (opensips) #7 0x000000000043bf47 run_action_list (opensips) #8 0x000000000048997b eval_elem (opensips) #9 0x000000000048938d eval_expr (opensips) #10 0x000000000048943a eval_expr (opensips) #11 0x0000000000489375 eval_expr (opensips) #12 0x0000000000433b8d do_action (opensips) #13 0x000000000043bf47 run_action_list (opensips) #14 0x00000000004392a5 do_action (opensips) #15 0x000000000043bf47 run_action_list (opensips) #16 0x00000000004392a5 do_action (opensips) #17 0x000000000043c113 run_action_list (opensips) #18 0x0000000000449e45 receive_msg (opensips) #19 0x00000000006212ff udp_read_req (opensips) #20 0x00000000005fbb55 handle_io (opensips) #21 0x00000000006000ec udp_start_processes (opensips) #22 0x000000000041a5e3 main_loop (opensips) #23 0x00007ffa4ee171a3 __libc_start_main (libc.so.6) #24 0x000000000041b07e _start (opensips)
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users