This will definitely work for a wakeup call, processed from a call file:
;file sample.call Channel: SIP/1234 MaxRetries: 2 RetryTime: 60 WaitTime: 30 Context: wakeup Extension: s Priority: 1
In extensions.conf:
[wakeup] exten => s,1,Wait(2) exten => s,2,Playback(tt-monkeys) exten => s,3,Hangup
It will wait for the user to answer the phone and then play back the monkey-fest.
John
Matthew B Marlowe wrote:
That's right, my mistake. Forgot you were using a call file. Sorry :)
Definitely looking forward to previewing your script though!
Good luck.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Fugina Sent: Sunday, February 29, 2004 6:52 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Hotel wake-up
On Sun, Feb 29, 2004 at 06:35:54PM -0500, Matthew B Marlowe wrote:
I haven't figured out yet how to make * wait until the call in answered before playing a recording (without the recipient pressing
#).
Show application dial.
Use option A
Unfortunately, there doesn't seem to be anywhere to put options such as that in a call file. I've tried several things, but haven't found the majick yet...
Rob
-- Rob Fugina, Systems Guy [EMAIL PROTECTED] -- http://www.geekthing.com My firewall filters MS Office attachments.
!edis gnorw eht morf siht ta gnikool era uoY _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
