[asterisk-users] Limit outbond calls duration to 1 minute

Tarek Sawah tareksawah at hotmail.com
Wed Sep 28 13:08:59 CDT 2011


have a look at the following:
"L(x[:y][:z]): Limit the call to 'x' 
ms, warning when 'y' ms are left, repeated every 'z' ms) Only 'x' is 
required, 'y' and 'z' are optional."


source 
http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial

Tarek Sawah

Information Technology  Adviser

Integrated Digital Systems

CCNP, MCSE, RHCE, TELECOM

USA: +1 386 492 9993



Date: Wed, 28 Sep 2011 17:59:27 +0000
From: salah.elharit200 at gmail.com
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Limit outbond calls duration to 1 minute

hello list 
 

i have configured a sip account in order to do an outbound calls and i want to force a hang up after 1 min for 222 sip

 
 
in extensions.conf i have 
 

exten => 222,1,MixMonitor(sip_${EXTEN}_${UNIQUEID}.wav|av(0}V(0))
exten => 222,n,AbsoluteTimeout(60)

exten => 222,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes)
exten => 222,n,Dial(SIP/${EXTEN},,KkTt)
exten => 222,n,Hangup();
could you please see this code and tell me waht is wrong
thanks and regards
 
 

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110928/2f6340e0/attachment.htm>


More information about the asterisk-users mailing list