Thanks William,
Indeed your right, it's asterisk 11. My bad
I confirmed that it ignores [survey wait seconds] only when [survey method] is set to HANGUP.
-- When I changed [survey method] to EXTENSION which acts like hangup when sent to ext 8300, I noticed it started to work. (I first did what you said by starting with default campaign and first noticed it worked when transferring to a live agent also)
I also discovered that the survey_third_status and survey_fourth_status are only updated if the user listens to the whole [survey third (or fourth) audio file]. If they hang up before this, it never updates the [status] volumn in vicidial_log and vicidial_list. Same with opt-in's. It leaves the status at the original updated state of "PU"
In case anyone else runs into the same problem, I'll let you know what I did in order to change this for my needs, I modified the /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi file
In line 1422 I added BEFORE this line:
$AGI->stream_file("$survey_third_audio_file_array[$w]");
The following code which I found later in the route:
$stmtA = "UPDATE vicidial_log FORCE INDEX(lead_id) set status='$survey_third_status', end_epoch='$now_date_epoch', length_in_sec='$drop_seconds', term_reason='CALLER' where lead_id = '$CIDlead_id' and uniqueid LIKE \"$Euniqueid%\";";
$affected_rows = $dbhA->do($stmtA);
$dbhP=$dbhA; $mysql_count='01018'; $MEL_aff_rows=$affected_rows; &mysql_error_logging;
$stmtA = "UPDATE vicidial_list set status='$survey_third_status' where lead_id = '$CIDlead_id';";
$affected_rows = $dbhA->do($stmtA);
$dbhP=$dbhA; $mysql_count='01019'; $MEL_aff_rows=$affected_rows; &mysql_error_logging;
I also added the same above 4 lines after Line 1428, inbetween the { and }.
And to implement the same change on fourth digit, lines 1545 & 1551
And then on line 1721 & 1736 for when they opt in.
Now when a caller presses the 3rd or 4th input digit, or opts in, it updates the STATUS field immediately.
I haven't used this features on previous versions of VICI, so I'm not sure if this is how it's always been.
Thanks so much for your help.