Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] length voicefile


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
Arjan.Kroon at mobilli...
Guest





PostPosted: Wed May 28, 2008 4:15 am    Post subject: [asterisk-users] length voicefile Reply with quote

Hi,



The recorded format is wav.

But in the application I don't use AGI for recording a voicefile.



Grt,



Arjan Kroon



________________________________

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tim Panton
Sent: woensdag 28 mei 2008 10:45
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] length voicefile





On 28 May 2008, at 08:21, Arjan Kroon | Mobillion wrote:



Hi,



Is there a way to get the length (in seconds) of a voicefile which is
record with the command Record()?



Well, if you know the format, you can do some maths on the length of the
file.

RECORDED_FILE is set to the filename, so a exec'ing shell script should
do the trick.



AGI seems to return the length of the recording in 'offset'



http://www.voip-info.org/wiki/view/record+file



But app_record seems not to.



Tim.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080528/9e0a4f02/attachment-0001.htm
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services