salaheddine elharit
2011-Sep-28  17:59 UTC
[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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20110928/07526f4d/attachment.htm>
Paul Belanger
2011-Sep-28  18:02 UTC
[asterisk-users] Limit outbond calls duration to 1 minute
On 11-09-28 01:59 PM, salaheddine elharit wrote:> 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 >*CLI> core show application Dial Look at the 'L' flag -- Paul Belanger Digium, Inc. | Software Developer twitter: pabelanger | IRC: pabelanger (Freenode) Check us out at: http://digium.com & http://asterisk.org
Tarek Sawah
2011-Sep-28  18:08 UTC
[asterisk-users] Limit outbond calls duration to 1 minute
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>