Added Admin -> Contacts section(must be enabled in System Settings) which allows for system-wide transfer contacts to be used in conjunction with Custom Transfer being set to VIEW_CONTACTS and Enable Transfer Presets set to CONTACTS. Able to be disabled per user. Also can be accessed from a separate database by using the Alt Log settings in System Settings. The purpose of this feature is to be used for a receptionist or operator that needs to transfer calls to non-agents.

git-svn-id: svn://192.168.202.10@1743 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2011-10-16 14:53:29 +00:00
parent 72a19b7e55
commit c43b89ea66
11 changed files with 986 additions and 79 deletions
+23
View File
@@ -1099,3 +1099,26 @@ UPDATE system_settings SET db_schema_version='1302',db_schema_update_date=NOW()
CREATE UNIQUE INDEX viga_user_group_id on vicidial_inbound_group_agents (user, group_id);
UPDATE system_settings SET db_schema_version='1303',db_schema_update_date=NOW() where db_schema_version < 1303;
ALTER TABLE vicidial_campaigns MODIFY enable_xfer_presets ENUM('DISABLED','ENABLED','CONTACTS') default 'DISABLED';
ALTER TABLE vicidial_users ADD preset_contact_search ENUM('NOT_ACTIVE','ENABLED','DISABLED') default 'NOT_ACTIVE';
ALTER TABLE vicidial_users ADD modify_contacts ENUM('1','0') default '0';
ALTER TABLE system_settings ADD contacts_enabled ENUM('0','1') default '0';
CREATE TABLE contact_information (
contact_id INT(9) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
first_name VARCHAR(50) default '',
last_name VARCHAR(50) default '',
office_num VARCHAR(20) default '',
cell_num VARCHAR(20) default '',
other_num1 VARCHAR(20) default '',
other_num2 VARCHAR(20) default ''
);
CREATE INDEX ci_first_name on contact_information (first_name);
CREATE INDEX ci_last_name on contact_information (last_name);
UPDATE system_settings SET db_schema_version='1304',db_schema_update_date=NOW() where db_schema_version < 1304;