Call Record and Playing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@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
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [DCCP]     [Gimp]     [100% Free Online Dating]     [Yosemite News]     [Arts & Crafts]     [Yosemite Photos]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]


Add to Google Powered by Linux