Difference between revisions of "Mor.conf"
From Kolmisoft Wiki
Jump to navigationJump to search
Line 22: | Line 22: | ||
# Login to Asterisk CLI | # Login to Asterisk CLI | ||
# Make sure there are no active calls using command: '''show channels''', wait till they end or kill them using '''soft hangup''' command | # Make sure there are no active calls using command: '''show channels''', wait till they end or kill them using '''soft hangup''' command | ||
# Issue: module unload app_mor.so | # Issue: '''module unload app_mor.so''' | ||
# Then: module load app_mor.so | # Then: '''module load app_mor.so''' |
Revision as of 13:04, 30 July 2008
This file is in /etc/asterisk/ and describes some values for app_mor.so application which is the main MOR core working in Asterisk environment.
- hostname, dbname, user, password, port, sock – all these values describes connection to database;
- min_frozen – Minimum credit left to allow simultaneous calls. If users balance is lower – he will not be able to make simultaneous calls (default 10);
- frozen_time – How much balance to freeze in minutes if user is prepaid (default 30). If user makes several simultaneous calls and he is prepaid – we need to „freeze“ some amount to be safe;
- show_notice, show_warning, show_error – sets debug level for app_mor.so application in Asterisk CLI;
- zap_change – change ZAP into something else in Asterisk to let use some custom made channels based on Zaptel;
- server_id – unique number for server identification;
- active_calls – tells app_mor.so to update info to DB related to calls currently on the system;
- dial_out_settings – global settings for Dial() command in Asterisk (rTt or similar);
- serial – serial key for activating app_mor.so
In order to activate changes made to this file you need to restart Asterisk or reload app_mor.so
How to restart Asterisk server
Please read: http://wiki.kolmisoft.com/index.php/How_to_restart_Asterisk_server
Reload app_mor.so
- Login to Asterisk CLI
- Make sure there are no active calls using command: show channels, wait till they end or kill them using soft hangup command
- Issue: module unload app_mor.so
- Then: module load app_mor.so