Added RA_USER_PHONE On-Hook CID to solve last RINGAGENT issues

git-svn-id: svn://192.168.202.10@3061 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2019-01-22 01:21:49 +00:00
parent b4614a8234
commit bdd4633676
4 changed files with 16 additions and 6 deletions
@@ -230,6 +230,7 @@
# 180601-0932 - Added user variable sending option on enter_ingroup_url feature
# 180806-0809 - Added CID callback number validation and change features
# 180926-2351 - Added _wait_time options for next_agent_call
# 190121-1505 - Added RA_USER_PHONE On-Hook CID to solve last RINGAGENT issues
#
$script = 'agi-VDAD_ALL_inbound.agi';
@@ -3443,6 +3444,11 @@ while ( ($drop_timer <= $DROP_TIME) && ($wait_in_queue > 0) && ($MCdrop_override
$PADauto_call_id = sprintf("%011s", $auto_call_id); while (length($PADauto_call_id) > 11) {chop($PADauto_call_id);}
$RINGALLqueryCID = "RINGAGENT$PADauto_call_id";
if ($on_hook_cid =~ /RA_AGENT_PHONE/)
{
$RINGALLqueryCID = "RA_$ARuser[$ragp]_$phone_number";
$RINGALLqueryCID = substr( $RINGALLqueryCID, 0, 20);
}
if ($on_hook_cid =~ /INGROUP/)
{$RINGALLqueryCID = "$channel_group";}
if ($on_hook_cid =~ /CUSTOMER_PHONE/)