Hi, Hitesh!

You are using both dialog and B2B for the same call - this is not supported in OpenSIPS. Moreover, SIPREC is not working with B2B. So you either have a setup with dialog (where siprec can be enabled) or b2b (siprec is not available).

Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 8/29/22 17:15, Hitesh Menghani wrote:
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 <sip:10.57.1.110:5060> for $ci\n");

siprec_start_recording(sip:10.57.1.110:5060 <sip:10.57.1.110:5060>);

                              b2b_init_request("b2bua", sip:sa@10.57.1.198:5060 <sip:sa@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


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to