[asterisk-users] Can a duration limit be specified in spool call file?

Tilghman Lesher tilghman at meg.abyt.es
Sun Jan 30 02:00:15 CST 2011


On Saturday 29 January 2011 05:07:49 DHAVAL INDRODIYA wrote:
> On Sat, Jan 29, 2011 at 6:19 AM, Tilghman Lesher 
<tilghman at meg.abyt.es>wrote:
> > On Friday 28 January 2011 18:27:15 Bruce B wrote:
> > > Hi Everyone,
> > > 
> > > I don't see any parameter for limiting duration of a call in the
> > > .call file for Asterisk spool outgoing directory.
> > > 
> > > I'd rather not use a MeetMe to drop the call in a conference room
> > > and to then limit the call duration as that complicates things
> > > unnecessarily.
> > > 
> > > I am wondering if there is anything else I can do or if the
> > > "Channel" parameter take call duration like the "DIAL" parameter?
> > 
> > No, but you can specify a Local channel as the channel in the call
> > file and then set a TIMEOUT(absolute) for the call, before you Dial()
> > the actual channel you want to use.  Keep in mind that the actual
> > channel could be specified by a Set variable in the callfile.
> 
> what about this
> 
> *WaitTime: <number>* Seconds to wait for an answer. Default is 45
> http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out

That only limits the amount of time the callfile allows for the channel to
be answered, not the duration of the overall call.

-- 
Tilghman



More information about the asterisk-users mailing list