[OpenSIPS-Users] SIPREC server does not send BYE while capturing Early-Media.

Diptesh Patel diptesh.patel at ecosmob.com
Wed Jun 10 04:39:12 EST 2020


I am using the SIPREC module to send the request to SRS with fail-over.
While recording early media and after Originator Cancel OpenSIPS does not
send a BYE request to the SRS.  Please look at the script snippet of how I
implemented that.

if (is_method ("INVITE"))
      if (siprec_start_recording ("sip:XX.XX.XXX.X00:5060"))
      else if (siprec_start_recording ("sip:XX.XX.XXX.X04:5060"))
sl_send_reply ("404", "SIPREC Server NOT FOUND ");

local_route {
    if(is_method("INVITE")) {
        xlog("L_INFO","LOCAL ROUTE");


Thanks & Regards
*Diptesh Patel*
Software Developer
Ecosmob Technologies Ltd,

In addition to generic Disclaimer which you have agreed on our 
website, any views or opinions presented in this email are solely those of 
the originator and do not necessarily represent those of the Company or its 
sister concerns. Any liability (in negligence, contract or otherwise) 
arising from any third party taking any action, or refraining from taking 
any action on the basis of any of the information contained in this email 
is hereby excluded.

This communication (including any 
attachment/s) is intended only for the use of the addressee(s) and contains 
information that is PRIVILEGED AND CONFIDENTIAL. Unauthorized reading, 
dissemination, distribution, or copying of this communication is 
prohibited. Please inform originator if you have received it in error.

*Caution for viruses, malware etc.*
This communication, including any 
attachments, may not be free of viruses, trojans, similar or new 
contaminants/malware, interceptions or interference, and may not be 
compatible with your systems. You shall carry out virus/malware scanning on 
your own before opening any attachment to this e-mail. The sender of this 
e-mail and Company including its sister concerns shall not be liable for 
any damage that may incur to you as a result of viruses, incompleteness of 
this message, a delay in receipt of this message or any other computer 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200610/3bef859b/attachment.html>

More information about the Users mailing list