have you tried the L parameter in the dial command?
* *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. 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)
o *LIMIT_PLAYAUDIO_CALLER* - yes|no (default yes) - Play sounds to
the caller.
o *LIMIT_PLAYAUDIO_CALLEE* - yes|no - Play sounds to the callee.
o *LIMIT_TIMEOUT_FILE* - File to play when time is up.
o *LIMIT_CONNECT_FILE* - File to play when call begins.
o *LIMIT_WARNING_FILE* - File to play as warning if 'y' is
defined. If *LIMIT_WARNING_FILE* is not defined, then the
default behaviour is to announce ("You have [XX minutes] YY
seconds").
http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial
On 02/04/2012 16:01, Olivier CALVANO wrote:
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<[email protected]> a écrit :
Hi,
look at maxcalls parameter on the asterisk.conf file.
regards
El 02/04/2012 16:46, Olivier CALVANO escribió:
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 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
--
_____________________________________________________________________
-- 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