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

Tarek Sawah tareksawah at hotmail.com
Wed Sep 28 13:31:50 CDT 2011



exten => 222,n,Dial(SIP/${EXTEN},,KkTtLL(60000:30000:10000))

this will call the extension and sets the limit to 60000MS which equals 60 seconds.. and will inform the caller of his remaining time when he has only 30 seconds left.. and will repeat the notification every ten seconds (this is an over do and playing such sounds files at this rate will consume the resources!)



Tarek Sawah

Information Technology  Adviser

Integrated Digital Systems

CCNP, MCSE, RHCE, TELECOM

USA: +1 386 492 9993



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

but there is no exemple for when i must put X in order to limit the call
 
can you please give me an exemple
 
regards


2011/9/28 Tarek Sawah <tareksawah at hotmail.com>



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

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



--
_____________________________________________________________________
-- 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/6280e8b0/attachment.htm>


More information about the asterisk-users mailing list