[Asterisk-Users] Anybody - please help me with this
Race Vanderdecken
asterisk at vanderdecken.com
Tue Oct 19 13:33:53 MST 2004
SS,
3600 * 1000 * 3 = 10800000 or 10,800,000
You have 1080000 or 1,080,000
My max record time is 3 hours (1080000ms) and I am using a command
similar to the following:
my $x = $AGI->record_file($wavfile, 'wav', '0123456789', 1080000, 1);
1,080,000 / 3600 / 1000 = 0.3 or 3/10's of an hour or 18
minutes
Try adding another 0 to the mix.
Please let me know if that is the problem.
Race Vanderdecken
Asterisk AT Vanderdecken dot com
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Smith,
Simon J
Sent: 18 October 2004 22:02
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Anybody - please help me with this
Hi all,
I have a problem that I cannot seem to resolve and find an answer for.
I use AGI and the Perl AGI library to record wave files at various times
through out a dial plan. If these recordings go over say 15 minutes or
above (approx), all of a sudden the channel stops caring about DTMF
escape digits and no matter what keys you press you cannot escape the
recording. It is almost as if something is building up and large
recordings somehow affect DTMF recognition.
My max record time is 3 hours (1080000ms) and I am using a command
similar to the following:
my $x = $AGI->record_file($wavfile, 'wav', '0123456789', 1080000, 1);
I verified that the file is still recording and getting written, but any
digit I press after an extended amount of time is completely ignored.
Please can anyone help me!
Thanks.SS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041019/9dc3aca7/attachment.htm
More information about the asterisk-users
mailing list