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

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Wed Aug 29 14:51:24 CDT 2007


On Wednesday 29 August 2007 14:00:40 Russell Bryant wrote:
> After thinking about it, I decided it would make more sense to attempt to
> make a way to use these features for any application, instead of putting
> this code in a lot of places.  I have a little bit of the code actually
> written, but I have an idea for how I want all of it to work in my head.

Hopefully, the S() and L() options aren't going away, since they work in a
slightly different way:  that is, they start the timer from when the slave
channel is *answered*, not *immediately* as this new feature works,
right?

> ; Limit conference to 5 minutes
> exten => s,1,Set(TIMEOUT(application)=300)
> exten => s,n,MeetMe(1234)
> ; Turn timeout back off
> exten => s,n,Set(TIMEOUT(application)=0)

This is inconsistent with how other timeouts currently work.  Other timeouts
jump to a particular extension in the current context, namely 't' (for
response) or 'T' (for absolute).

-- 
Tilghman



More information about the asterisk-dev mailing list