Page 1 of 1

Hot key - delay hangup - short duration calls

PostPosted: Tue Aug 29, 2017 10:10 am
by Noah
Calling the guru's

Agents using hotkey is super efficient. But for projects where they are not allowed to leave messages on machines, hot keys can and do cause short duration trouble.

After a good number of days reading dialplan options, manager_send.pl and AST_manager_send.pl and some agi's, agi-VDAD_ALL_outbound.agi...leaning toward modifying the php.
Tried dialplan - wait there after call connect doesn't work, the AST_send_action_child.pl crafts the the cmd hangup on the channel and the rest of the dialplan doesn't get referenced after call connect.

Looking for some advice on where a 4-5 second wait before call termination to essentially eliminate short duration complaints from telco's.
Or at least make it an option to turn on or off in the GUI.

Any thoughts if one of these is better than the other to modify? Leaning toward manager_send.php so the agent isn't tied up on the disconnect process.
/srv/www/htdocs/agc/manager_send.php
or perhaps this might be better to put a sleep command in the perl?
/usr/share/astguiclient/AST_manager_send.pl

Re: Hot key - delay hangup - short duration calls

PostPosted: Fri Sep 01, 2017 4:57 pm
by Noah
We've come up with a different approach here.
Changed /acg/vicidial.php to include the hotkey dispo for answering machines and replace 4 seconds of silence to vm-goodbye.

There's 2 lines that you need to add this snippet to
" || (HKdispo_ary[0] == 'ANSWER')"

ANSWER or whatever your dispo is, must be upper case
Here's the whole line
if ( (HKdispo_ary[0] == 'LTMG') || (HKdispo_ary[0] == 'XFTAMM') || (HKdispo_ary[0] == 'ANSWER') )

Re: Hot key - delay hangup - short duration calls

PostPosted: Tue Sep 05, 2017 9:06 pm
by williamconley
Wouldn't "wait for silence" of no/zero combined with setting the answering machine message to goodbye accomplish the same thing with no code changes?

Re: Hot key - delay hangup - short duration calls

PostPosted: Mon Sep 25, 2017 1:21 pm
by Noah
williamconley wrote:Wouldn't "wait for silence" of no/zero combined with setting the answering machine message to goodbye accomplish the same thing with no code changes?


The vm-goodbye message should still be overwritten with silence.
And with the variety of times an agent could click the hotkey....overwriting with 5.5 or 6 seconds of silence would cover the time needed. And you'll still get a relevant disconnect with the timing needed. Otherwise the channel stays open if someone has a long answering machine message, like out of office vacation message or something like that.

Re: Hot key - delay hangup - short duration calls

PostPosted: Tue Dec 05, 2017 9:49 pm
by Noah
Just a quick update on answering machine hotkey disconnect, not one short duration call on hotkey since the change.