[OpenSIPS-Users] opensips crash while using siprec module

Hitesh Menghani h.menghani at cataleya.com
Mon Aug 29 14:15:16 UTC 2022


Hi All,

opensips ver 2.4

Note: Same issue is there with opensips 3.3 ver

We are trying to use siprec module and observed a crash while processing 200ok from remote while siprec module is being used.

Below is the opensips config snapshot for using siprec

if (is_method("INVITE")) {
                              create_dialog();
                              rtpproxy_engage();
                              xlog("Engage SIPREC call recording to sip:10.57.1.110:5060 for $ci\n");
                              siprec_start_recording(sip:10.57.1.110:5060);
                              b2b_init_request("b2bua", sip:sa at 10.57.1.198:5060);
                              do_accounting("log");
                              exit;
               }

Also find below backtrace of a crash -

#0  0x00000000004dcc1a in parse_headers (msg=0xffffffffffffffff,
    flags=18446744073709551615, next=0) at parser/msg_parser.c:302
302        parser/msg_parser.c: No such file or directory.
Missing separate debuginfos, use: debuginfo-install glibc-2.17-157.el7.x86_64 libuuid-2.23.2-33.el7.x86_64 libxml2-2.9.1-6.el7_2.3.x86_64 xz-libs-5.2.2-1.el7.x86_64 zlib-1.2.7-17.el7.x86_64
(gdb) bt
#0  0x00000000004dcc1a in parse_headers (msg=0xffffffffffffffff,
    flags=18446744073709551615, next=0) at parser/msg_parser.c:302
#1  0x00007f8bb9f271e1 in get_body ()
   from /opt/esbc/opensips-2.4.11/lib64/opensips/modules/siprec.so
#2  0x00007f8bb9f2a430 in tm_start_recording ()
   from /opt/esbc/opensips-2.4.11/lib64/opensips/modules/siprec.so
#3  0x00007f8bbc3dbd89 in run_trans_callbacks ()
   from /opt/esbc/opensips-2.4.11/lib64/opensips/modules/tm.so
#4  0x00007f8bbc3dc0af in run_trans_callbacks_locked ()
   from /opt/esbc/opensips-2.4.11/lib64/opensips/modules/tm.so
#5  0x00007f8bbc3a90de in _reply_light ()
   from /opt/esbc/opensips-2.4.11/lib64/opensips/modules/tm.so
#6  0x00007f8bbc3ad4d2 in t_reply_with_body ()
   from /opt/esbc/opensips-2.4.11/lib64/opensips/modules/tm.so
#7  0x00007f8bbae25de3 in b2b_send_reply ()
   from /opt/esbc/opensips-2.4.11/lib64/opensips/modules/b2b_entities.so
#8  0x00007f8bbabf5931 in b2b_logic_notify_reply ()
---Type <return> to continue, or q <return> to quit---q

Thanks,
Hitesh


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220829/94ce3a95/attachment-0001.html>


More information about the Users mailing list