got the answer ---- the gettimeofday() is twice as fast as the one in older box, problem with system clock.
Nitin
On 2/12/06, Nitin Gupta <[EMAIL PROTECTED]> wrote:
well if I pass the parameter as whennext/4 instead of whennext/8 in file.c => ast_readaudio_callback() => ast_sched_add( .....,whennext/4,...)things start working fine.I debugged the sched.c and time.c didn't find why this should happen.Since the scheduler calculates time-interval and keeps schedule queue item wrt timeval struct, so changing the machine clock frequency as long as gettimeofday() returns the same value should not matter.I compared the whennext value in my new machine with the one in old machine where asterisk as it is works fine - the values in both machine are same.Anyone willing to debug things further??Nitin
On 2/12/06, Nitin Gupta <[EMAIL PROTECTED]> wrote:sorry can you elaborate a little, what exactly is timing issue?Thanks
On 2/12/06, Martin Joseph <[EMAIL PROTECTED] > wrote:
On Feb 12, 2006, at 1:05 AM, Nitin Gupta wrote:
> Sorry for re-posting this message -
> Iam trying to run the latest stable Asterix version 1.2.4. on 64 bit
> amd procesor.
> Things are working but the playback sounds that I hear when tring to
> connect over IAX are of very high frequency.
> i.e a sentence which should finish in 4 secs finishes in much lesser
> time. Where can be the problem? any configuration issue?
>
A timing issue with your linux distro? Whatever that is....
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users