From 354f7da9fcd2ec626e7179073d38162c83445ba3 Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 14 Nov 2007 14:47:07 +0000 Subject: [PATCH] docs updates fixed bug in MySQL create sql file git-svn-id: svn://192.168.202.10@716 3d104415-ff17-0410-8863-d5cf3c621b8a --- docs/REQUIRED_APPS_INSTALL.txt | 9 +-- docs/SCRATCH_INSTALL.txt | 10 ++-- docs/conf_examples/extensions.conf.sample | 54 ++++++++++-------- docs/conf_examples/extensions.conf.sample-1.4 | 55 +++++++++++-------- extras/MySQL_AST_CREATE_tables.sql | 2 +- 5 files changed, 76 insertions(+), 54 deletions(-) diff --git a/docs/REQUIRED_APPS_INSTALL.txt b/docs/REQUIRED_APPS_INSTALL.txt index e53d0b50..e46bcd02 100644 --- a/docs/REQUIRED_APPS_INSTALL.txt +++ b/docs/REQUIRED_APPS_INSTALL.txt @@ -158,13 +158,13 @@ make install cd /usr/local -wget http://apache.secsup.org/dist/httpd/httpd-2.0.59.tar.gz -gunzip httpd-2.0.59.tar.gz -tar xvf httpd-2.0.59.tar +wget http://apache.secsup.org/dist/httpd/httpd-2.0.61.tar.gz +gunzip httpd-2.0.61.tar.gz +tar xvf httpd-2.0.61.tar wget http://us2.php.net/distributions/php-4.4.7.tar.gz gunzip php-4.4.7.tar.gz tar xvf php-4.4.7.tar -cd httpd-2.0.59 +cd httpd-2.0.61 ./configure --prefix=/usr/local/apache2 --enable-ssl --enable-setenvif --enable-so --with-apxs2 --enable-dav --enable-maintainer-mode make make install @@ -363,6 +363,7 @@ make clean make make install +make samples cd /var/lib/asterisk/mohmp3/ mpg123 -s --rate 44100 --mono /var/lib/asterisk/mohmp3/fpm-sunshine.mp3 > /var/lib/asterisk/mohmp3/fpm-sunshine.raw diff --git a/docs/SCRATCH_INSTALL.txt b/docs/SCRATCH_INSTALL.txt index baef6532..67578fab 100644 --- a/docs/SCRATCH_INSTALL.txt +++ b/docs/SCRATCH_INSTALL.txt @@ -196,6 +196,8 @@ OPTION 1: compile Linux kernel 2.6.17 *RECOMMENDED* (if you have more than 900MB of System RAM move upto 4GB) ->Timer frequency (1000 HZ) (change to 1000Hz if using ztdummy for timer) + ->Preemption Model (No Forced Preemption (Server)) + (This one is very important!!!) Power management options (ACPI, APM) ---> ->ACPI (Advanced Configuration and Power Interface) Support (enable all down to Processor and thermal zone) @@ -674,14 +676,14 @@ installation on another machine) Go to http://www.php.net/ and download the php unix source code - to install this directly on the command line type: - cd /usr/local - - wget http://apache.secsup.org/dist/httpd/httpd-2.0.59.tar.gz - - gunzip httpd-2.0.59.tar.gz - - tar xvf httpd-2.0.59.tar + - wget http://apache.secsup.org/dist/httpd/httpd-2.0.61.tar.gz + - gunzip httpd-2.0.61.tar.gz + - tar xvf httpd-2.0.61.tar - wget http://us2.php.net/distributions/php-4.4.7.tar.gz NOTE: PHP 5.1.1 has also been tested with this release - gunzip php-4.4.7.tar.gz - tar xvf php-4.4.7.tar - - cd httpd-2.0.59 + - cd httpd-2.0.61 - ./configure --enable-so --with-apxs2 - make - make install diff --git a/docs/conf_examples/extensions.conf.sample b/docs/conf_examples/extensions.conf.sample index 6920a284..2d440b87 100644 --- a/docs/conf_examples/extensions.conf.sample +++ b/docs/conf_examples/extensions.conf.sample @@ -235,34 +235,44 @@ exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi) ; exten => _010*010*010*016*8600XXX*.,2,Hangup -; parameters for agi-VDADcloser.agi (2 fields separated by five dashes "-----"): -; 1. the full extension formatted by VICIDIAL for internal transfers * separated -; 2. the word START to denote the beginning of the acceptance of the transfer -; inbound VICIDIAL transfer calls [can arrive through PRI T1 crossover or IAX channel] +; parameters for agi-VDAD_ALL_inbound.agi (9 fields separated by five dashes "-----"): +; 1. the method of call handling for the script: +; - CID - CID received, add record with phone number +; - CIDLOOKUP - Lookup CID to find record in whole system +; - CIDLOOKUPRL - Restrict lookup to one list +; - CLOSER - Closer calls from VICIDIAL fronters +; - ANI - ANI received, add record with phone number +; - ANILOOKUP - Lookup ANI to find record in whole system +; - ANILOOKUPRL - Restrict lookup to one list +; - 3DIGITID - Enter 3 digit code to go to agent +; - 4DIGITID - Enter 4 digit code to go to agent +; - 5DIGITID - Enter 5 digit code to go to agent +; - 10DIGITID - Enter 10 digit code to go to agent +; 2. the method of searching for an available agent: +; - LO - Load Balance Overflow only (priority to home server) +; - LB - Load Balance total system +; - SO - Home server only +; 3. the full name of the IN GROUP to be used in vicidial for the inbound call +; 4. the phone number that was called, for the log entry +; 5. the callerID or lead_id of the person that called(usually overridden) +; 6. the park extension audio file name if used +; 7. the status of the call initially(usually not used) +; 8. the list_id to insert the new lead under if it is new (and CID/ANI available) +; 9. the phone dialing code to insert with the new lead if new (and CID/ANI available) +; inbound VICIDIAL call with CID delivery through T1 PRI +exten => 1234,1,Answer ; Answer the line +exten => 1234,2,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----CL_GALLERIA-----7274515134-----Closer-----park----------999-----1) +exten => 1234,3,Hangup + +; inbound VICIDIAL transfer calls [can arrive through PRI T1 crossover, IAX or SIP channel] exten => _90009.,1,Answer ; Answer the line -exten => _90009.,2,AGI(agi-VDADcloser.agi,${EXTEN}-----START) +exten => _90009.,2,AGI(agi-VDAD_ALL_inbound.agi,CLOSER-----LB-----CL_TESTCAMP-----7275551212-----Closer-----park----------999-----1) exten => _90009.,3,Hangup exten => _990009.,1,Answer ; Answer the line -exten => _990009.,2,AGI(agi-VDADcloser.agi,${EXTEN}-----START) +exten => _990009.,2,AGI(agi-VDAD_ALL_inbound.agi,CLOSER-----LB-----CL_TESTCAMP-----7275551212-----Closer-----park----------999-----1) exten => _990009.,3,Hangup -; parameters for agi-VDADcloser_inbound....agi (7 fields separated by five dashes "-----"): -; 1. the full name of the IN GROUP to be used in vicidial for the inbound call -; 2. the phone number that was called, for the log entry -; 3. the callerID or lead_id of the person that called(usually overridden) -; 4. the park extension audio file name if used -; 5. the status of the call initially(usually not used) -; 6. the list_id to insert the new lead under if it is new (and callerID available) -; 7. the phone dialing code to insert with the new lead if new (and callerID available) -; inbound VICIDIAL call with CID delivery through T1 PRI -exten => 1234,1,Ringing ; call ringing -exten => 1234,2,Wait(1) ; Wait 1 second for CID delivery from PRI -exten => 1234,3,Answer ; Answer the line -exten => 1234,4,AGI(agi-VDADcloser_inboundCID.agi,CL_GALLERIA-----7275555134-----Closer-----park----------999-----1) -; inbound VICIDIAL call with prompt for 4-digit fronter code -;exten => 1234,4,AGI(agi-VDADcloser_inbound.agi,CL_GALLERIA-----7275555134-----Closer-----park----------999-----1) -exten => 1234,5,Hangup ; barge monitoring extension exten => 8159,1,ZapBarge diff --git a/docs/conf_examples/extensions.conf.sample-1.4 b/docs/conf_examples/extensions.conf.sample-1.4 index ae2c0a4a..25ba4fe7 100644 --- a/docs/conf_examples/extensions.conf.sample-1.4 +++ b/docs/conf_examples/extensions.conf.sample-1.4 @@ -235,34 +235,43 @@ exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi) ; exten => _010*010*010*016*8600XXX*.,2,Hangup -; parameters for agi-VDADcloser.agi (2 fields separated by five dashes "-----"): -; 1. the full extension formatted by VICIDIAL for internal transfers * separated -; 2. the word START to denote the beginning of the acceptance of the transfer -; inbound VICIDIAL transfer calls [can arrive through PRI T1 crossover or IAX channel] +; parameters for agi-VDAD_ALL_inbound.agi (9 fields separated by five dashes "-----"): +; 1. the method of call handling for the script: +; - CID - CID received, add record with phone number +; - CIDLOOKUP - Lookup CID to find record in whole system +; - CIDLOOKUPRL - Restrict lookup to one list +; - CLOSER - Closer calls from VICIDIAL fronters +; - ANI - ANI received, add record with phone number +; - ANILOOKUP - Lookup ANI to find record in whole system +; - ANILOOKUPRL - Restrict lookup to one list +; - 3DIGITID - Enter 3 digit code to go to agent +; - 4DIGITID - Enter 4 digit code to go to agent +; - 5DIGITID - Enter 5 digit code to go to agent +; - 10DIGITID - Enter 10 digit code to go to agent +; 2. the method of searching for an available agent: +; - LO - Load Balance Overflow only (priority to home server) +; - LB - Load Balance total system +; - SO - Home server only +; 3. the full name of the IN GROUP to be used in vicidial for the inbound call +; 4. the phone number that was called, for the log entry +; 5. the callerID or lead_id of the person that called(usually overridden) +; 6. the park extension audio file name if used +; 7. the status of the call initially(usually not used) +; 8. the list_id to insert the new lead under if it is new (and CID/ANI available) +; 9. the phone dialing code to insert with the new lead if new (and CID/ANI available) +; inbound VICIDIAL call with CID delivery through T1 PRI +exten => 1234,1,Answer ; Answer the line +exten => 1234,2,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----CL_GALLERIA-----7274515134-----Closer-----park----------999-----1) +exten => 1234,3,Hangup + +; inbound VICIDIAL transfer calls [can arrive through PRI T1 crossover, IAX or SIP channel] exten => _90009.,1,Answer ; Answer the line -exten => _90009.,2,AGI(agi-VDADcloser.agi,${EXTEN}-----START) +exten => _90009.,2,AGI(agi-VDAD_ALL_inbound.agi,CLOSER-----LB-----CL_TESTCAMP-----7275551212-----Closer-----park----------999-----1) exten => _90009.,3,Hangup exten => _990009.,1,Answer ; Answer the line -exten => _990009.,2,AGI(agi-VDADcloser.agi,${EXTEN}-----START) +exten => _990009.,2,AGI(agi-VDAD_ALL_inbound.agi,CLOSER-----LB-----CL_TESTCAMP-----7275551212-----Closer-----park----------999-----1) exten => _990009.,3,Hangup -; parameters for agi-VDADcloser_inbound....agi (7 fields separated by five dashes "-----"): -; 1. the full name of the IN GROUP to be used in vicidial for the inbound call -; 2. the phone number that was called, for the log entry -; 3. the callerID or lead_id of the person that called(usually overridden) -; 4. the park extension audio file name if used -; 5. the status of the call initially(usually not used) -; 6. the list_id to insert the new lead under if it is new (and callerID available) -; 7. the phone dialing code to insert with the new lead if new (and callerID available) - -; inbound VICIDIAL call with CID delivery through T1 PRI -exten => 1234,1,Ringing ; call ringing -exten => 1234,2,Wait(1) ; Wait 1 second for CID delivery from PRI -exten => 1234,3,Answer ; Answer the line -exten => 1234,4,AGI(agi-VDADcloser_inboundCID.agi,CL_GALLERIA-----7275555134-----Closer-----park----------999-----1) -; inbound VICIDIAL call with prompt for 4-digit fronter code -;exten => 1234,4,AGI(agi-VDADcloser_inbound.agi,CL_GALLERIA-----7275555134-----Closer-----park----------999-----1) -exten => 1234,5,Hangup ; barge monitoring extension exten => 8159,1,ZapBarge diff --git a/extras/MySQL_AST_CREATE_tables.sql b/extras/MySQL_AST_CREATE_tables.sql index 04bae5f7..2ca99866 100644 --- a/extras/MySQL_AST_CREATE_tables.sql +++ b/extras/MySQL_AST_CREATE_tables.sql @@ -985,7 +985,7 @@ CREATE TABLE vicidial_live_inbound_agents ( user VARCHAR(20), group_id VARCHAR(20), group_weight TINYINT(1) default '0', -calls_today SMALLINT(5) UNSIGNED default '0'; +calls_today SMALLINT(5) UNSIGNED default '0', last_call_time DATETIME, last_call_finish DATETIME, index (group_id),