On Jul 25, 2008, at 11:18 AM, 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 could always to something like...

exten => _NXXNXXXXXX,1,Set(OutboundNumber=${EXTEN})
exten => _NXXNXXXXXX,n,goto(s,1)
exten => s,1,Dial(SIP/[EMAIL PROTECTED]|60| L(10800000:60000:30000))

may not be pretty, but is quick & dirty ;)


Fred Posner
[EMAIL PROTECTED]
www.teamforrest.com



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
-- 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