Rob Fugina wrote:
Is it just me, or is the Dial timeout off by a factor of two?

This is not something that has appeared recently, but I finally
decided to do some timings and see if it was just my perception or
something...

With Dial(Blah/999,20), the phone will ring for 40 seconds.  With a
timeout value of 10, it rang for 20 seconds...

I tried looking at the code for Dial, but didn't really comprehend
much in a short period of time...  Does anybody see the same behavior?

I noticed it too, just haven't had the time to do the timings. But in general, I noticed that *ALL* time(out) based functions were off by almost a factor of 2, but in my case they were typically the other way, meaning a specified 20 second timeout would trigger in 10 seconds, 60 in 30, etc... I'm sure it worked both ways though, just haven't been able to _time_ it yet.


--
Christopher L. Wade                     Unistar-Sparco Computers, Inc.
Senior Systems Administrator                            dba Sparco.com
Email: [EMAIL PROTECTED]                             7089 Ryburn Drive
Phone: (901) 872 2272 / (800) 840 8400            Millington, TN 38053
Fax:   (901) 872 8482                                              USA

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to