[OpenSIPS-Users] Launch and async
Parthesh Bhavsar
parthesh.bhavsar at ecosmob.com
Tue Apr 16 14:25:56 UTC 2024
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.
Is there a recommended approach to achieve this functionality without
compromising OpenSIPS performance? I'd appreciate any advice or alternative
solutions you can offer.
Regards,
*Parthesh Bhavsar | Software Engineer | VOIP*
On Tue, Apr 16, 2024 at 7:39 PM Parthesh Bhavsar <
parthesh.bhavsar at ecosmob.com> wrote:
> Hello,
> 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??
>
>
> Regards,
>
> *Parthesh Bhavsar | Software Engineer | VOIP*
>
>
--
* <https://www.ecosmob.com/opensips-summit/>
*
*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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240416/e14f63ea/attachment.html>
More information about the Users
mailing list