Difference between revisions of "Testing MOR PRO installation"
Line 1: | Line 1: | ||
=Configuration file= | ==Configuration file== | ||
Go to ''/home/mor/config/environment.rb'' | Go to ''/home/mor/config/environment.rb'' | ||
Line 15: | Line 15: | ||
/etc/init.d/httpd restart | /etc/init.d/httpd restart | ||
=GUI= | ==GUI== | ||
Go to and make sure page is displayed correctly: | Go to and make sure page is displayed correctly: | ||
Line 28: | Line 28: | ||
Register new user over GUI (registration from login page), enter your email and check after registration if you received it | Register new user over GUI (registration from login page), enter your email and check after registration if you received it | ||
=Realtime= | ==Realtime== | ||
In Asterisk CLI: | In Asterisk CLI: | ||
Line 38: | Line 38: | ||
Connected to mor@127.0.0.1, port 3306 with username mor for 4 days, 13 hours, 13 minutes, 29 seconds. | Connected to mor@127.0.0.1, port 3306 with username mor for 4 days, 13 hours, 13 minutes, 29 seconds. | ||
=Activation test= | ==Activation test== | ||
Configure softphone with following settings: 101/101 and call any number, let's say 123456789. On the CLI normal call process should be visible. If MOR tells, that "MOR is not authorized to work on this computer" - that means there are problems with serial. | Configure softphone with following settings: 101/101 and call any number, let's say 123456789. On the CLI normal call process should be visible. If MOR tells, that "MOR is not authorized to work on this computer" - that means there are problems with serial. | ||
=Codecs= | ==Codecs== | ||
In Asterisk CLI: | In Asterisk CLI: | ||
Line 51: | Line 51: | ||
=Autodialer= | ==Autodialer== | ||
Enable crontab logs: | Enable crontab logs: | ||
Line 79: | Line 79: | ||
=Fax2Email= | ==Fax2Email== | ||
In Asterisk CLI: | In Asterisk CLI: | ||
Line 102: | Line 102: | ||
STATISTICS-VARIOUS-FAXES - press on PDF - should open your received fax | STATISTICS-VARIOUS-FAXES - press on PDF - should open your received fax | ||
=H323= | ==H323== | ||
In Asterisk CLI: | In Asterisk CLI: | ||
Line 108: | Line 108: | ||
module show like h323 | module show like h323 | ||
=WEB Callback= | ==WEB Callback== | ||
Go to PERSONAL MENU - Various - Callback and enter any numbers, press '''Execute'''. On Asterisk CLI you should see: | Go to PERSONAL MENU - Various - Callback and enter any numbers, press '''Execute'''. On Asterisk CLI you should see: | ||
Line 116: | Line 116: | ||
.... | .... | ||
=Crontab for Auto-Dialer = | ==Crontab for Auto-Dialer == | ||
Check ''/home/mor_ad/mor_ad_cron.log'', you should see something like this: | Check ''/home/mor_ad/mor_ad_cron.log'', you should see something like this: | ||
Line 126: | Line 126: | ||
Total campaigns retrieved: 0 | Total campaigns retrieved: 0 | ||
=Manager connection= | ==Manager connection== | ||
... | ... |
Revision as of 14:57, 7 December 2007
Configuration file
Go to /home/mor/config/environment.rb
- Web_URL - enter correct IP
- Recordings_Folder - enter correct IP
- Addons - enable addons if necessary
Restart Apache:
If you have Debian:
/etc/init.d/apache2 restart
Or Centos/Fedora:
/etc/init.d/httpd restart
GUI
Go to and make sure page is displayed correctly:
- SETUP - Settings - Save changes
- SETTINGS-Users-Devices - create new device/delete device
- SETTINGS - Accounting - Invoices - Generate...
- STATISTICS - Call - Graphs
- SETTINGS - Users - Recordings - Show
- PERSONAL MENU - Calls
Register new user over GUI (registration from login page), enter your email and check after registration if you received it
Realtime
In Asterisk CLI:
realtime mysql status
Should show something like:
Connected to mor@127.0.0.1, port 3306 with username mor for 4 days, 13 hours, 13 minutes, 29 seconds.
Activation test
Configure softphone with following settings: 101/101 and call any number, let's say 123456789. On the CLI normal call process should be visible. If MOR tells, that "MOR is not authorized to work on this computer" - that means there are problems with serial.
Codecs
In Asterisk CLI:
show translation
Should show g723 and g729 installed (from http://kvin.lv/pub/Linux/Asterisk/)
Autodialer
Enable crontab logs:
/etc/syslog.conf uncomment cron.*
Execute:
/etc/init.d/sysklogd restart
Change editor from vi to some usable one:
In file /root/.bashrc at the end add: export EDITOR='mcedit'
Relogin to root account for this change to take effect.
Execute:
crontab -e
In the file's end add:
*/5 * * * * /home/mor_ad/mor_ad_cron >> /home/mor_ad/mor_ad_cron.log
Make sure you pressed ENTER after this line!!! If you don't it will not work.
Fax2Email
In Asterisk CLI:
module show like fax
It should show:
CLI> module show like fax Module Description Use Count app_nv_faxdetect.so NV Fax Detection Application 0 app_rxfax.so Trivial FAX Receive Application 0 app_txfax.so Trivial FAX Transmit Application 0 3 modules loaded
Go to device's 102 settings and change fax email to yours.
Using your softphone dial *9901 - you should get email with test fax attached as PDF.
Go to:
STATISTICS-VARIOUS-FAXES - press on PDF - should open your received fax
H323
In Asterisk CLI:
module show like h323
WEB Callback
Go to PERSONAL MENU - Various - Callback and enter any numbers, press Execute. On Asterisk CLI you should see:
-- Attempting call on Local/21233@mor_cb_src/n for 23234@mor_cb_dst:1 (Retry 1) -- Executing [21233@mor_cb_src:1] NoOp("Local/21233@mor_cb_src-18d8,2", "MOR CB calls src!") in new stack ....
Crontab for Auto-Dialer
Check /home/mor_ad/mor_ad_cron.log, you should see something like this:
2007-12-07 00:01:53 - Start of MOR Auto-Dialer Cron script. DB config. Host: localhost, DB name: mor, user: mor, psw: mor, port: 3306. Successfully connected to database. No campaigns found active this time: 00:01:53 Total campaigns retrieved: 0
Manager connection
...