[asterisk-users] precision of wait dialplan application

David Backeberg dbackeberg at gmail.com
Fri May 8 11:39:04 CDT 2009


On Wed, May 6, 2009 at 8:17 AM, Johann Steinwendtner
<steinwendtner at gmx.net> wrote:
> But it seems the Wait(60) lasts longer than 60 seconds:
>
>     -- Executing [xxxxxxxxxxx at from_meridian:1] NoOp("DAHDI/29-1", "Test wait") in new stack
>     -- Executing [xxxxxxxxxxx at from_meridian:2] Answer("DAHDI/29-1", "") in new stack
>     -- Executing [xxxxxxxxxxx at from_meridian:3] NoOp("DAHDI/29-1", "Current timestamp: 20090506135813") in new stack
>     -- Executing [xxxxxxxxxxx at from_meridian:4] Wait("DAHDI/29-1", "60") in new stack
>     -- Executing [xxxxxxxxxxx at from_meridian:5] NoOp("DAHDI/29-1", "Current timestamp: 20090506135915") in new stack
>     -- Executing [xxxxxxxxxxx at from_meridian:6] Hangup("DAHDI/29-1", "") in new stack
>
> What is wrong in this example ?

Could be rounding error. Try it ten times and see if it's always that
wrong. If it's always that wrong, just do a wait(59) :-p



More information about the asterisk-users mailing list