Difference between revisions of "MOR PRO v0.5 documentation"
Line 42: | Line 42: | ||
Rounding in MOR GUI is done only when showing final result. All values are not rounded in database. | Rounding in MOR GUI is done only when showing final result. All values are not rounded in database. | ||
Example: 0.027 + 0.027 = 0.054 rounded is 0.05, if you are rounding each step, then you get: 0.03 + 0.03 = 0.06 which is not so right as 0.05. | Example: 0.027 + 0.027 = 0.054 rounded is 0.05, if you are rounding each step, then you get: 0.03 + 0.03 = 0.06 which is not so right as 0.05. | ||
==Email variables== | ==Email variables== |
Revision as of 14:01, 15 December 2007
These are notes which should be in MOR PRO v0.5 Manual.
Several IPs from Provider
If your provider providers different IP/PORT for Incomming calls - you should create such device with these settings in /etc/asterisk/sip.conf (for SIP).
zap prefix change for Asterisk
/etc/asterisk/mor.conf
- zap technology change
zap_change = lvx
change lvx to anything you want zap should be changed when dialing zap device. This feature let's user use other technology apart from Zap.
Subscriptions
NOTE: service is billed from Activation Start till Activation End. And from invoice period start till end. Time period which fits in both previous periods is actual period which will be billed.
Troubleshooting Invoice
If trying to open PDF invoice you get error - make sure your logo PNG file is without ALPHA layer - that means without transparency layer.
CDR import
On step 2 you can see necessary fields to select. They are marked by *(star). You can select to enter Date/Time in one line OR Date AND Time in separate lines. Without selecting at least one field marked by * you will not be able to continue import process.
Admin email on user registration
If you set every setting to send email to admin when new user registers but no email arrives - check if you have email set for admin user.
Registration to provider
Add register +>…. line in [globals] section. If you add it to the end of file - it will not be active. To check if registration is active - execute sip show registry or iax2 show registry in Asterisk CLI.
If IP of your device can change - then you need to register. You don't need to register when you know static IP's of your devices.
Rounding
Rounding in MOR GUI is done only when showing final result. All values are not rounded in database. Example: 0.027 + 0.027 = 0.054 rounded is 0.05, if you are rounding each step, then you get: 0.03 + 0.03 = 0.06 which is not so right as 0.05.
Email variables
These variables can be used in emails:
- <%= server_ip %> - Server IP where your users should register their SIP/IAX2 devices
- <%= device_type %> - Used on user registration - shows device's type user had selected
- <%= device_username %> - Used on user registration - shows device's username
- <%= device_password %> - Used on user registration - shows device's password
- <%= login_url %> - GUI login url
- <%= login_username %> - User's username to login to GUI
- <%= login_password %> - User's password to login to GUI
- <%= username %> - same as login_username
- <%= first_name %> - First name of the user
- <%= last_name %> - Last name of the user
- <%= full_name %> - First name and last name of the user