[asterisk-users] Call files with a timer?
Mark Michelson
mmichelson at digium.com
Fri Jul 25 12:24:32 CDT 2008
Mark Michelson wrote:
> SIP wrote:
>> Is there a way to set a call timer on calls created with call files? I'm
>> looking specifically at having Asterisk hang up the call after a certain
>> period of connection.
>>
>> Obviously, when I try passing an |S(time) on the channel line, I get an
>> invalid call file... so I'm wondering if there's another way to do it.
>>
>>
>> N.
>
> You should be able to put S(time) as part of the Data: line of the callfile.
> Something like the following:
>
> Channel: SIP/1
> Application: Dial
> Data SIP/2||S(time)
>
Oops, I left out a ':'
Data: SIP/2||S(time)
More information about the asterisk-users
mailing list