why does this not work? i simply want to hear the recorded message exten => s,1,Answer() ;exten => s,n,Record(zipcodegutter1.gsm) ;zcg1 exten => s,n,Playback(zipcodegutter1) exten => s,n,Dial(SIP/c000001s/12222222259,120,A,(demo-thanks))
I assume thtat you've already recorded the message, and the out commented the Record app.. try adding .gsm to the playback, to ensure that * doesn't look for other formats.. and according to http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Record you should use file:format in the Record app, not file.format On Sat, Sep 4, 2010 at 3:40 PM, Thomas Perron <thomas.perron at gmail.com>wrote:> why does this not work? i simply want to hear the recorded message > > exten => s,1,Answer() > ;exten => s,n,Record(zipcodegutter1.gsm) ;zcg1 > exten => s,n,Playback(zipcodegutter1) > exten => s,n,Dial(SIP/c000001s/12222222259,120,A,(demo-thanks)) > > -- > _____________________________________________________________________ > -- 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 >-- -- Ondrej ?kopek -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100904/934bb170/attachment.htm
On 09/04/2010 08:40 PM, Thomas Perron wrote:> why does this not work? i simply want to hear the recorded message > > exten => s,1,Answer() > ;exten => s,n,Record(zipcodegutter1.gsm) ;zcg1 > exten => s,n,Playback(zipcodegutter1) > exten => s,n,Dial(SIP/c000001s/12222222259,120,A,(demo-thanks)) > >hi, try to put exten => s,n,Playback(silence/1) after Answer(), before your actual playback anton
no I am not sorry, and please reply to this list, and not to me directly.. On Sat, Sep 4, 2010 at 6:16 PM, Thomas Perron <thomas.perron at gmail.com>wrote:> thank you for your note on the Asterisk users group list > Are you in Scandanavia somewhere? > > Cheers > Tom >-- -- Ondrej ?kopek -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100904/c9d5be86/attachment.htm
Thank for your the tip Ondrej. Here is what worked on my CentOS box. exten => s,1,Answer() exten => s,n,Wait(2) exten => s,n,Record(zipcodegutter%d:gsm) exten => s,n,Wait(2) exten => s,n,Playback(${RECORDED_FILE}) exten => s,n,Wait(2) exten => s,n,Hangup() 2010/9/4 Ondrej ?kopek <skopekondrej at gmail.com>:> no I am not sorry, and please reply to this list, and not to me directly.. > > On Sat, Sep 4, 2010 at 6:16 PM, Thomas Perron <thomas.perron at gmail.com> > wrote: >> >> thank you for your note on the Asterisk users group list >> Are you in Scandanavia somewhere? >> >> Cheers >> Tom > > > > -- > -- Ondrej ?kopek > > -- > _____________________________________________________________________ > -- 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 >