[asterisk-dev] Application timeouts, Periodic and Scheduled Announcements
Kaloyan Kovachev
kkovachev at varna.net
Thu Aug 30 03:01:25 CDT 2007
On Wed, 29 Aug 2007 14:28:30 -0500, Steven Critchfield wrote
> 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
> remaining.
>
> Some really cool thoughts come to mind with the ability to reenter the
> dialplan at predetermined intervals.
+1 on this (see my prevoius posts)
By being able to execute other dialplan apps or routines at scheduled
intervals and having an application Announce(beep,<channel>,chan|bridge) will
be much more powerful than just being able to send scheduled announsments.
> --
> Steven Critchfield <critch at basesys.com>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list