Added AGENTDIRECT feature, allows calls to go to logged-in VICIDIAL agents in their own queue without having to create a separate in-group for each agent. You can transfer calls to this using DIDs or VICIDIAL agents using transfer/conf with the destination user ID in the number-to-dial field and the AGENTDIRECT set as the transfer group.

git-svn-id: svn://192.168.202.10@1032 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2009-01-15 12:19:42 +00:00
parent 53ecca780d
commit c475b01ff3
10 changed files with 242 additions and 148 deletions
+10 -8
View File
@@ -14,6 +14,7 @@
#
# changes:
# 81007-0324 - First Build
# 90115-0645 - Activated AGENT call routing
#
$script = 'agi-DID_route.agi';
@@ -279,6 +280,15 @@ if ($did_route =~ /IN_GROUP/)
}
### Route call to a logged-in VICIDIAL agent
if ($did_route =~ /AGENT/)
{
$did_extension = "99909$S$did_id$S";
$exten_context = $ext_context;
$did_route = 'EXTEN';
}
### Route call to an extension on the system
if ($did_route =~ /EXTEN/)
{
@@ -297,14 +307,6 @@ if ($did_route =~ /EXTEN/)
### Route call to a logged-in VICIDIAL agent
if ($did_route =~ /AGENT/)
{
# THIS FEATURE NOT YET DONE
exit;
}