[asterisk-dev] Application timeouts, Periodic and Scheduled Announcements

Steven Critchfield critch at basesys.com
Wed Aug 29 14:28:30 CDT 2007

On Wed, 2007-08-29 at 14:00 -0500, Russell Bryant wrote:
> 2) Periodic announcements
> This just uses an additional argument to START_ANNOUNCE, to set a repeat interval.
> ; Set a periodic announement to play a beep every 10 seconds
> exten => s,1,Set(ANNOUNCE_ID=${START_ANNOUNCE(beep,0,10)})
> ; Call someone and have a beep in your ear every 10 seconds.
> exten => s,n,Dial(IAX2/123)
> ; Stop the announcement
> exten => s,n,NoOp(Announcement ran for ${STOP_ANNOUNCE(${ANNOUNCE_ID})} seconds)

Not exactly a suggestion, but a cool idea comment. The above section
would be cool for setting up periodic commercials during MOH. 

So maybe with that idea, a way for you to either periodically toss to a
macro/extension such that the dialplan could decide what message to play
at the time. For instance, the calling card people might want to toss to
a macro that not only informed the user of time passage, but of time

Some really cool thoughts come to mind with the ability to reenter the
dialplan at predetermined intervals.
Steven Critchfield <critch at basesys.com>

More information about the asterisk-dev mailing list