<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>async_route() might be better, from the same module, given it
makes it clear that the context is switched to another routing
block later. The async_sleep() is also ok, just be aware of its
side effects.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 05/05/16 10:03, Sirvan Paraste
wrote:<br>
</div>
<blockquote
cite="mid:CABc3+1ewxShBQ3CwSojK_SrTksWWnnqW7UoF5ch9eDrDLtN7+w@mail.gmail.com"
type="cite">
<div dir="ltr"><br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Hello all, </div>
<div><br>
</div>
<div>is there anyway to pause a
transaction for a short while (1
second) ? I have implemented the push
notification, when the callee get
register I need a short time to be
sure that the app is completely start
and can do its duty. otherwise it
missed the call. so I want to pause
the transaction.</div>
<div><br>
</div>
<div>I have tested async_sleep("1"); it
worked. is there any better solution ?</div>
<div><br>
</div>
<div>
<div>$var(hjoin) = 0;</div>
<div>lock("$tU");</div>
<div>async_sleep("1");</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, Berlin, May 18-20, 2016 - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
</body>
</html>