Hello,
According to this page :
http://kamailio.org/docs/modules/stable/modules/cfgutils.html#idp15252400
usleep will sleep for the number of milli-seconds specified.
I am familiar with Linux's usleep which accepts milliseconds and therefore had a look at the code in Kamailio, it looks to me that your usleep accepts micro-seconds ( 1/1000000 of a second ) and not milli seconds.
Can anyone confirm this? If so, maybe update the doc.
Thanks,
David
Hello,
indeed it is microseconds, I fixed the docs on master branch. I will backport soon.
Thanks, Daniel
On 6/5/13 5:42 PM, David K wrote: