Difference between revisions of "MOR Install Testing Manually Old"

From Kolmisoft Wiki
Jump to navigationJump to search
(New page: ==Realtime== '''NOTE: From 0.6.14 install script test.sh script is used to check for realtime.''' In Asterisk CLI: realtime mysql status Should show something like: Connected to mor...)
 
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==GUI==
* SETTINGS -> Setup -> Settings -> Save changes '''(press it)'''
* SETTINGS -> Setup -> (PBX-Functions) -> VoiceMail -> SAVE '''(press it)'''
* PDF generation: /billing/accounting/generate_test_pdf
* SETTINGS -> Setup -> Logo <--- change logo to something else; change it back to make sure it works.
==Realtime==
==Realtime==


'''NOTE: From 0.6.14 install script test.sh script is used to check for realtime.'''
'''NOTE: From the 0.6.14 install script, test.sh script is used to check for realtime.'''


In Asterisk CLI:
In Asterisk CLI:
Line 7: Line 14:
  realtime mysql status
  realtime mysql status


Should show something like:
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.
  Connected to mor@127.0.0.1, port 3306 with username mor for 4 days, 13 hours, 13 minutes, 29 seconds.
Line 15: Line 22:
  ERROR[8898]: res_config_mysql.c:637 mysql_reconnect: MySQL RealTime: Ping failed (2006).  Trying an explicit reconnect.
  ERROR[8898]: res_config_mysql.c:637 mysql_reconnect: MySQL RealTime: Ping failed (2006).  Trying an explicit reconnect.


That's ok. It means connection to MySQL timed out, but connection is reestablished. Try previous command and result should be ok.
... it's okay. It means the connection to MySQL timed out, but the connection is reestablished. Try the previous command and the result should be okay.
 
==Codecs==
 
'''NOTE: From the 0.6.14 install script, test.sh script is used to check for installed codecs.'''
 
In Asterisk CLI:
 
show translation
 
should show g723 and g729 installed:
 
 
 
If the g723 and g729 lines look like this:
 
g723    -  -    -    -        -    -    -    -    -    -    -    -    -
g729    -  -    -    -        -    -    -    -    -    -    -    -    -
 
Then - [[G723/G729 Codec installation|install g723/g729 codecs]].
 
==Fax2Email==
 
'''NOTE: From 0.6.14 install script test.sh script is used to check for installed fax applications'''
 
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
 
 
 
==H323==
 
'''NOTE: From 0.6.14 install script test.sh script is used to check for installed H323 support.'''
 
In Asterisk CLI:
 
module show like h323
 
 
 
==mime-construct==
 
'''NOTE: From 0.6.14 install script test.sh script is used to check for installed mime-construct.'''
 
It is used to send faxes.
 
Write in bash to test:
 
mime-construct
 
You should see:
 
mime-construct: no recipients specified
 
If you see something else - [[mime-construct installation|reinstall mime-construct]]
 
<br>
 
 
==Autodialer==
 
'''Skip this section if you do not have Auto-Dialer addon.'''
 
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.

Latest revision as of 18:30, 29 November 2012

GUI

  • SETTINGS -> Setup -> Settings -> Save changes (press it)
  • SETTINGS -> Setup -> (PBX-Functions) -> VoiceMail -> SAVE (press it)
  • PDF generation: /billing/accounting/generate_test_pdf
  • SETTINGS -> Setup -> Logo <--- change logo to something else; change it back to make sure it works.

Realtime

NOTE: From the 0.6.14 install script, test.sh script is used to check for 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.

If you see this:

ERROR[8898]: res_config_mysql.c:637 mysql_reconnect: MySQL RealTime: Ping failed (2006).  Trying an explicit reconnect.

... it's okay. It means the connection to MySQL timed out, but the connection is reestablished. Try the previous command and the result should be okay.

Codecs

NOTE: From the 0.6.14 install script, test.sh script is used to check for installed codecs.

In Asterisk CLI:

show translation

should show g723 and g729 installed:


If the g723 and g729 lines look like this:

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

Then - install g723/g729 codecs.

Fax2Email

NOTE: From 0.6.14 install script test.sh script is used to check for installed fax applications

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


H323

NOTE: From 0.6.14 install script test.sh script is used to check for installed H323 support.

In Asterisk CLI:

module show like h323


mime-construct

NOTE: From 0.6.14 install script test.sh script is used to check for installed mime-construct.

It is used to send faxes.

Write in bash to test:

mime-construct

You should see:

mime-construct: no recipients specified

If you see something else - reinstall mime-construct



Autodialer

Skip this section if you do not have Auto-Dialer addon.

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.