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

Sherwood McGowan sherwood.mcgowan at gmail.com
Sun Jan 30 06:58:54 CST 2011


On 1/30/2011 2:00 AM, Tilghman Lesher wrote:
> 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.
> 

A way to be able to specify a limit on the call itself would be to make
a callfile that "calls" a Local channel, which then performs the Dial
with the L option



More information about the asterisk-users mailing list