Here are the files that make up the ACD application I am working on.
This is NOT READY for prime time and I have many additiona and changes to make
and although I have been running this system for several weeks handling
thousands of calls it is not considered done.
Use at your own peril. No warrantee, no promises, no docs yet, nada.
app_ACD.c
app_loginACD.c
Makefile
copy script
ACDdatabase schema
mysql.tar.gz actual working database files ( missing
the call log defined next)
mysql> desc acd.acdcall;
+-----------+----------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+----------+------+-----+---------+----------------+
| acdcallid | int(11) | | PRI | NULL | auto_increment |
| dnis | char(6) | YES | | NULL | |
| callid | char(48) | YES | | NULL | |
| timein | datetime | YES | | NULL | |
| timeans | datetime | YES | | NULL | |
| queueid | int(11) | YES | | NULL | |
| qagentid | int(11) | YES | | NULL | |
| extipid | int(11) | YES | | NULL | |
| timeout | datetime | YES | | NULL | |
+-----------+----------+------+-----+---------+----------------+
In the extensions.conf file add lines like this:
exten = 2580,1,loginACD,N
exten = 2581,1,loginACD,Y
exten = 2677,1,Background,cm-queueintro
exten = 2677,2,ACD,C
exten = 2677,3,Background,cm-queueloop
exten = 2677,4,ACD,C
exten = 2677,5,Background,cm-queueloop
exten = 2677,6,ACD,C
exten = 2677,7,Background,cm-queueloop
exten = 2677,8,ACD,C
exten = 2677,9,Background,cm-queueloop
exten = 2677,10,ACD,C
exten = 2677,11,Background,cm-queueloop
exten = 2677,12,ACD,C
exten = 2677,13,Background,cm-queueloop
exten = 2677,14,ACD,C
exten = 2677,15,Goto,directvm|3600|1
exten = 1,1,Goto,directvm|3600|1