Page 1 of 1

timer GoAutoDial

PostPosted: Tue Apr 12, 2016 10:30 am
by jelastic
Hello,
Implemetar wish a timer in the GoAutoDial .
I have the following:

exten = > _91XXXXXXXXX , 1, Set ( TIMEOUT ( absolute ) = 720 )

But the calls are not cut at the set time .
What can I be doing wrong ?

---------------------------------------------------------------------------------------------------------------------------------
Version de GoAutoDial : GoAdmin ® 3.3-1406088000 | AGPLv2

Kernel Version 2.6.18-371.11.1.el5 (SMP)
Distro Name GoAutoDial CE 3.3

Processors 8
Model Intel(R) Xeon(R) CPU E3-1240 v3 @ 3.40GHz
CPU Speed 3.39 GHz
RAM : 16GB

Re: timer GoAutoDial

PostPosted: Fri Apr 15, 2016 11:19 pm
by williamconley
http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial

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)

LIMIT_PLAYAUDIO_CALLER - yes|no (default yes) - Play sounds to the caller.
LIMIT_PLAYAUDIO_CALLEE - yes|no - Play sounds to the callee.
LIMIT_TIMEOUT_FILE - File to play when time is up.
LIMIT_CONNECT_FILE - File to play when call begins.
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").

Modify your carrier dialplan entry "dial()" command to include the above option. Skipping all the warnings ... or you can include them if you want to be nice.