[SR-Users] Pause a Transaction for a short while

Sirvan Paraste sirvan at golden-time.co
Thu May 5 10:03:44 CEST 2016


Hello all,

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.

I have tested async_sleep("1"); it worked. is there any better solution ?

$var(hjoin) = 0;
lock("$tU");
async_sleep("1");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160505/18cf1a30/attachment.html>


More information about the sr-users mailing list