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)

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to