<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
have you tried the L parameter in the dial command?<br>
<ul>
<li> <strong>L(</strong>x[:y][:z]<strong>)</strong>: 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. Numbers must
be integers- beware of AGI scripts that may return long integers
in scientific notation (esp PHP 5.2.5&6) The following
special variables are optional for limit calls: (pasted from
app_dial.c)
<ul>
<li> <strong>LIMIT_PLAYAUDIO_CALLER</strong> - yes|no
(default yes) - Play sounds to the caller.</li>
<li> <strong>LIMIT_PLAYAUDIO_CALLEE</strong> - yes|no - Play
sounds to the callee.</li>
<li> <strong>LIMIT_TIMEOUT_FILE</strong> - File to play when
time is up.</li>
<li> <strong>LIMIT_CONNECT_FILE</strong> - File to play when
call begins.</li>
<li> <strong>LIMIT_WARNING_FILE</strong> - File to play as
warning if 'y' is defined. If <strong>LIMIT_WARNING_FILE</strong>
is not defined, then the default behaviour is to announce
("You have [XX minutes] YY seconds").</li>
</ul>
</li>
</ul>
<a class="moz-txt-link-freetext" href="http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial">http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial</a><br>
<br>
On 02/04/2012 16:01, Olivier CALVANO wrote:
<blockquote
cite="mid:CAJajPeesXMBhFhnkOseN+rHiix8u_7tKVa20bGvE2wnmz6+tiw@mail.gmail.com"
type="cite">
<pre wrap="">Thanks but i read:
"; The maximum number of concurrent calls you want to allow"
Not limit the duration of a call ;=)
Le 2 avril 2012 16:55, Bakko <a class="moz-txt-link-rfc2396E" href="mailto:asannucci@gmail.com"><asannucci@gmail.com></a> a écrit :
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
look at maxcalls parameter on the asterisk.conf file.
regards
El 02/04/2012 16:46, Olivier CALVANO escribió:
</pre>
<blockquote type="cite">
<pre wrap="">
Hi
it's possible into Asterisk 1.6.x to limit a call at 120 mn ?
after 120mn, hangup and the customer call a new time
thanks
olivier
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
<a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
<pre wrap="">
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
<a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
<pre wrap="">
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
<a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
</body>
</html>