[asterisk-users] Call files with a timer?

SIP sip at arcdiv.com
Fri Jul 25 13:33:27 CDT 2008


That worked beautifully. Thanks, Mark.  

N.


Mark Michelson wrote:
> 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
>   




More information about the asterisk-users mailing list