Difference between revisions of "Testing MOR PRO installation"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 60: Line 60:
  show translation
  show translation


Should show g723 and g729 installed (from http://kvin.lv/pub/Linux/Asterisk/)
Should show g723 and g729 installed:


If g723 and g729 lines looks like this:
g723    -  -    -    -        -    -    -    -    -    -    -    -    -
g729    -  -    -    -        -    -    -    -    -    -    -    -    -
Then - install g723/g729 codecs.


==Autodialer==
==Autodialer==

Revision as of 07:52, 10 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.

Or in Asterisk CLI write:

module unload app_mor.so
module load app_mor.so

It should say somethign similar:

[Dec 10 08:49:27] NOTICE[19319]: app_mor.c:4050 load_module: MOR PRO is authorized to work on this computer.
Loaded app_mor.so => (MOR Billing Solution v0.5.0.6)

This means everything is ok.

Codecs

In Asterisk CLI:

show translation

Should show g723 and g729 installed:


If g723 and g729 lines looks like this:

g723    -   -    -    -        -     -    -     -    -     -    -    -    -
g729    -   -    -    -        -     -    -     -    -     -    -    -    -

Then - install g723/g729 codecs.

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

...