Hello,
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.
Cheers, Daniel
On 05/05/16 10:03, Sirvan Paraste wrote:
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");
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users