[SR-Users] Microseconds not milliseconds in cfgutils usleep

Daniel-Constantin Mierla miconda at gmail.com
Thu Jun 6 11:59:29 CEST 2013


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:
> 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
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
   * http://asipto.com/u/katu *




More information about the sr-users mailing list