Dial à une possibilité de limiter la durée de l'appel.

core show application Dial (extrait) il faut utiliser 'L' dans les options.

[Syntax]
Dial(Technology/Resource[&Technology2/Resource2[&...]][,timeout[,options[,URL]]])



L(x[:y[:z]]):
x - Maximum call time, in milliseconds
y - Warning time, in milliseconds
z - Repeat time, in milliseconds
Limit the call to <x> milliseconds. Play a warning when <y> mill
iseconds are left. Repeat the warning every <z> milliseconds until time
expires.
This option is affected by the following variables:
${LIMIT_PLAYAUDIO_CALLER}:
yes
no
If set, this variable causes Asterisk to play the
prompts to the caller.
${LIMIT_PLAYAUDIO_CALLEE}:
yes
no
If set, this variable causes Asterisk to play the
prompts to the callee.
${LIMIT_TIMEOUT_FILE}:
filename
If specified, <filename> specifies the sound prompt
to play when the timeout is reached. If not set, the time remaining
will be announced.
${LIMIT_CONNECT_FILE}:
filename
If specified, <filename> specifies the sound prompt
to play when the call begins. If not set, the time remaining will
be announced.
${LIMIT_WARNING_FILE}:
filename
If specified, <filename> specifies the sound prompt
to play as a warning when time <x> is reached. If not set, the
time remaining will be announced.