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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Smith, Simon J
Sent:
18 October 2004 22:02
To: [EMAIL PROTECTED]
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

 

_______________________________________________
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