<font size="2"><div><div>You may also use</div><div><br></div><div>exten => 223,n,Dial(SIP/${EXTEN},,KktL(25000))</div></div><div style="font-family: arial; "><br><br></div><span class="Apple-style-span" style="font-family: arial; ">On Fri, Jul 8, 2011 at 5:33 PM, Eric Wieling </span><span class="Apple-style-span" style="font-family: arial; "><span dir="ltr"><<a href="mailto:EWieling@nyigc.com">EWieling@nyigc.com</a>></span></span><span class="Apple-style-span" style="font-family: arial; "> wrote:</span></font><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<br>
> -----Original Message-----<br>
> From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>
> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of<br>
> salaheddine elharit<br>
> Sent: Friday, July 08, 2011 6:43 AM<br>
> To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
> Subject: [asterisk-users] timeout with outbound calls<br>
<div><div></div><div class="h5">><br>
> Hi<br>
><br>
> i want to use timeout with asterisk 1.4 in order to hangup<br>
> the outbound calls after 25 sec<br>
><br>
> i call my mobile number 067xxxxxxx from my sip acount 223<br>
> and i want to hangu up the call automatic after 25 sec but<br>
> there is no hangup after 25<br>
><br>
> could you please help me<br>
><br>
> exten => 223,1,Set(TIMEOUT(absolute)=25) exten =><br>
> 223,n,MixMonitor(sip_${EXTEN}_${UNIQUEID}.wav|av(0}V(0))<br>
> exten => 223,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes)<br>
> exten => 223,n,Dial(SIP/${EXTEN},,KkTt)<br>
> exten => 223,n,Hangup();<br>
><br>
> Best Regards.<br>
><br>
<br>
</div></div>pbx*CLI> core show application dial<br>
<br>
-= Info about application 'Dial' =-<br>
<br>
[Synopsis]<br>
Attempt to connect to another device or endpoint and bridge the call.<br>
[snip]<br>
L(x[:y[:z]]):<br>
x - Maximum call time, in milliseconds<br>
y - Warning time, in milliseconds<br>
z - Repeat time, in milliseconds<br>
Limit the call to <x> milliseconds. Play a warning when <y> mill<br>
iseconds are left. Repeat the warning every <z> milliseconds until time<br>
expires.<br>
This option is affected by the following variables:<br>
${LIMIT_PLAYAUDIO_CALLER}:<br>
yes<br>
no<br>
If set, this variable causes Asterisk to play the<br>
prompts to the caller.<br>
${LIMIT_PLAYAUDIO_CALLEE}:<br>
yes<br>
no<br>
If set, this variable causes Asterisk to play the<br>
prompts to the callee.<br>
${LIMIT_TIMEOUT_FILE}:<br>
filename<br>
If specified, <filename> specifies the sound prompt<br>
to play when the timeout is reached. If not set, the time remaining<br>
will be announced.<br>
${LIMIT_CONNECT_FILE}:<br>
filename<br>
If specified, <filename> specifies the sound prompt<br>
to play when the call begins. If not set, the time remaining will<br>
be announced.<br>
${LIMIT_WARNING_FILE}:<br>
filename<br>
If specified, <filename> specifies the sound prompt<br>
to play as a warning when time <x> is reached. If not set, the<br>
time remaining will be announced.<br>
[snip]<br>
<div><div></div><div class="h5"><br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br> <br><span style="font-family:tahoma,sans-serif">Thanks & Regards,</span><br style="font-family:tahoma,sans-serif"><br style="font-family:tahoma,sans-serif">
<span style="font-family:tahoma,sans-serif">Umair Bari</span><font class="Apple-style-span" face="tahoma, sans-serif"><br></font>