<div dir="auto">Okay, I'll use some other way to do this wait and action requirement as sleep() are decreasing performance for longer periods of time.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 18 Apr, 2024, 22:20 Brett Nemeroff, <<a href="mailto:brett@nemeroff.com">brett@nemeroff.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Can you do those operations outside of opensips? For example, can you receive that 200 and push an event to RabbitMQ and have an outboard worker do the delay and action? <div>-Brett</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 16, 2024 at 9:27 AM Parthesh Bhavsar via Users <<a href="mailto:users@lists.opensips.org" target="_blank" rel="noreferrer">users@lists.opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I'm facing a challenge in my OpenSIPS implementation where I need to perform certain operations after receiving a 200 OK response, but only after waiting for 10 seconds. Currently, I'm considering using the sleep() function, but I'm concerned about its impact on performance.<br><br>Is there a recommended approach to achieve this functionality without compromising OpenSIPS performance? I'd appreciate any advice or alternative solutions you can offer.<div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr">Regards,<div><br></div><div><b>Parthesh Bhavsar | Software Engineer | VOIP</b></div><div><br></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 16, 2024 at 7:39 PM Parthesh Bhavsar <<a href="mailto:parthesh.bhavsar@ecosmob.com" target="_blank" rel="noreferrer">parthesh.bhavsar@ecosmob.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div>I want to use Launch and async function for function sleep() as I need to wait for some time to do some operations but from the route which I use in above function I am not able to use any variable for my operation and from documentation it seems only able to use those variable which sleep() function use so is there any alternative solution to get variable??? or any other function on which I can wait for a specific time without blocking opensips??</div><div><br></div><div><br></div><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr">Regards,<div><br></div><div><b>Parthesh Bhavsar | Software Engineer | VOIP</b></div><div><br></div></div></div></div></div></div>
</blockquote></div>
<br>
<div><b><a href="https://www.ecosmob.com/opensips-summit/" target="_blank" rel="noreferrer"><img src="https://ecosmobnew.ecosmob.net/wp-content/uploads/2024/04/opensip-email-signature.jpg" alt="https://www.ecosmob.com/opensips-summit/"></a><br></b></div><div><b>Disclaimer</b><br></div><div><div><span>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.</span></div></div><div><span><br></span></div><div><span><b>Confidentiality</b></span></div><div><span>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.</span></div><div><span><br></span></div><div><span><b>Caution for viruses, malware etc.</b></span></div><div><span>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. </span></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank" rel="noreferrer">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>
</blockquote></div>
<br>
<div><b><a href="https://www.ecosmob.com/opensips-summit/" target="_blank"><img src="https://ecosmobnew.ecosmob.net/wp-content/uploads/2024/04/opensip-email-signature.jpg" alt="https://www.ecosmob.com/opensips-summit/"></a><br></b></div><div><b>Disclaimer</b><br></div><div><div><span>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.</span></div></div><div><span><br></span></div><div><span><b>Confidentiality</b></span></div><div><span>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.</span></div><div><span><br></span></div><div><span><b>Caution for viruses, malware etc.</b></span></div><div><span>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. </span></div>