Hello List,<div><br></div><div>I am using the following dialplan</div><div><br></div><div><div>exten => s,1,NoOp(IVR recording test)</div><div>exten => s,2,Answer()</div><div>exten => s,3,Background(say-temp-msg-prs-pound)</div>
<div>exten => s,4,Record(/var/lib/asterisk/sounds/custom/tempcustommessage.gsm)</div><div>exten => s,5,Background(to-listen-to-it&press-1)</div><div>exten => s,6,Background(to-accept-recording&press-2)</div>
<div>exten => s,7,Background(to-rerecord-announce&press-3)</div><div>exten => 1,1,Playback(/var/lib/asterisk/sounds/custom/tempcustommessage)</div><div>exten => 1,2,Goto(s,6)</div><div>exten => 2,1,System(cp /var/lib/asterisk/sounds/custom/tempcustommessage.gsm /var/lib/asterisk/sounds/custom/ORIGINALMESSAGEname.gsm)</div>
<div>exten => 2,2,Playback(auth-thankyou)</div><div>exten => 2,3,Hangup()</div><div>exten => 3,1,Goto(s,3)</div><div><br></div><div>The recorded message cannot be played I get "zero size file error" as below:-</div>
<div><br></div><div><div> -- Executing [1@test-pstn:1] Playback("DAHDI/i1/XXXXXX-b9", "/var/lib/asterisk/sounds/custom/tempcustommessage") in new stack</div><div>[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.</div>
<div><br></div></div><div>Has someone come across this issue and fixed it.</div><div><br></div>-- <br>Regards,<br><br>Ashish Agarwal<br>
</div>