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

Răzvan Crainea razvan at opensips.org
Wed Jun 10 07:57:25 EST 2020


Hi, Diptesh!

This is indeed a limitation due to the fact that the module was 
initially designed to work only starting from a 200 OK.

Please open a bug report for this on github so we can address it.

Best regards,

Răzvan

On 6/10/20 7:39 AM, Diptesh Patel wrote:
> Hello,
>
> 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"))
> {
>  xlog ("L_INFO", "SIP RECORDING THROUGH XX.XX.XXX.X00");
> }
>       else if (siprec_start_recording ("sip:XX.XX.XXX.X04:5060"))
> {
>  xlog ("L_INFO", "SIP RECORDING THROUGH XX.XX.XXX.X04");
> }
>       else
> sl_send_reply ("404", "SIPREC Server NOT FOUND ");
>     }
> }
>
> local_route {
>     if(is_method("INVITE")) {
>         xlog("L_INFO","LOCAL ROUTE");
> subst('/^Contact:(.*)<sip:(.*)>(.*)$/Contact:\1<sip:\2>;+sip.src\3/ig');
>     }
> }
>
> Thanks & Regards
> *Diptesh Patel*
> Software Developer
> Ecosmob Technologies Ltd,
> Ahmedabad
> Mo:*+919898962659*
>
> *Disclaimer*
> 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.
>
> *Confidentiality*
> 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 
> problems.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200610/a858fb18/attachment-0001.html>


More information about the Users mailing list