Hello,
You can use the Record application for that. See the Wiki for more details.
Not sure of how to restrict the recording to 30 seconds. See here:
http://www.voip-info.org/tiki-index.php?page=Asterisk%20cmd%20Record
Regards, Girish
>From: Mag <mag0007@myfastmail.com>
>Reply-To: asterisk-users@lists.digium.com
>To: asterisk-users@lists.digium.com
>Subject: [Asterisk-Users] Incoming call voice data
>Date: Sun, 06 Jun 2004 10:47:14 -0400
>
>I am fairly new to asterisk. I have my DID set up with voicepulse.com. And
>when I call my DID I get an asterisk greeting. If I want to program my
>dialplan, as:
>
>IF I press 5, record a 30 second message and save the file as message.foo
>
>
>How can I do that?
>
>Thanks
_________________________________________________________________
Marriage? http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Join
BharatMatrimony.com for free.