[Asterisk-Users] Record() help
Mauricio Pineda
mauricio at secexp.com
Fri Nov 5 14:46:29 MST 2004
Hello all,
I've been trying to get the Record() feature working on my system so I can customize it to my needs, unfortunately, it seems that the format for the Record() command has changed a little, and I can't find the proper syntax.
The reason I think the command has changed is because in every peiece of documentation I have found, the format is as follows:
exten => 2700,2,Record(/tmp/asterisk-recording:gsm)
However, when I use that command, this is what I get in asterisk:
-- Executing NoOp("SIP/1001-47ed", "") in new stack
-- Executing Goto("SIP/1001-47ed", "intern-post|2700|1") in new stack
-- Goto (intern-post,2700,1)
-- Executing Wait("SIP/1001-47ed", "1") in new stack
-- Executing Record("SIP/1001-47ed", "/tmp/asterisk-recording:gsm") in new stack
Nov 5 13:38:40 WARNING[557074]: app_record.c:90 record_exec: Record requires an argument (filename)
I have also tried to change the format to this:
exten => 2700,2,Record,(/tmp/asterisk-recording:gsm) ; Note the added comma between Record and (/tmp...)
But all I end up with in the logs is this:
Nov 5 13:43:59 WARNING[589842]: pbx.c:1320 pbx_extension_helper: No application 'Record,' for extension (intern-post, 2700, 2)
== Spawn extension (intern-post, 2700, 2) exited non-zero on 'SIP/1001-3e46'
-- Executing Macro("SIP/1001-3e46", "record-cleanup") in new stack
-- Executing SetVar("SIP/1001-3e46", "MONITORDIR=/var/spool/asterisk/monitor") in new stack
Any help would be greatly appreciated!
-Mauricio
--
"For three days after death hair and fingernails continue to grow but
phone calls taper off."
-- Johnny Carson
More information about the asterisk-users
mailing list