[asterisk-users] Call Record and Playing

Ashish Agarwal ashishag67 at gmail.com
Sat Jun 2 07:04:15 CDT 2012


Hello List,

I am using the following dialplan

exten => s,1,NoOp(IVR recording test)
exten => s,2,Answer()
exten => s,3,Background(say-temp-msg-prs-pound)
exten => s,4,Record(/var/lib/asterisk/sounds/custom/tempcustommessage.gsm)
exten => s,5,Background(to-listen-to-it&press-1)
exten => s,6,Background(to-accept-recording&press-2)
exten => s,7,Background(to-rerecord-announce&press-3)
exten => 1,1,Playback(/var/lib/asterisk/sounds/custom/tempcustommessage)
exten => 1,2,Goto(s,6)
exten => 2,1,System(cp
/var/lib/asterisk/sounds/custom/tempcustommessage.gsm
/var/lib/asterisk/sounds/custom/ORIGINALMESSAGEname.gsm)
exten => 2,2,Playback(auth-thankyou)
exten => 2,3,Hangup()
exten => 3,1,Goto(s,3)

The recorded message cannot be played I get "zero size file error" as
below:-

    -- Executing [1 at test-pstn:1] Playback("DAHDI/i1/XXXXXX-b9",
"/var/lib/asterisk/sounds/custom/tempcustommessage") in new stack
[Jun  2 17:27:30] WARNING[28250][C-00001200]: file.c:492 filehelper: File
/var/lib/asterisk/sounds/custom/tempcustommessage.gsm detected to have zero
size.

Has someone come across this issue and fixed it.

-- 
Regards,

Ashish Agarwal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120602/009b39d8/attachment.htm>


More information about the asterisk-users mailing list