<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.kolmisoft.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rita</id>
	<title>Kolmisoft Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kolmisoft.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rita"/>
	<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php/Special:Contributions/Rita"/>
	<updated>2026-05-19T20:22:58Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Reseller_Addon&amp;diff=20730</id>
		<title>Reseller Addon</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Reseller_Addon&amp;diff=20730"/>
		<updated>2016-03-18T08:39:54Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
This addon incorporates basic reseller support into MOR&lt;br /&gt;
&lt;br /&gt;
Currently it lets to create user with type 'reseller'&lt;br /&gt;
&lt;br /&gt;
When this user logs into the system he is able to:&lt;br /&gt;
&lt;br /&gt;
# Create tariffs&lt;br /&gt;
# Create users&lt;br /&gt;
# Setup their own tariffs and assign them to their users&lt;br /&gt;
# View calls and other stats for his own users&lt;br /&gt;
# Add own logo to GUI&lt;br /&gt;
# Customize invoice with their details (logo is not supported)&lt;br /&gt;
# Can calculate own profit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When his users are making calls - reseller's balance decreases along with user's balance. If reseller is prepaid and he is out of balance or postpaid and credit limit is reached - his users will not be able to make calls even if they have money in their balance.&lt;br /&gt;
&lt;br /&gt;
===DIDs===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DIDs can be created only by admin. Reseller can assign DIDs available to him to his users.&lt;br /&gt;
&lt;br /&gt;
ADMIN can assign DID to USER directly bypassing RESELLER.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calling Cards ===&lt;br /&gt;
&lt;br /&gt;
[[Questions_about_Calling_Cards#Q._Can_Resellers_have_own_Calling_Cards.3F | Can Resellers have own Calling Cards?]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Complete Calls ===&lt;br /&gt;
&lt;br /&gt;
To get all Calls in selected period for Reseller and his User use following link:&lt;br /&gt;
&lt;br /&gt;
[[Image:reseller_calls_complete.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===How to create a Reseller?===&lt;br /&gt;
&lt;br /&gt;
Got to '''SETTINGS –&amp;gt; Users'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
[[File:Users_path.png]] &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;  &lt;br /&gt;
Press the [[image:add.png]] icon to add new User:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
[[File:Users_list.png]] &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
Select the &amp;quot;reseller&amp;quot; user type from the marked drop down box:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Users_change_usertype.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Reseller billing==&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
You (admin) pay your provider 0.3$ per minute;&lt;br /&gt;
&lt;br /&gt;
Reseller pays you 1.2$ per minute;&lt;br /&gt;
&lt;br /&gt;
Reseller's client pays reseller 2$ per minute.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Your profit is 0.9$;&lt;br /&gt;
&lt;br /&gt;
Reseller's profit is 0.8$.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If reseller uses his own provider then he does not pay you.&lt;br /&gt;
&lt;br /&gt;
NOTE: only [[Reseller_Pro_Addon|Reseller PRO]] can have his own providers.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Manual for Resellers=&lt;br /&gt;
&lt;br /&gt;
This manual is dedicated for resellers to work on MOR&lt;br /&gt;
&lt;br /&gt;
* [[Manual for Resellers]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Web access=&lt;br /&gt;
&lt;br /&gt;
Each Reseller has it's own Homepage. URL can be found in '''MAIN MENU -&amp;gt; Settings''' -&amp;gt; '''Global''' tab.&lt;br /&gt;
&lt;br /&gt;
It is possible to have different domain name for each Reseller. Domain name should be pointed to Reseller's URL in such case.&lt;br /&gt;
&lt;br /&gt;
NOTE: Kolmisoft does not provide domain names, so you need to check with certain domain provider for such option.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
* [[Reseller Pro Addon]]&lt;br /&gt;
* [[Reseller Permissions]]&lt;br /&gt;
* [[Reseller Settings]]&lt;br /&gt;
* [[MOR Addons]]&lt;br /&gt;
* [[How to show rates for resellers users]]&lt;br /&gt;
* [[Multi-level Reseller support]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Limit_the_amount_of_calls_per_route&amp;diff=20698</id>
		<title>Limit the amount of calls per route</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Limit_the_amount_of_calls_per_route&amp;diff=20698"/>
		<updated>2016-03-01T06:59:35Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If you want to limit the amount of calls sent to each route for a User, the User has to send the calls to each route with a prefix. This way you can configure different providers for each prefix and add a [[Simultaneous_call_limitation#Provider |  call limit]] to each provider. Use localization rules to route calls with prefix to a certain provider.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Example:''' The User uses two routes: ''Provider_premium'' and ''Provider_standard'', and you want to allow only 2 simultaneous calls to the ''Provider_premium'' and 5 to the ''Provider_standard''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Configuration:'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
1) Create two new providers: ''Provider_premium'' and ''Provider_standard''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
2) Add call limit to each provider: 2 for ''Provider_premium'', and 5 for ''Provider_standard''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
3) Create two new LCRs: ''LCR_Premium'' and ''LCR_Standard''. Add ''Provider_premium'' to ''LCR_Premium'', and ''Provider_standard'' to ''LCR_Standard''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
4) Ask User to send calls to ''Provider_premium'' with prefix 1111, and to ''Provider_standard'' with 2222.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
5) Create a new Location with these Localization rules:&lt;br /&gt;
 Name: Premium, Cut: 1111, Add: , Change User LCR to this LCR: LCR_Premium&lt;br /&gt;
 Name: Standard, Cut: 2222, Add: , Change User LCR to this LCR: LCR_Standard&lt;br /&gt;
&lt;br /&gt;
6) Assign Location to User's devices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
* [[Simultaneous call limitation]]&lt;br /&gt;
* [[Localization]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Limit_the_amount_of_calls_per_route&amp;diff=20697</id>
		<title>Limit the amount of calls per route</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Limit_the_amount_of_calls_per_route&amp;diff=20697"/>
		<updated>2016-03-01T06:54:45Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If you want to limit the amount of calls sent to each route for a User, the User has to send the calls to each route with a prefix. This way you can configure different providers for each prefix and add a [[Simultaneous_call_limitation#Provider |  call limit]] to each provider. Use localization rules to route calls with prefix to a certain provider.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Example:''' The User uses two routes: ''Provider_premium'' and ''Provider_standard'', and you want to allow only 2 simultaneous calls to the ''Provider_premium'' and 5 to the ''Provider_standard''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Configuration:'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
1) Create two new providers: ''Provider_premium'' and ''Provider_standard''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
2) Add call limit to each provider: 2 for ''Provider_premium'', and 5 for ''Provider_standard''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
3) Create two new LCRs: ''LCR_Premium'' and ''LCR_Standard''. Add ''Provider_premium'' to ''LCR_Premium'', and ''Provider_standard'' to ''LCR_Standard''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
4) Ask User to send calls to ''Provider_premium'' with prefix 1111, and to ''Provider_standard'' with 2222.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
5) Create a new Location with these Localization rules:&lt;br /&gt;
 Name: Premium, Cut: 1111, Add: , Change User LCR to this LCR: LCR_Premium&lt;br /&gt;
 Name: Standard, Cut: 2222, Add: , Change User LCR to this LCR: LCR_Standard&lt;br /&gt;
&lt;br /&gt;
6) Assign Location to User's devices.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Limit_the_amount_of_calls_per_route&amp;diff=20696</id>
		<title>Limit the amount of calls per route</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Limit_the_amount_of_calls_per_route&amp;diff=20696"/>
		<updated>2016-03-01T06:54:08Z</updated>

		<summary type="html">&lt;p&gt;Rita: Created page with 'If you want to limit the amount of calls sent to each route for a User, the User has to sent the calls to each route with a prefix. This way you can configure different providers…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If you want to limit the amount of calls sent to each route for a User, the User has to sent the calls to each route with a prefix. This way you can configure different providers for each prefix and add a [[Simultaneous_call_limitation#Provider |  call limit]] to each provider. Use localization rules to route calls with prefix to a certain provider.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Example:''' The User uses two routes: ''Provider_premium'' and ''Provider_standard'', and you want to allow only 2 simultaneous calls to the ''Provider_premium'' and 5 to the ''Provider_standard''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Configuration:'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
1) Create two new providers: ''Provider_premium'' and ''Provider_standard''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
2) Add call limit to each provider: 2 for ''Provider_premium'', and 5 for ''Provider_standard''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
3) Create two new LCRs: ''LCR_Premium'' and ''LCR_Standard''. Add ''Provider_premium'' to ''LCR_Premium'', and ''Provider_standard'' to ''LCR_Standard''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
4) Ask User to send calls to ''Provider_premium'' with prefix 1111, and to ''Provider_standard'' with 2222.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
5) Create a new Location with these Localization rules:&lt;br /&gt;
 Name: Premium, Cut: 1111, Add: , Change User LCR to this LCR: LCR_Premium&lt;br /&gt;
 Name: Standard, Cut: 2222, Add: , Change User LCR to this LCR: LCR_Standard&lt;br /&gt;
&lt;br /&gt;
6) Assign Location to User's devices.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_rate_get&amp;diff=20693</id>
		<title>MOR API rate get</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_rate_get&amp;diff=20693"/>
		<updated>2016-02-29T09:17:42Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* Parametres */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!---This functionality is available from MOR 10, but was also backported to MOR 9 ---&amp;gt;&lt;br /&gt;
=Description=&lt;br /&gt;
[[MOR API]] rate_get feature enables you to check rate over http.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---From X5---&amp;gt;&lt;br /&gt;
Admin able to check Rates of his Users.&lt;br /&gt;
Accountant with Permissions able to check Rates of Admins Users.&lt;br /&gt;
Reseller able to check Rates of his Users.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Note if Admin has checked Allow Resellers to use Admin Tariffs in [[API Configuration]] then using this API Reseller can get Rates which belongs to Admin.&lt;br /&gt;
&lt;br /&gt;
=Configuration=&lt;br /&gt;
&lt;br /&gt;
Go to '''SETTINGS –&amp;gt; Setup –&amp;gt; Settings'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
[[File:settings_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
In API tab ensure that MOR API is enabled and check '''Allow devices to check rate over HTTP''' option :&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Settings_api.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* From '''MOR X4''' call: '''/api/rate_get'''&lt;br /&gt;
* For Backwards-compatibility old name 'rate' is also usable. Call: '''/api/rate'''&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
* u - username for authentication. '''From X5 - Required'''.&lt;br /&gt;
* username – username of user whose rates you want to see.&lt;br /&gt;
* prefix – prefix number of destination you want to see.&lt;br /&gt;
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''username''' and '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required''' (if setting '''Disable hash checking''' is not checked).&lt;br /&gt;
'''NOTE:''' Don't use full number in API request. Use correct prefix only, because this method don't do prefix search, its only shows actual price for the exact prefix.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/rate_get?u=admin&amp;amp;username=USERNAME&amp;amp;prefix=PREFIX&amp;amp;hash=HASH&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 http://127.0.0.1/billing/api/rate?u=admin&amp;amp;username=admin&amp;amp;prefix=370&amp;amp;hash=47fc73b6d374bd0a85e3984c1e1623451681569c&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
Result is returned in format: rate#destination#prefix&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
  &amp;lt;rate&amp;gt;0.987#Lithuania#370&amp;lt;/rate&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''NOTE.''' MOR API rate method shows rate, which is applied to User. If rate by prefix is not found in [[Custom Rates]], it will be taken from Tariff assigned to User.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
'''Errors'''&lt;br /&gt;
&lt;br /&gt;
* User do not have rates for selected destination:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
   &amp;lt;error&amp;gt;Rate was not found&amp;lt;/error&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* User with selected username does not exist:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
   &amp;lt;error&amp;gt;User was not found&amp;lt;/error&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Allow devices to check rate over HTTP''' option in [[MOR_API_rate_get#Configuration | API Settings]] is not set:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
   &amp;lt;error&amp;gt;Feature disabled&amp;lt;/error&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* API is not allowed: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;status&amp;gt;&lt;br /&gt;
   &amp;lt;error&amp;gt;API Requests are disabled&amp;lt;/error&amp;gt;&lt;br /&gt;
 &amp;lt;/status&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* User does not belong to the user who is trying to check rate or it was not found in the system: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;status&amp;gt;&lt;br /&gt;
   &amp;lt;error&amp;gt;User was not found&amp;lt;/error&amp;gt;&lt;br /&gt;
 &amp;lt;/status&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Accountant must have See Financial Data read or write [[Accountant_permissions | permission]] and Manage Tariffs read or write permission enabled:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;status&amp;gt;&lt;br /&gt;
   &amp;lt;error&amp;gt;You are not authorized to view this page&amp;lt;/error&amp;gt;&lt;br /&gt;
 &amp;lt;/status&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See Also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Other&amp;diff=20403</id>
		<title>Other</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Other&amp;diff=20403"/>
		<updated>2015-12-28T12:34:11Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[What is SSH?]]&lt;br /&gt;
&lt;br /&gt;
[[yum]]&lt;br /&gt;
&lt;br /&gt;
[[TOP usage|top - monitor resources used by applications]]&lt;br /&gt;
&lt;br /&gt;
[[M2 Call Trace Does Not Work]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=CDR_Rerating&amp;diff=20269</id>
		<title>CDR Rerating</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=CDR_Rerating&amp;diff=20269"/>
		<updated>2015-10-23T09:32:00Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* Tariff from Localization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description = &lt;br /&gt;
&lt;br /&gt;
This function is used when you change Tariff for some customer and you want to recalculate Price for his Calls in the past. You need to select User, Period and system recalculates all Prices for all Calls in selected period for selected User. It affects balance of User and statistics will show information with new Prices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
Go to '''SETTINGS –&amp;gt; Billing –&amp;gt; CDR –&amp;gt; Rerating''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating_image1.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select date interval and User whose Calls you want to rerate. You can select All Users and include calls of Reseller Users.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!---This functionality is available from MOR X5---&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Also you are able su set '''Ghost Time''' percent, this value will increase user_billsec and/or reseller_billsec and price which depends on changed user_billsec and/or reseller_billsec. Ghost Time will be calculated just from initial billsec,  and if you will rerate two timesr with same percentage value, on second time nothing will change. 0 leaves or returns initial user_billsec and/or reseller price.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Table below will show which data of Calls will be affected according each selection scenario.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: #C0C0C0; padding: 0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &lt;br /&gt;
! One of Admin Users&lt;br /&gt;
! One of Admin Resellers&lt;br /&gt;
! &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;All Users&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
! One of particular Reseller Users&lt;br /&gt;
! All Users (Reseller Users Included)&lt;br /&gt;
|-&lt;br /&gt;
| user_billsec, &lt;br /&gt;
user_rate, &lt;br /&gt;
user_price&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(just for Admin Users Calls)&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
|-&lt;br /&gt;
| reseller_billsec, &lt;br /&gt;
reseller_rate, &lt;br /&gt;
reseller_price&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;(for Calls of All Reseller Users)&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(just for Reseller User Calls)&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE''' If in Call of Reseller User will be used one of [[Common Use Providers]] Tariff to rerate Reseller Price will be taken form ADDONS -&amp;gt; Resellers -&amp;gt; Common use Providers. If in Call of Reseller User will be used one of Provider which belongs just to Reseller, Provider Price will be rerated by that Provider tariff.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&amp;lt;!---Nuo x6 lieka tik FAST rerating ir test mode---&amp;gt;&lt;br /&gt;
* Press '''Rerate in Background(FAST)''' if you want to send Rerating task to [[Background Tasks]]. This way rerating of huge amount of Calls goes faster than SLOW method and also you do not need to wait in current page till rerating will be finished. '''Also Provider Billing details will be rerated'''&lt;br /&gt;
&amp;lt;!---SLOW rerating tik iki x5---&amp;gt;&lt;br /&gt;
* Press '''Rerate in GUI(SLOW)'''. The rating mechanism is the same as in MOR application but here rating is done by GUI. '''Be patient – if there are many calls – it can take some time to rerate all of them'''. '''Provider Billing details will NOT be rerated.''' If you choose this way for Rerating you will be redirected to second step:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you see call stats for selected date interval. When you are sure everything is correct – press '''Rerate''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating3.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you will see the Difference after Rerating.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Rerate all users == &lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 11---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select 'All Users' from User selection to rerate all Users at once in selected period.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Testing mode == &lt;br /&gt;
&lt;br /&gt;
Select '''Tariff for User''' below '''TESTING MODE''' header: &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrtestrerating.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
...and press '''Test with selected Tariff (SLOW)''' to check differences of Rates for selected User. This way Rerating will not save changes to Calls/Users.&lt;br /&gt;
&lt;br /&gt;
Testing mode is useful for testing &amp;quot;What if User had this Tariff&amp;quot; scenarios.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Selected Tariff is used just in [[Image:icon_test.png]]Testing mode.''' Rerating functionality rerates old Calls by Tariff set in User Settings, if you did not change Tariff for User, after rerating Calls Prices will be same as were before.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Tariff from Localization ==&lt;br /&gt;
&lt;br /&gt;
If call's prefix is in Localization Rule which has some Tariff, this Tariff is used to count call's price instead of User's Tariff.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Other notes=&lt;br /&gt;
&lt;br /&gt;
* Re-rate does not take into account Flat Rates and User will be charged for such Calls. Do not do rerating for such User.&lt;br /&gt;
&lt;br /&gt;
* Re-rate does not work when call's DID, LCR or Owner Device is changed by Localization rules.&lt;br /&gt;
&lt;br /&gt;
* Re-rate will take Active Rate when Rates with [[Rate Effective From | Effective From]] are re-rated.&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=CDR_Rerating&amp;diff=20256</id>
		<title>CDR Rerating</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=CDR_Rerating&amp;diff=20256"/>
		<updated>2015-10-15T09:56:17Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* Tariff from Localization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description = &lt;br /&gt;
&lt;br /&gt;
This function is used when you change Tariff for some customer and you want to recalculate Price for his Calls in the past. You need to select User, Period and system recalculates all Prices for all Calls in selected period for selected User. It affects balance of User and statistics will show information with new Prices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
Go to '''SETTINGS –&amp;gt; Billing –&amp;gt; CDR –&amp;gt; Rerating''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating_image1.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select date interval and User whose Calls you want to rerate. You can select All Users and include calls of Reseller Users.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!---This functionality is available from MOR X5---&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Also you are able su set '''Ghost Time''' percent, this value will increase user_billsec and/or reseller_billsec and price which depends on changed user_billsec and/or reseller_billsec. Ghost Time will be calculated just from initial billsec,  and if you will rerate two timesr with same percentage value, on second time nothing will change. 0 leaves or returns initial user_billsec and/or reseller price.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Table below will show which data of Calls will be affected according each selection scenario.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: #C0C0C0; padding: 0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &lt;br /&gt;
! One of Admin Users&lt;br /&gt;
! One of Admin Resellers&lt;br /&gt;
! &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;All Users&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
! One of particular Reseller Users&lt;br /&gt;
! All Users (Reseller Users Included)&lt;br /&gt;
|-&lt;br /&gt;
| user_billsec, &lt;br /&gt;
user_rate, &lt;br /&gt;
user_price&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(just for Admin Users Calls)&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
|-&lt;br /&gt;
| reseller_billsec, &lt;br /&gt;
reseller_rate, &lt;br /&gt;
reseller_price&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;(for Calls of All Reseller Users)&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(just for Reseller User Calls)&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE''' If in Call of Reseller User will be used one of [[Common Use Providers]] Tariff to rerate Reseller Price will be taken form ADDONS -&amp;gt; Resellers -&amp;gt; Common use Providers. If in Call of Reseller User will be used one of Provider which belongs just to Reseller, Provider Price will be rerated by that Provider tariff.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&amp;lt;!---Nuo x6 lieka tik FAST rerating ir test mode---&amp;gt;&lt;br /&gt;
* Press '''Rerate in Background(FAST)''' if you want to send Rerating task to [[Background Tasks]]. This way rerating of huge amount of Calls goes faster than SLOW method and also you do not need to wait in current page till rerating will be finished. '''Also Provider Billing details will be rerated'''&lt;br /&gt;
&amp;lt;!---SLOW rerating tik iki x5---&amp;gt;&lt;br /&gt;
* Press '''Rerate in GUI(SLOW)'''. The rating mechanism is the same as in MOR application but here rating is done by GUI. '''Be patient – if there are many calls – it can take some time to rerate all of them'''. '''Provider Billing details will NOT be rerated.''' If you choose this way for Rerating you will be redirected to second step:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you see call stats for selected date interval. When you are sure everything is correct – press '''Rerate''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating3.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you will see the Difference after Rerating.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Rerate all users == &lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 11---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select 'All Users' from User selection to rerate all Users at once in selected period.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Testing mode == &lt;br /&gt;
&lt;br /&gt;
Select '''Tariff for User''' below '''TESTING MODE''' header: &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrtestrerating.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
...and press '''Test with selected Tariff (SLOW)''' to check differences of Rates for selected User. This way Rerating will not save changes to Calls/Users.&lt;br /&gt;
&lt;br /&gt;
Testing mode is useful for testing &amp;quot;What if User had this Tariff&amp;quot; scenarios.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Selected Tariff is used just in [[Image:icon_test.png]]Testing mode.''' Rerating functionality rerates old Calls by Tariff set in User Settings, if you did not change Tariff for User, after rerating Calls Prices will be same as were before.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Tariff from Localization ==&lt;br /&gt;
&lt;br /&gt;
If call's prefix is in Localization Rule which has some Tariff, this Tariff is used to count call's price instead of User's Tariff.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
However, '''localized''' destinations are used for the Rerating.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; '''Example:'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
1) User dialled 001137067012345. Localization rule was applied:&lt;br /&gt;
&lt;br /&gt;
 '''Cut:''' 0011, '''Add:''' , '''Change Tariff to:''' Tariff B.&lt;br /&gt;
&lt;br /&gt;
So this call to 001137067012345 was billed according to Tariff B rates. Localized destination number 37067012345 was saved to the database.&lt;br /&gt;
&lt;br /&gt;
Now when you are rerating, destination number 37067012345 is taken. The rule to cut 0011 and change tariff cannot be applied here.&lt;br /&gt;
&lt;br /&gt;
2) User dials 37067012345. Localization rule was applied:&lt;br /&gt;
&lt;br /&gt;
 '''Cut:''' 3706, '''Add:''' 3706, '''Change Tariff to:''' Tariff B.&lt;br /&gt;
This call to 37067012345 was billed according to Tariff B rates. Since the destination number is not changed, Localization rules will be applied to number 37067012345 and Tariff B will be used when rerating.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Other notes=&lt;br /&gt;
&lt;br /&gt;
* Re-rate does not take into account Flat Rates and User will be charged for such Calls. Do not do rerating for such User.&lt;br /&gt;
&lt;br /&gt;
* Re-rate does not work when call's DID, LCR or Owner Device is changed by Localization rules.&lt;br /&gt;
&lt;br /&gt;
* Re-rate will take Active Rate when Rates with [[Rate Effective From | Effective From]] are re-rated.&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=CDR_Rerating&amp;diff=20227</id>
		<title>CDR Rerating</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=CDR_Rerating&amp;diff=20227"/>
		<updated>2015-10-07T08:29:18Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* Tariff from Localization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description = &lt;br /&gt;
&lt;br /&gt;
This function is used when you change Tariff for some customer and you want to recalculate Price for his Calls in the past. You need to select User, Period and system recalculates all Prices for all Calls in selected period for selected User. It affects balance of User and statistics will show information with new Prices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
Go to '''SETTINGS –&amp;gt; Billing –&amp;gt; CDR –&amp;gt; Rerating''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating_image1.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select date interval and User whose Calls you want to rerate. You can select All Users and include calls of Reseller Users.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!---This functionality is available from MOR X5---&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Also you are able su set '''Ghost Time''' percent, this value will increase user_billsec and/or reseller_billsec and price which depends on changed user_billsec and/or reseller_billsec. Ghost Time will be calculated just from initial billsec,  and if you will rerate two timesr with same percentage value, on second time nothing will change. 0 leaves or returns initial user_billsec and/or reseller price.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Table below will show which data of Calls will be affected according each selection scenario.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: #C0C0C0; padding: 0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &lt;br /&gt;
! One of Admin Users&lt;br /&gt;
! One of Admin Resellers&lt;br /&gt;
! &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;All Users&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
! One of particular Reseller Users&lt;br /&gt;
! All Users (Reseller Users Included)&lt;br /&gt;
|-&lt;br /&gt;
| user_billsec, &lt;br /&gt;
user_rate, &lt;br /&gt;
user_price&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(just for Admin Users Calls)&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
|-&lt;br /&gt;
| reseller_billsec, &lt;br /&gt;
reseller_rate, &lt;br /&gt;
reseller_price&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;(for Calls of All Reseller Users)&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(just for Reseller User Calls)&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE''' If in Call of Reseller User will be used one of [[Common Use Providers]] Tariff to rerate Reseller Price will be taken form ADDONS -&amp;gt; Resellers -&amp;gt; Common use Providers. If in Call of Reseller User will be used one of Provider which belongs just to Reseller, Provider Price will be rerated by that Provider tariff.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&amp;lt;!---Nuo x6 lieka tik FAST rerating ir test mode---&amp;gt;&lt;br /&gt;
* Press '''Rerate in Background(FAST)''' if you want to send Rerating task to [[Background Tasks]]. This way rerating of huge amount of Calls goes faster than SLOW method and also you do not need to wait in current page till rerating will be finished. '''Also Provider Billing details will be rerated'''&lt;br /&gt;
&amp;lt;!---SLOW rerating tik iki x5---&amp;gt;&lt;br /&gt;
* Press '''Rerate in GUI(SLOW)'''. The rating mechanism is the same as in MOR application but here rating is done by GUI. '''Be patient – if there are many calls – it can take some time to rerate all of them'''. '''Provider Billing details will NOT be rerated.''' If you choose this way for Rerating you will be redirected to second step:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you see call stats for selected date interval. When you are sure everything is correct – press '''Rerate''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating3.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you will see the Difference after Rerating.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Rerate all users == &lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 11---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select 'All Users' from User selection to rerate all Users at once in selected period.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Testing mode == &lt;br /&gt;
&lt;br /&gt;
Select '''Tariff for User''' below '''TESTING MODE''' header: &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrtestrerating.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
...and press '''Test with selected Tariff (SLOW)''' to check differences of Rates for selected User. This way Rerating will not save changes to Calls/Users.&lt;br /&gt;
&lt;br /&gt;
Testing mode is useful for testing &amp;quot;What if User had this Tariff&amp;quot; scenarios.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Selected Tariff is used just in [[Image:icon_test.png]]Testing mode.''' Rerating functionality rerates old Calls by Tariff set in User Settings, if you did not change Tariff for User, after rerating Calls Prices will be same as were before.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Tariff from Localization ==&lt;br /&gt;
&lt;br /&gt;
If call's prefix is in Localization Rule which has some Tariff, this Tariff is used to count call's price instead of User's Tariff.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
However, '''localized''' destinations are used for the Rerating.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; '''Example:'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
1) User dialled 001137067012345. Localization rule was applied:&lt;br /&gt;
&lt;br /&gt;
 '''Cut:''' 0011, '''Add:''' , '''Change Tariff to:''' Tariff B.&lt;br /&gt;
&lt;br /&gt;
So this call to 001137067012345 was billed according to Tariff B rates. Localized destination number 37067012345 was saved to the database.&lt;br /&gt;
&lt;br /&gt;
Now when you are rerating, destination number 37067012345 is taken. The rule to cut 0011 and change tariff cannot be applied here.&lt;br /&gt;
&lt;br /&gt;
2) User dials 37067012345. Localization rule was applied:&lt;br /&gt;
&lt;br /&gt;
 '''Cut:''' 3706, '''3706''' , '''Change Tariff to:''' Tariff B.&lt;br /&gt;
This call to 37067012345 was billed according to Tariff B rates. Since the destination number is not changed, Localization rules will be applied to number 37067012345 and Tariff B will be used when rerating.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Other notes=&lt;br /&gt;
&lt;br /&gt;
* Re-rate does not take into account Flat Rates and User will be charged for such Calls. Do not do rerating for such User.&lt;br /&gt;
&lt;br /&gt;
* Re-rate does not work when call's DID, LCR or Owner Device is changed by Localization rules.&lt;br /&gt;
&lt;br /&gt;
* Re-rate will take Active Rate when Rates with [[Rate Effective From | Effective From]] are re-rated.&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=CDR_Rerating&amp;diff=20226</id>
		<title>CDR Rerating</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=CDR_Rerating&amp;diff=20226"/>
		<updated>2015-10-07T08:29:07Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* Tariff from Localization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description = &lt;br /&gt;
&lt;br /&gt;
This function is used when you change Tariff for some customer and you want to recalculate Price for his Calls in the past. You need to select User, Period and system recalculates all Prices for all Calls in selected period for selected User. It affects balance of User and statistics will show information with new Prices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
Go to '''SETTINGS –&amp;gt; Billing –&amp;gt; CDR –&amp;gt; Rerating''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating_image1.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select date interval and User whose Calls you want to rerate. You can select All Users and include calls of Reseller Users.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!---This functionality is available from MOR X5---&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Also you are able su set '''Ghost Time''' percent, this value will increase user_billsec and/or reseller_billsec and price which depends on changed user_billsec and/or reseller_billsec. Ghost Time will be calculated just from initial billsec,  and if you will rerate two timesr with same percentage value, on second time nothing will change. 0 leaves or returns initial user_billsec and/or reseller price.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Table below will show which data of Calls will be affected according each selection scenario.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: #C0C0C0; padding: 0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &lt;br /&gt;
! One of Admin Users&lt;br /&gt;
! One of Admin Resellers&lt;br /&gt;
! &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;All Users&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
! One of particular Reseller Users&lt;br /&gt;
! All Users (Reseller Users Included)&lt;br /&gt;
|-&lt;br /&gt;
| user_billsec, &lt;br /&gt;
user_rate, &lt;br /&gt;
user_price&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(just for Admin Users Calls)&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
|-&lt;br /&gt;
| reseller_billsec, &lt;br /&gt;
reseller_rate, &lt;br /&gt;
reseller_price&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;(for Calls of All Reseller Users)&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(just for Reseller User Calls)&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE''' If in Call of Reseller User will be used one of [[Common Use Providers]] Tariff to rerate Reseller Price will be taken form ADDONS -&amp;gt; Resellers -&amp;gt; Common use Providers. If in Call of Reseller User will be used one of Provider which belongs just to Reseller, Provider Price will be rerated by that Provider tariff.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&amp;lt;!---Nuo x6 lieka tik FAST rerating ir test mode---&amp;gt;&lt;br /&gt;
* Press '''Rerate in Background(FAST)''' if you want to send Rerating task to [[Background Tasks]]. This way rerating of huge amount of Calls goes faster than SLOW method and also you do not need to wait in current page till rerating will be finished. '''Also Provider Billing details will be rerated'''&lt;br /&gt;
&amp;lt;!---SLOW rerating tik iki x5---&amp;gt;&lt;br /&gt;
* Press '''Rerate in GUI(SLOW)'''. The rating mechanism is the same as in MOR application but here rating is done by GUI. '''Be patient – if there are many calls – it can take some time to rerate all of them'''. '''Provider Billing details will NOT be rerated.''' If you choose this way for Rerating you will be redirected to second step:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you see call stats for selected date interval. When you are sure everything is correct – press '''Rerate''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating3.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you will see the Difference after Rerating.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Rerate all users == &lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 11---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select 'All Users' from User selection to rerate all Users at once in selected period.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Testing mode == &lt;br /&gt;
&lt;br /&gt;
Select '''Tariff for User''' below '''TESTING MODE''' header: &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrtestrerating.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
...and press '''Test with selected Tariff (SLOW)''' to check differences of Rates for selected User. This way Rerating will not save changes to Calls/Users.&lt;br /&gt;
&lt;br /&gt;
Testing mode is useful for testing &amp;quot;What if User had this Tariff&amp;quot; scenarios.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Selected Tariff is used just in [[Image:icon_test.png]]Testing mode.''' Rerating functionality rerates old Calls by Tariff set in User Settings, if you did not change Tariff for User, after rerating Calls Prices will be same as were before.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Tariff from Localization ==&lt;br /&gt;
&lt;br /&gt;
If call's prefix is in Localization Rule which has some Tariff, this Tariff is used to count call's price instead of User's Tariff.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
However, '''localized''' destinations are used for the Rerating.&lt;br /&gt;
&amp;lt;br&amp;gt; '''Example:'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
1) User dialled 001137067012345. Localization rule was applied:&lt;br /&gt;
&lt;br /&gt;
 '''Cut:''' 0011, '''Add:''' , '''Change Tariff to:''' Tariff B.&lt;br /&gt;
&lt;br /&gt;
So this call to 001137067012345 was billed according to Tariff B rates. Localized destination number 37067012345 was saved to the database.&lt;br /&gt;
&lt;br /&gt;
Now when you are rerating, destination number 37067012345 is taken. The rule to cut 0011 and change tariff cannot be applied here.&lt;br /&gt;
&lt;br /&gt;
2) User dials 37067012345. Localization rule was applied:&lt;br /&gt;
&lt;br /&gt;
 '''Cut:''' 3706, '''3706''' , '''Change Tariff to:''' Tariff B.&lt;br /&gt;
This call to 37067012345 was billed according to Tariff B rates. Since the destination number is not changed, Localization rules will be applied to number 37067012345 and Tariff B will be used when rerating.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Other notes=&lt;br /&gt;
&lt;br /&gt;
* Re-rate does not take into account Flat Rates and User will be charged for such Calls. Do not do rerating for such User.&lt;br /&gt;
&lt;br /&gt;
* Re-rate does not work when call's DID, LCR or Owner Device is changed by Localization rules.&lt;br /&gt;
&lt;br /&gt;
* Re-rate will take Active Rate when Rates with [[Rate Effective From | Effective From]] are re-rated.&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=CDR_Rerating&amp;diff=20225</id>
		<title>CDR Rerating</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=CDR_Rerating&amp;diff=20225"/>
		<updated>2015-10-07T08:28:17Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* Tariff from Localization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description = &lt;br /&gt;
&lt;br /&gt;
This function is used when you change Tariff for some customer and you want to recalculate Price for his Calls in the past. You need to select User, Period and system recalculates all Prices for all Calls in selected period for selected User. It affects balance of User and statistics will show information with new Prices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
Go to '''SETTINGS –&amp;gt; Billing –&amp;gt; CDR –&amp;gt; Rerating''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating_image1.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select date interval and User whose Calls you want to rerate. You can select All Users and include calls of Reseller Users.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!---This functionality is available from MOR X5---&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Also you are able su set '''Ghost Time''' percent, this value will increase user_billsec and/or reseller_billsec and price which depends on changed user_billsec and/or reseller_billsec. Ghost Time will be calculated just from initial billsec,  and if you will rerate two timesr with same percentage value, on second time nothing will change. 0 leaves or returns initial user_billsec and/or reseller price.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Table below will show which data of Calls will be affected according each selection scenario.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: #C0C0C0; padding: 0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &lt;br /&gt;
! One of Admin Users&lt;br /&gt;
! One of Admin Resellers&lt;br /&gt;
! &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;All Users&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
! One of particular Reseller Users&lt;br /&gt;
! All Users (Reseller Users Included)&lt;br /&gt;
|-&lt;br /&gt;
| user_billsec, &lt;br /&gt;
user_rate, &lt;br /&gt;
user_price&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(just for Admin Users Calls)&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
|-&lt;br /&gt;
| reseller_billsec, &lt;br /&gt;
reseller_rate, &lt;br /&gt;
reseller_price&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;(for Calls of All Reseller Users)&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-&lt;br /&gt;
| &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;+ &lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(just for Reseller User Calls)&lt;br /&gt;
|}&lt;br /&gt;
'''NOTE''' If in Call of Reseller User will be used one of [[Common Use Providers]] Tariff to rerate Reseller Price will be taken form ADDONS -&amp;gt; Resellers -&amp;gt; Common use Providers. If in Call of Reseller User will be used one of Provider which belongs just to Reseller, Provider Price will be rerated by that Provider tariff.&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&amp;lt;!---Nuo x6 lieka tik FAST rerating ir test mode---&amp;gt;&lt;br /&gt;
* Press '''Rerate in Background(FAST)''' if you want to send Rerating task to [[Background Tasks]]. This way rerating of huge amount of Calls goes faster than SLOW method and also you do not need to wait in current page till rerating will be finished. '''Also Provider Billing details will be rerated'''&lt;br /&gt;
&amp;lt;!---SLOW rerating tik iki x5---&amp;gt;&lt;br /&gt;
* Press '''Rerate in GUI(SLOW)'''. The rating mechanism is the same as in MOR application but here rating is done by GUI. '''Be patient – if there are many calls – it can take some time to rerate all of them'''. '''Provider Billing details will NOT be rerated.''' If you choose this way for Rerating you will be redirected to second step:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you see call stats for selected date interval. When you are sure everything is correct – press '''Rerate''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrrerating3.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you will see the Difference after Rerating.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Rerate all users == &lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 11---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select 'All Users' from User selection to rerate all Users at once in selected period.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Testing mode == &lt;br /&gt;
&lt;br /&gt;
Select '''Tariff for User''' below '''TESTING MODE''' header: &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:cdrtestrerating.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
...and press '''Test with selected Tariff (SLOW)''' to check differences of Rates for selected User. This way Rerating will not save changes to Calls/Users.&lt;br /&gt;
&lt;br /&gt;
Testing mode is useful for testing &amp;quot;What if User had this Tariff&amp;quot; scenarios.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Selected Tariff is used just in [[Image:icon_test.png]]Testing mode.''' Rerating functionality rerates old Calls by Tariff set in User Settings, if you did not change Tariff for User, after rerating Calls Prices will be same as were before.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Tariff from Localization ==&lt;br /&gt;
&lt;br /&gt;
If call's prefix is in Localization Rule which has some Tariff, this Tariff is used to count call's price instead of User's Tariff.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
However, localized destinations are used for the Rerating.&lt;br /&gt;
&amp;lt;br&amp;gt; '''Example:'''&lt;br /&gt;
1) User dialled 001137067012345. Localization rule was applied:&lt;br /&gt;
&lt;br /&gt;
 '''Cut:''' 0011, '''Add:''' , '''Change Tariff to:''' Tariff B.&lt;br /&gt;
&lt;br /&gt;
So this call to 001137067012345 was billed according to Tariff B rates. Localized destination number 37067012345 was saved to the database.&lt;br /&gt;
&lt;br /&gt;
Now when you are re-rating, destination number 37067012345 is taken. The rule to cut 0011 and change tariff cannot be applied here.&lt;br /&gt;
&lt;br /&gt;
2) User dials 37067012345. Localization rule was applied:&lt;br /&gt;
&lt;br /&gt;
 '''Cut:''' 3706, '''3706''' , '''Change Tariff to:''' Tariff B.&lt;br /&gt;
This call to 37067012345 was billed according to Tariff B rates. Since the destination number is not changed, Localization rules will be applied to number 37067012345 and Tariff B will be used when re-rating.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Other notes=&lt;br /&gt;
&lt;br /&gt;
* Re-rate does not take into account Flat Rates and User will be charged for such Calls. Do not do rerating for such User.&lt;br /&gt;
&lt;br /&gt;
* Re-rate does not work when call's DID, LCR or Owner Device is changed by Localization rules.&lt;br /&gt;
&lt;br /&gt;
* Re-rate will take Active Rate when Rates with [[Rate Effective From | Effective From]] are re-rated.&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_-_Blocked_IPs&amp;diff=20207</id>
		<title>MOR - Blocked IPs</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_-_Blocked_IPs&amp;diff=20207"/>
		<updated>2015-10-05T07:53:00Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Go to '''ADDONS -&amp;gt; Monitorings -&amp;gt; Blocked IPs''' to see all blocked IPs with blocking reasons. Blocking reasons give a hint what needs to be fixed.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:blocked_ips.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Explanation of the values given in the '''Reason''' column can be found [[How_to_be_secure_using_MOR#Additional_software_to_increase_MOR_system_security|here]].&lt;br /&gt;
=See Also=&lt;br /&gt;
&lt;br /&gt;
* [[How to block someone's IP]]&lt;br /&gt;
* [[How to add Fail2ban exception for my IP]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Invoices&amp;diff=20206</id>
		<title>Invoices</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Invoices&amp;diff=20206"/>
		<updated>2015-10-05T05:50:48Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description =&lt;br /&gt;
&lt;br /&gt;
An invoice, bill or tab is a commercial document issued by a seller to a buyer, relating to a sale transaction and indicating the products, quantities, and agreed prices for products or services the seller had provided the buyer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Configuration =&lt;br /&gt;
 &lt;br /&gt;
You can manage Invoices settings, details, Address information and functionality in the Invoices section of the [[Configuration_from_GUI#Invoices | SETTINGS -&amp;gt; Setup -&amp;gt; Settings]] window.&amp;lt;br&amp;gt;&lt;br /&gt;
If you want show user_billsec instead of billsec in Users invoices and last calls, go to [[Configuration_from_GUI#Visual | Settings –&amp;gt; Various]] and check ''Show user_billsec for Users instead of billsec''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Go to User's edit page to enable or disable types of invoices he can see in his invoices details. And also these selected types will be the ones that are sent to user via email. &lt;br /&gt;
&lt;br /&gt;
[[File:Invoices_types.png]]&lt;br /&gt;
&lt;br /&gt;
=Invoices list=&lt;br /&gt;
&lt;br /&gt;
Invoices can be viewed, generated, recalculated, sent, also &amp;lt;!---...from MOR 9---&amp;gt; list of Invoices can be exported to CSV file (Invoice number is included in the output data) in '''SETTINGS –&amp;gt; Accounting –&amp;gt; Invoices'''. In the main window, you can see list of all Invoices:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoices_list_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The icons [[Image:icon_check.png]] and [[Image:icon_cross.png]] show whether this invoice is Paid or Unpaid, Sent or Not Sent. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE''' Each Invoice generated in particular Time Zone and on particular Currency. That means that in each line of Invoice Price and Price with TAX will be shown in currency which is written in Currency column. The Currency column tells which currency Invoice was generated with. Also the exchange rate at the invoice generation moment is saved in the database so it may differ from the up to date exchange rate.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Total Price and Price with TAX are calculated into viewing Currency, which you can choose in upper corner of page. In Total price calculation there are used saved exchange Rate of each Invoice.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Example'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Default system Currency is USD&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice A is generated on price = 100 in currency EUR with exchange rate 0.5&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice B is generated on price = 100 in currency DZD with exchange rate 0.25&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice C is generated on price = 100 in currency ALL with exchange rate 0.75&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
But now exchange rate are different: EUR - 0.75, DZD - 0.5 and ALL - 1.0. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price(sum of these 3 Invoices) in EUR. For Invoice B and C will be set exchange rate of today, but for Invoice A exchange rate will be from that day when Invoice was generated (0.5).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Same calculations with other currencies:&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price in USD. For Invoice A, B and C the exchange rates will be set from the day when invoice was generated (EUR - 0.5, DZD - 0.25 and ALL - 0.75).&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price in DZD. For Invoice A and C will be set exchange rate of today, but for Invoice B exchange rate will be from the day when Invoice was generated (0.25).&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price in ALL. For Invoice A and B will be set exchange rate of today, but for Invoice C exchange rate will be from the day when Invoice was generated (0.75).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Total price will be 733.3333 USD, or 500 EUR, or 266.6667 DZD, or 700 ALL&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Invoice details=&lt;br /&gt;
&lt;br /&gt;
Click on the [[Image:icon_details.png]] icon to get details of the Invoice:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_details_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice details are shown in Currency which was used to generate Invoice. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==General Details==&lt;br /&gt;
&lt;br /&gt;
'''Payment date''' - An option which will set the period of payment on current month. By default ''Years'' and ''Month'' is current, it is only possible to change ''Day of Month'' which is indicating the last date of ''Invoice'' issue.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Currecy of Invoice''' - &amp;lt;!---This functionality is available from MOR X6---&amp;gt; Invoices are exported in Invoice currency.&lt;br /&gt;
&lt;br /&gt;
'''Language of Invoice'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Default language in MOR is English. However, you can send invoices in different languages (click on the flag icon on the top of the page).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==User Details==&lt;br /&gt;
&lt;br /&gt;
User Details which will be used in xlsx file of invoice. These Details are taken form [[User Details]] and it can be changed manually, but after recalculate it will be reset to same information as it is in [[User Details]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Files to send or download==&lt;br /&gt;
&lt;br /&gt;
Here you can view the details of all invoices and click on the [[Image:icon_pdf.png]] or [[Image:icon_csv.png]] icons to generate invoice files in PDF or CSV formats accordingly. First icon [[Image:icon_csv.png]] will download a xlsx file.&lt;br /&gt;
&lt;br /&gt;
*'''Invoice XLSX''' xlsx file shows information which are set by you. Check [[Invoices_(MOR_X6)#XLSX_Invoices | XLSX Invoice]]&lt;br /&gt;
*'''Invoice''' PDF shows separate services Prices and Total Invoice Prices, CSV shows just Total Invoice Prices.&lt;br /&gt;
*'''Invoice detailed''' shows same information like simple Invoice and includes Calls list grouped by Destination.&lt;br /&gt;
*'''Invoice by CallerID'''  shows Calls list grouped by CallerID.&lt;br /&gt;
*'''Invoice Destinations''' shows Calls list grouped by Destination. &lt;br /&gt;
&lt;br /&gt;
You can manage what kind of Invoice should be showed for User and/or sent to User as email attachment in [[User_Details#Invoices |User Details]]. Here you can check ''Show zero Calls'' option if you need to calculate 0 price Calls into Invoices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== XLSX Invoices ===&lt;br /&gt;
&lt;br /&gt;
XLSX file to export an Invoice is made from your own XLSX format template and information from Invoices main window.&lt;br /&gt;
Example of template can be downloaded for [http://www.kolmisoft.com/packets/x6_invoice_template.xlsx here].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Default XLSX template'''&lt;br /&gt;
&lt;br /&gt;
Create a xlsx file. Template you can prepare as you wish, you can fill it with information of company, draw tables with column names, describe information taken from Invoice main window and so on. Template '''have to be uploaded in SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - XLSX tab setting  '''XSLX Template'''&lt;br /&gt;
* Check '''New XLSX template apply for old Invoices''' if you want to change XLSX template for Invoices which is already generated.&lt;br /&gt;
* Check '''Group regular Calls by Destinations''' if you want XLSX file us as detailed Invoice.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''Balance Line settings'''&lt;br /&gt;
&lt;br /&gt;
''Outstanding balance (Debt)'', ''Outstanding balance (Debt) with TAX'', ''Total amount due'' options are present when ''Show balance line'' ('''SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - Postpaid - Settings) setting is enabled.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Configuration for Dynamic information'''&lt;br /&gt;
&lt;br /&gt;
When you already have a template for example with all data of your company, with drawn tables and so on, you need to define where should be shown the dynamic information of invoice. How and what information is displayed can be set same '''SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - XLSX tab. Just need to define cell address in correct format. &lt;br /&gt;
&lt;br /&gt;
For example &amp;quot;A2&amp;quot;, &amp;quot;B15&amp;quot;, &amp;quot;AA9&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:callc.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''NOTE''': If you do not want to use particular dynamic value just leave empty input for it.&lt;br /&gt;
&lt;br /&gt;
=== PDF invoices ===&lt;br /&gt;
&lt;br /&gt;
The layout of PDF invoices is not customizable. &lt;br /&gt;
&lt;br /&gt;
Logos are not supported in PDF invoices.&lt;br /&gt;
&lt;br /&gt;
You can print your invoices on paper with a pre-printed logo if you want to send paper invoices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== CSV invoices ===&lt;br /&gt;
&lt;br /&gt;
Detailed CSV invoice does not include list of all calls. Please use [[How_to_export_CDRs|CDR export]] if you need list of calls in CSV format.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Comment==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 9---&amp;gt;&lt;br /&gt;
Sometimes it is useful to add a comment to the invoice. It can be used in xlsx file also.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Invoice  Details==&lt;br /&gt;
Click on the Invoice Details icon in the Invoice details page &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Service_details.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
to get Services Details of the Invoice: &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_services_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Services:'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* '''SMS''' – quantity and price of SMS sent in selected period. Invoice for Reseller counts all SMS that was sent by his users using price for Reseller. Note, that SMS are included to Invoice only when [[SMS Addon]] is used&lt;br /&gt;
* '''DID Owner Cost''' – price for having and using own DID(s)&lt;br /&gt;
* '''Subscriptions''' – price of subscription applied to selected period. Period considered as month is from first till last day of month and from concrete day of month till next month one day before selected last month. Eg. from 2013-02-26 till 2013-03-25&lt;br /&gt;
* '''Calls''' – quantity and price of outgoing calls&lt;br /&gt;
* '''Calls from Users''' – quantity and price of resellers users calls&lt;br /&gt;
* '''Calls to DIDs''' – price for calling to DID(s)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Invoice generation =&lt;br /&gt;
&lt;br /&gt;
In the main Invoices window, click [[Image:icon_generate_invoices.png]] '''Generate Invoices''' to generate additional invoices:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:generate_invoices_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select for which users to generate invoices. Prepaid and Postpaid users can have separate details. Also, you can check to generate an invoice for only one particular user. Invoice will be generated if selected User existed at least one day of all Invoice period. When Invoice Generation Task is created, admin can check the progress in [[Background Tasks]]. &lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' For Prepaid User after every executed Manual Payment will be generated Invoice automatically.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR X5---&amp;gt;&lt;br /&gt;
'''NOTE:''' If Currency of User is different than default System Currency. All his Invoices will be generated with [[Currencies| Currency]] Exchange Rate of current day. &amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE:''' When generating invoice, current user details will be used.  &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Invoice recalculation =&lt;br /&gt;
&lt;br /&gt;
An invoice cannot be modified after being sent. But if you want to allow recalculations after sending invoices, go to: '''Settings -&amp;gt; Setup -&amp;gt; Settings'''. Then click on the tabs: '''Invoices -&amp;gt; Functionality'''. Select ''Invoice allow recalculate after send'':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ivoicesnewnew.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Recalculate a group of Invoices===&lt;br /&gt;
&lt;br /&gt;
To recalculate invoices in the main Invoices window click [[Image:icon_generate_invoices.png]] '''Recalculate invoices''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:recalc.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select which type of Invoices or whose Invoices to recalculate.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Recalculate a single Invoice ===&lt;br /&gt;
&lt;br /&gt;
If an invoice is not marked as paid - it can be recalculated for the same user, same period. To achieve this - press the marked icon:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Recalculate_single_invoice_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Pay unpaid Invoices =&lt;br /&gt;
&lt;br /&gt;
In list of Invoices click [[Image:icon_edit.png]]'''Bulk management''' and button '''Pay unpaid Invoices''' will appear.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:pay_unpaid_invoices.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Click '''Pay unpaid Invoices''' and '''All''' unpaid Invoices will be marked as paid. For each marked Invoice Payment will be created.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Send invoices by email (manual) =&lt;br /&gt;
&lt;br /&gt;
Click [[Image:icon_email_send.png]] to open more options to enter the period in which you want to send invoices. Click '''Send''' to send invoices to their Users in this period:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoices_send_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You can use these settings to choose which users should get an email with the invoice. Using these settings you can send emails in parts.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Email sending''' option must be enabled in Email Settings to use this feature&lt;br /&gt;
* Tip: you can '''send invoices in parts''' by using text fields to send invoices for users which '''Username, First name, Last name''' or '''Number''' begins with some letters. For example: you have users with usernames john, albert and alex. You want to send invoices only for users whose usernames begins with '''&amp;quot;a&amp;quot;''' so you just have to enter '''&amp;quot;a&amp;quot;''' in a '''Username text field''' to send invoices only to albert and alex.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Generate and send invoices by email (automatically) =&lt;br /&gt;
&lt;br /&gt;
Use [http://wiki.kolmisoft.com/index.php/Cron_actions#Generate_Invoices_and_send_by_Email Cron Actions] to Generate and send Emails automatically.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Accounting]]&lt;br /&gt;
* [[Invoice configuration]]&lt;br /&gt;
* [[Pay Invoice with balance deduction]]&lt;br /&gt;
* [[Outstanding balance(Debt)]]&lt;br /&gt;
* [[Invoice by CallerID]]&lt;br /&gt;
* [[MOR API invoices_get]]&lt;br /&gt;
* [[Cannot generate Invoice]]&lt;br /&gt;
* [[Duplicate value in Cell Address field]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Invoices&amp;diff=20205</id>
		<title>Invoices</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Invoices&amp;diff=20205"/>
		<updated>2015-10-05T05:50:28Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description =&lt;br /&gt;
&lt;br /&gt;
An invoice, bill or tab is a commercial document issued by a seller to a buyer, relating to a sale transaction and indicating the products, quantities, and agreed prices for products or services the seller had provided the buyer.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Configuration =&lt;br /&gt;
 &lt;br /&gt;
You can manage Invoices settings, details, Address information and functionality in the Invoices section of the [[Configuration_from_GUI#Invoices | SETTINGS -&amp;gt; Setup -&amp;gt; Settings]] window.&amp;lt;br&amp;gt;&lt;br /&gt;
If you want show user_billsec instead of billsec in Users invoices and last calls, go to [[Configuration_from_GUI#Visual | Settings –&amp;gt; Various]] and check ''Show user_billsec for Users instead of billsec''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Go to User's edit page to enable or disable types of invoices he can see in his invoices details. And also these selected types will be the ones that are sent to user via email. &lt;br /&gt;
&lt;br /&gt;
[[File:Invoices_types.png]]&lt;br /&gt;
&lt;br /&gt;
=Invoices list=&lt;br /&gt;
&lt;br /&gt;
Invoices can be viewed, generated, recalculated, sent, also &amp;lt;!---...from MOR 9---&amp;gt; list of Invoices can be exported to CSV file (Invoice number is included in the output data) in '''SETTINGS –&amp;gt; Accounting –&amp;gt; Invoices'''. In the main window, you can see list of all Invoices:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoices_list_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The icons [[Image:icon_check.png]] and [[Image:icon_cross.png]] show whether this invoice is Paid or Unpaid, Sent or Not Sent. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE''' Each Invoice generated in particular Time Zone and on particular Currency. That means that in each line of Invoice Price and Price with TAX will be shown in currency which is written in Currency column. The Currency column tells which currency Invoice was generated with. Also the exchange rate at the invoice generation moment is saved in the database so it may differ from the up to date exchange rate.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Total Price and Price with TAX are calculated into viewing Currency, which you can choose in upper corner of page. In Total price calculation there are used saved exchange Rate of each Invoice.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Example'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Default system Currency is USD&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice A is generated on price = 100 in currency EUR with exchange rate 0.5&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice B is generated on price = 100 in currency DZD with exchange rate 0.25&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice C is generated on price = 100 in currency ALL with exchange rate 0.75&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
But now exchange rate are different: EUR - 0.75, DZD - 0.5 and ALL - 1.0. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price(sum of these 3 Invoices) in EUR. For Invoice B and C will be set exchange rate of today, but for Invoice A exchange rate will be from that day when Invoice was generated (0.5).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Same calculations with other currencies:&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price in USD. For Invoice A, B and C the exchange rates will be set from the day when invoice was generated (EUR - 0.5, DZD - 0.25 and ALL - 0.75).&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price in DZD. For Invoice A and C will be set exchange rate of today, but for Invoice B exchange rate will be from the day when Invoice was generated (0.25).&amp;lt;br&amp;gt;&lt;br /&gt;
If you want to see Total price in ALL. For Invoice A and B will be set exchange rate of today, but for Invoice C exchange rate will be from the day when Invoice was generated (0.75).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Total price will be 733.3333 USD, or 500 EUR, or 266.6667 DZD, or 700 ALL&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Invoice details=&lt;br /&gt;
&lt;br /&gt;
Click on the [[Image:icon_details.png]] icon to get details of the Invoice:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_details_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Invoice details are shown in Currency which was used to generate Invoice. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==General Details==&lt;br /&gt;
&lt;br /&gt;
'''Payment date''' - An option which will set the period of payment on current month. By default ''Years'' and ''Month'' is current, it is only possible to change ''Day of Month'' which is indicating the last date of ''Invoice'' issue.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Currecy of Invoice''' - &amp;lt;!---This functionality is available from MOR X6---&amp;gt; Invoices are exported in Invoice currency.&lt;br /&gt;
&lt;br /&gt;
'''Language of Invoice'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Default language in MOR is English. However, you can send invoices in different languages (click on the flag icon on the top of the page).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==User Details==&lt;br /&gt;
&lt;br /&gt;
User Details which will be used in xlsx file of invoice. These Details are taken form [[User Details]] and it can be changed manually, but after recalculate it will be reset to same information as it is in [[User Details]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Files to send or download==&lt;br /&gt;
&lt;br /&gt;
Here you can view the details of all invoices and click on the [[Image:icon_pdf.png]] or [[Image:icon_csv.png]] icons to generate invoice files in PDF or CSV formats accordingly. First icon [[Image:icon_csv.png]] will download a xlsx file.&lt;br /&gt;
&lt;br /&gt;
*'''Invoice XLSX''' xlsx file shows information which are set by you. Check [[Invoices_(MOR_X6)#XLSX_Invoices | XLSX Invoice]]&lt;br /&gt;
*'''Invoice''' PDF shows separate services Prices and Total Invoice Prices, CSV shows just Total Invoice Prices.&lt;br /&gt;
*'''Invoice detailed''' shows same information like simple Invoice and includes Calls list grouped by Destination.&lt;br /&gt;
*'''Invoice by CallerID'''  shows Calls list grouped by CallerID.&lt;br /&gt;
*'''Invoice Destinations''' shows Calls list grouped by Destination. &lt;br /&gt;
&lt;br /&gt;
You can manage what kind of Invoice should be showed for User and/or sent to User as email attachment in [[User_Details#Invoices |User Details]]. Here you can check ''Show zero Calls'' option if you need to calculate 0 price Calls into Invoices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== XLSX Invoices ===&lt;br /&gt;
&lt;br /&gt;
XLSX file to export an Invoice is made from your own XLSX format template and information from Invoices main window.&lt;br /&gt;
Example of template can be downloaded for [http://www.kolmisoft.com/packets/x6_invoice_template.xlsx here].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Default XLSX template'''&lt;br /&gt;
&lt;br /&gt;
Create a xlsx file. Template you can prepare as you wish, you can fill it with information of company, draw tables with column names, describe information taken from Invoice main window and so on. Template '''have to be uploaded in SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - XLSX tab setting  '''XSLX Template'''&lt;br /&gt;
* Check '''New XLSX template apply for old Invoices''' if you want to change XLSX template for Invoices which is already generated.&lt;br /&gt;
* Check '''Group regular Calls by Destinations''' if you want XLSX file us as detailed Invoice.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''Balance Line settings'''&lt;br /&gt;
&lt;br /&gt;
''Outstanding balance (Debt)'', ''Outstanding balance (Debt) with TAX'', ''Total amount due'' options are present when ''Show balance line'' ('''SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - Postpaid - Settings) setting is enabled.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Configuration for Dynamic information'''&lt;br /&gt;
&lt;br /&gt;
When you already have a template for example with all data of your company, with drawn tables and so on, you need to define where should be shown the dynamic information of invoice. How and what information is displayed can be set same '''SETTINGS -&amp;gt; Setup -&amp;gt; Settings''', Invoices - XLSX tab. Just need to define cell address in correct format. &lt;br /&gt;
&lt;br /&gt;
For example &amp;quot;A2&amp;quot;, &amp;quot;B15&amp;quot;, &amp;quot;AA9&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:callc.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''NOTE''': If you do not want to use particular dynamic value just leave empty input for it.&lt;br /&gt;
&lt;br /&gt;
=== PDF invoices ===&lt;br /&gt;
&lt;br /&gt;
The layout of PDF invoices is not customizable. &lt;br /&gt;
&lt;br /&gt;
Logos are not supported in PDF invoices.&lt;br /&gt;
&lt;br /&gt;
You can print your invoices on paper with a pre-printed logo if you want to send paper invoices.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== CSV invoices ===&lt;br /&gt;
&lt;br /&gt;
Detailed CSV invoice does not include list of all calls. Please use [[How_to_export_CDRs|CDR export]] if you need list of calls in CSV format.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Comment==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 9---&amp;gt;&lt;br /&gt;
Sometimes it is useful to add a comment to the invoice. It can be used in xlsx file also.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Invoice  Details==&lt;br /&gt;
Click on the Invoice Details icon in the Invoice details page &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Service_details.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
to get Services Details of the Invoice: &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoice_services_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Services:'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* '''SMS''' – quantity and price of SMS sent in selected period. Invoice for Reseller counts all SMS that was sent by his users using price for Reseller. Note, that SMS are included to Invoice only when [[SMS Addon]] is used&lt;br /&gt;
* '''DID Owner Cost''' – price for having and using own DID(s)&lt;br /&gt;
* '''Subscriptions''' – price of subscription applied to selected period. Period considered as month is from first till last day of month and from concrete day of month till next month one day before selected last month. Eg. from 2013-02-26 till 2013-03-25&lt;br /&gt;
* '''Calls''' – quantity and price of outgoing calls&lt;br /&gt;
* '''Calls from Users''' – quantity and price of resellers users calls&lt;br /&gt;
* '''Calls to DIDs''' – price for calling to DID(s)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Invoice generation =&lt;br /&gt;
&lt;br /&gt;
In the main Invoices window, click [[Image:icon_generate_invoices.png]] '''Generate Invoices''' to generate additional invoices:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:generate_invoices_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select for which users to generate invoices. Prepaid and Postpaid users can have separate details. Also, you can check to generate an invoice for only one particular user. Invoice will be generated if selected User existed at least one day of all Invoice period. When Invoice Generation Task is created, admin can check the progress in [[Background Tasks]]. &lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' For Prepaid User after every executed Manual Payment will be generated Invoice automatically.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR X5---&amp;gt;&lt;br /&gt;
'''NOTE:''' If Currency of User is different than default System Currency. All his Invoices will be generated with [[Currencies| Currency]] Exchange Rate of current day. &amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE:''' When generating invoice, current user details will be used.  &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Invoice recalculation =&lt;br /&gt;
&lt;br /&gt;
An invoice cannot be modified after being sent. But if you want to allow recalculations after sending invoices, go to: '''Settings -&amp;gt; Setup -&amp;gt; Settings'''. Then click on the tabs: '''Invoices -&amp;gt; Functionality'''. Select ''Invoice allow recalculate after send'':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:ivoicesnewnew.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Recalculate a group of Invoices===&lt;br /&gt;
&lt;br /&gt;
To recalculate invoices in the main Invoices window click [[Image:icon_generate_invoices.png]] '''Recalculate invoices''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:recalc.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select which type of Invoices or whose Invoices to recalculate.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Recalculate a single Invoice ===&lt;br /&gt;
&lt;br /&gt;
If an invoice is not marked as paid - it can be recalculated for the same user, same period. To achieve this - press the marked icon:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Recalculate_single_invoice_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Pay unpaid Invoices =&lt;br /&gt;
&lt;br /&gt;
In list of Invoices click [[Image:icon_edit.png]]'''Bulk management''' and button '''Pay unpaid Invoices''' will appear.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:pay_unpaid_invoices.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Click '''Pay unpaid Invoices''' and '''All''' unpaid Invoices will be marked as paid. For each marked Invoice Payment will be created.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Send invoices by email (manual) =&lt;br /&gt;
&lt;br /&gt;
Click [[Image:icon_email_send.png]] to open more options to enter the period in which you want to send invoices. Click '''Send''' to send invoices to their Users in this period:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:invoices_send_x6.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You can use these settings to choose which users should get an email with the invoice. Using these settings you can send emails in parts.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Email sending''' option must be enabled in Email Settings to use this feature&lt;br /&gt;
* Tip: you can '''send invoices in parts''' by using text fields to send invoices for users which '''Username, First name, Last name''' or '''Number''' begins with some letters. For example: you have users with usernames john, albert and alex. You want to send invoices only for users whose usernames begins with '''&amp;quot;a&amp;quot;''' so you just have to enter '''&amp;quot;a&amp;quot;''' in a '''Username text field''' to send invoices only to albert and alex.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Generate and send invoices by email (automatically) =&lt;br /&gt;
&lt;br /&gt;
Use [http://wiki.kolmisoft.com/index.php/Cron_actions#Generate_Invoices_and_send_by_Email Cron Actions] to Generate and send Emails automatically.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Accounting]]&lt;br /&gt;
* [[Invoice configuration]]&lt;br /&gt;
* [[Pay Invoice with balance deduction]]&lt;br /&gt;
* [[Outstanding balance(Debt)]]&lt;br /&gt;
* [[Invoice by CallerID]]&lt;br /&gt;
* [[MOR API invoices_get]]&lt;br /&gt;
* [[Cannot generate Invoice]]&lt;br /&gt;
* [[Duplicate_value_in_Cell_Address_field]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Duplicate_value_in_Cell_Address_field&amp;diff=20204</id>
		<title>Duplicate value in Cell Address field</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Duplicate_value_in_Cell_Address_field&amp;diff=20204"/>
		<updated>2015-10-05T05:50:09Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If you see error '''Duplicate value in Cell Address field''' when editing any settings at ''SETTINGS -&amp;gt; Setup -&amp;gt; Settings'', it means that you have duplicate values at ''SETTINGS -&amp;gt; Setup -&amp;gt; Settings -&amp;gt; Invoices -&amp;gt; XLSX''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To solve the issue, please go to ''SETTINGS -&amp;gt; Setup -&amp;gt; Settings -&amp;gt; Invoices -&amp;gt; XLSX'' and check for duplicate values, as shown in the picture below.&lt;br /&gt;
[[File:Duplicate lines.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Please change the fields, so no duplicated would be present.&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Invoices (MOR X6)]]&lt;br /&gt;
* [[Invoice configuration]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=I_have_a_problem_with_Invoices&amp;diff=20203</id>
		<title>I have a problem with Invoices</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=I_have_a_problem_with_Invoices&amp;diff=20203"/>
		<updated>2015-10-05T05:49:14Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;What problem do you have? &lt;br /&gt;
&lt;br /&gt;
* [[Cannot generate Invoice]]&lt;br /&gt;
* [[Detailed Invoice does not match simple Invoice]]&lt;br /&gt;
* [[Detailed Invoice does not include CDRs]]&lt;br /&gt;
* [[Rerating does not work]]&lt;br /&gt;
* [[Invoice_limit_reached|Invoice reach limit: 20]]&lt;br /&gt;
* [[Invoice by CallerID does not include Incoming calls]]&lt;br /&gt;
* [[Cannot generate PDF]]&lt;br /&gt;
* [[Balance, Calls and Invoices are zero]]&lt;br /&gt;
* [[There is no Invoice PDF button from User login page]]&lt;br /&gt;
* [[Duplicate value in Cell Address field]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= See also =&lt;br /&gt;
* [[MOR_Manual#Accounting | Accounting - Invoices]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Duplicate_value_in_Cell_Address_field&amp;diff=20202</id>
		<title>Duplicate value in Cell Address field</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Duplicate_value_in_Cell_Address_field&amp;diff=20202"/>
		<updated>2015-10-05T05:48:20Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If you see error '''Duplicate value in Cell Address field''' when editing any settings at ''SETTINGS -&amp;gt; Setup -&amp;gt; Settings'', it means that you have duplicate values at ''SETTINGS -&amp;gt; Setup -&amp;gt; Settings -&amp;gt; Invoices -&amp;gt; XLSX''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To solve the issue, please go to ''SETTINGS -&amp;gt; Setup -&amp;gt; Settings -&amp;gt; Invoices -&amp;gt; XLSX'' and check for duplicate values, as shown in the picture below.&lt;br /&gt;
[[File:Duplicate lines.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Please change the fields, so no duplicated would be present.&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Duplicate_lines.png&amp;diff=20201</id>
		<title>File:Duplicate lines.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Duplicate_lines.png&amp;diff=20201"/>
		<updated>2015-10-05T05:46:47Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Duplicate_value_in_Cell_Address_field&amp;diff=20200</id>
		<title>Duplicate value in Cell Address field</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Duplicate_value_in_Cell_Address_field&amp;diff=20200"/>
		<updated>2015-10-05T05:42:16Z</updated>

		<summary type="html">&lt;p&gt;Rita: Created page with 'If you see error '''Duplicate value in Cell Address field''' when editing any settings at ''SETTINGS -&amp;gt; Setup -&amp;gt; Settings'', it means that you have duplicate values at ''SETTINGS…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If you see error '''Duplicate value in Cell Address field''' when editing any settings at ''SETTINGS -&amp;gt; Setup -&amp;gt; Settings'', it means that you have duplicate values at ''SETTINGS -&amp;gt; Setup -&amp;gt; Settings -&amp;gt; Invoices -&amp;gt; XLSX''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To solve the issue, please go to ''SETTINGS -&amp;gt; Setup -&amp;gt; Settings -&amp;gt; Invoices -&amp;gt; XLSX'' and check for duplicate values, as shown in the picture below.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Please change the fields, so no duplicated would be present.&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=How_to_configure_911_service&amp;diff=20180</id>
		<title>How to configure 911 service</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=How_to_configure_911_service&amp;diff=20180"/>
		<updated>2015-09-30T05:35:15Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Method #1 =&lt;br /&gt;
&lt;br /&gt;
NOTE: This guide is for the case when Provider maps 911 or similar number to some external number, like 12125551212&lt;br /&gt;
If Provider does not map 911 to external number and requests you to send 911 to Provider directly, check Method #3.&lt;br /&gt;
&lt;br /&gt;
This guide will show how to configure 911, 411 or any other similar service.&lt;br /&gt;
&lt;br /&gt;
You can read more about it at: [http://www.myvoipprovider.com/VoIP_911_Service/ VoIP 911 Services].&lt;br /&gt;
&lt;br /&gt;
First of all, you need a provider that will allow you to use such a service. Some such providers may be found [http://www.voip-info.org/wiki/view/VOIP+911+Service+Providers here].&lt;br /&gt;
&lt;br /&gt;
When you buy a service from such a provider, he will give you an access number to dial.&lt;br /&gt;
&lt;br /&gt;
As an example, let's take the number 12125551212, which should be dialed to access the service.&lt;br /&gt;
&lt;br /&gt;
= Short guide = &lt;br /&gt;
&lt;br /&gt;
In order to configure number 911, we will need to:&lt;br /&gt;
&lt;br /&gt;
* Create a User/Virtual Device for the 911 service.&lt;br /&gt;
* Forward a Virtual Device to 12125551212.&lt;br /&gt;
* Create a DID 911.&lt;br /&gt;
* Assign a Virtual Device to DID 911.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Detailed guide =&lt;br /&gt;
&lt;br /&gt;
Create User/ Virtual Device for 911 service:&lt;br /&gt;
&lt;br /&gt;
[[Image:settingup911_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Forward Virtual Device to 12125551212:&lt;br /&gt;
&lt;br /&gt;
[[Image:settingup911_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create  a DID 911 and assign a Virtual Device to it:&lt;br /&gt;
&lt;br /&gt;
[[Image:settingup911_3.png]]&lt;br /&gt;
&lt;br /&gt;
= Method #2 = &lt;br /&gt;
&lt;br /&gt;
* Create User 911.&lt;br /&gt;
* Create Virtual Device with Extension 911 for this user.&lt;br /&gt;
* Make correct LCR for this user (with correct Provider which can handle 911 calls).&lt;br /&gt;
* In Devices Call Flow, Forward the call to the External number given by your Provider.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Method #3 =&lt;br /&gt;
&lt;br /&gt;
This method describes configuration when Provider requires direct number, like 911&lt;br /&gt;
&lt;br /&gt;
Let's configure number 311 which Provider expects.&lt;br /&gt;
&lt;br /&gt;
So User dials number 311. In order it to work we need Localization Rule which will add 00 to it to make it 00311 (min/max=3, cut 3 add 003).&lt;br /&gt;
Make sure proper Location is added to the User (or use Global Location for this Rule).&lt;br /&gt;
&lt;br /&gt;
Let's create new Destination with prefix 00311.&lt;br /&gt;
&lt;br /&gt;
In the user tariff we set price for this Destination (00311).&lt;br /&gt;
&lt;br /&gt;
Now on the Provider which receives this call on his Location Rules we create Rule for Destination to remove leading 00 (min/max 5, cut 003, add 3)&lt;br /&gt;
&lt;br /&gt;
Also set some price on Provider's Tariff for this Destination.&lt;br /&gt;
&lt;br /&gt;
That is all - now User can call 311 and such call will go to the Provider.&lt;br /&gt;
&lt;br /&gt;
NOTE: User will see 00311 on his invoices. 00 means this is short technical number.&lt;br /&gt;
&lt;br /&gt;
All this is necessary to avoid conflict with normal Destination Prefixes.&lt;br /&gt;
&lt;br /&gt;
After configuration is it wise to check it with [[Call Tracing]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
* [[MOR_Manual#DIDs | DIDs]]&lt;br /&gt;
* [[Localization | Localization rules]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Blocked_Rates&amp;diff=20151</id>
		<title>Blocked Rates</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Blocked_Rates&amp;diff=20151"/>
		<updated>2015-09-28T06:36:42Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description =&lt;br /&gt;
&lt;br /&gt;
Blocked Rate blocks a route to particular Destinations. In Wholesale or Provider type Tariffs you are able to block a prefix (Destination) by setting &amp;quot;-1&amp;quot; or text &amp;quot;Blocked&amp;quot;  instead of Price for chosen Destination. &lt;br /&gt;
&lt;br /&gt;
Blocked Rates are useful when Provider does not support some [[Directions and Destinations| Directions or Destinations]]. Some of Providers send a Rates Sheet with a word &amp;quot;Blocked&amp;quot; instead of Price, which means, that this Destination is blocked. MOR [[Rate import from CSV]] recognizes Blocked Rates by &amp;quot;-1&amp;quot; or text &amp;quot;Blocked&amp;quot;  instead of Price. &lt;br /&gt;
&lt;br /&gt;
Also it can help you if you want to forbid some [[Directions and Destinations| Directions or Destinations]] for End Users by yourself. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE''' Retail type Tariff does not support such functionality and Blocked Rates do not affect [[Flat-Rates]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
Let's say we have Destination with Prefix 37062 and Price &amp;quot;blocked&amp;quot; (or -1). All calls to 37062******* will be blocked.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* [[Block_some_Destination_to_User#Block_Destination_to_all_Users_by_Tariff |Block Destination to all Users by Tariff]]&lt;br /&gt;
* [[Block_some_Destination_to_Provider#Block_Destination_to_Provider_by_Tariff| Block some Destination to Provider by Tariff]]&lt;br /&gt;
* [[Rate import from CSV]]&lt;br /&gt;
* [[Directions and Destinations]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Blocked_Rates&amp;diff=20150</id>
		<title>Blocked Rates</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Blocked_Rates&amp;diff=20150"/>
		<updated>2015-09-28T06:35:38Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Available from MOR X6&lt;br /&gt;
= Description =&lt;br /&gt;
&lt;br /&gt;
Blocked Rate blocks a route to particular Destinations. In Wholesale or Provider type Tariffs you are able to block a prefix (Destination) by setting &amp;quot;-1&amp;quot; or text &amp;quot;Blocked&amp;quot;  instead of Price for chosen Destination. &lt;br /&gt;
&lt;br /&gt;
Blocked Rates are useful when Provider does not support some [[Directions and Destinations| Directions or Destinations]]. Some of Providers send a Rates Sheet with a word &amp;quot;Blocked&amp;quot; instead of Price, which means, that this Destination is blocked. MOR [[Rate import from CSV]] recognizes Blocked Rates by &amp;quot;-1&amp;quot; or text &amp;quot;Blocked&amp;quot;  instead of Price. &lt;br /&gt;
&lt;br /&gt;
Also it can help you if you want to forbid some [[Directions and Destinations| Directions or Destinations]] for End Users by yourself. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE''' Retail type Tariff does not support such functionality and Blocked Rates do not affect [[Flat-Rates]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
Let's say we have Destination with Prefix 37062 and Price &amp;quot;blocked&amp;quot; (or -1). All calls to 37062******* will be blocked.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* [[Block_some_Destination_to_User#Block_Destination_to_all_Users_by_Tariff |Block Destination to all Users by Tariff]]&lt;br /&gt;
* [[Block_some_Destination_to_Provider#Block_Destination_to_Provider_by_Tariff| Block some Destination to Provider by Tariff]]&lt;br /&gt;
* [[Rate import from CSV]]&lt;br /&gt;
* [[Directions and Destinations]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Data_import&amp;diff=20089</id>
		<title>Data import</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Data_import&amp;diff=20089"/>
		<updated>2015-09-11T09:02:08Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= User/Device/DID/CLI import =&lt;br /&gt;
&lt;br /&gt;
You must import the data in the following order '''from CSV files''':&lt;br /&gt;
&lt;br /&gt;
1. Users data&amp;lt;br&amp;gt;&lt;br /&gt;
2. Devices data&amp;lt;br&amp;gt;&lt;br /&gt;
3. DIDs data&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Import Devices from CSV''' link is disabled while Users data is not imported. '''Import DIDs from CSV''' link is disabled while Devices data is not imported.&lt;br /&gt;
&lt;br /&gt;
CLIs data can be imported for already existing Devices by Device ID or for just imported Devices by Temporary Device ID (which is in '''SETTINGS -&amp;gt; Users -&amp;gt; Import''').&lt;br /&gt;
&lt;br /&gt;
== CSV file format ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''Please note that such details like tariff, LCR, Localizations, IDs should be specified in csv instead names.'''&lt;br /&gt;
&lt;br /&gt;
Example you have LCR called &amp;quot;My first LCR&amp;quot; this LCR ID is 2. You should specify in csv 2, but not My first LCR. &lt;br /&gt;
&lt;br /&gt;
Other way if you will not specify ID system will not find it.&lt;br /&gt;
&lt;br /&gt;
You can upload your data from a CSV file that has the following structure:&amp;lt;br&amp;gt;&lt;br /&gt;
1. Each record is started in a new line.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Each piece of record information is separated by commas (see the example).&amp;lt;br&amp;gt;&lt;br /&gt;
3. Text is enclosed within inverted commas (for example: &amp;quot;name&amp;quot;).&amp;lt;br&amp;gt;&lt;br /&gt;
4. Numbers are written without inverted commas (for example: 4).&amp;lt;br&amp;gt;&lt;br /&gt;
5. The first line can be used for your own needs, such as for naming each field of information. '''If you use this line, do not select the &amp;quot;include first line?&amp;quot; option when asked.&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
'''For example:'''&amp;lt;br&amp;gt;&lt;br /&gt;
We have a CSV file named '''example.csv''' with the contents:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;id&amp;quot;, &amp;quot;username&amp;quot;, &amp;quot;password&amp;quot;, &amp;quot;e-mail&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
1, &amp;quot;username1&amp;quot;, &amp;quot;verySecretPassword&amp;quot;, &amp;quot;example@example.com&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
2, &amp;quot;username2&amp;quot;, &amp;quot;34r34r4232&amp;quot;, &amp;quot;example2@example.com&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
3, &amp;quot;username3&amp;quot;, &amp;quot;23er29923wjwe&amp;quot;, &amp;quot;example3@example.com&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Explanation:'''&amp;lt;br&amp;gt;&lt;br /&gt;
The '''first line''' is used in this case for naming the fields, so '''when asked, do not select the &amp;quot;include first line?&amp;quot;''' option. (If you won't use the first line for '''naming the fields''', please do select '''&amp;quot;include first line?&amp;quot;)'''&amp;lt;br&amp;gt;&lt;br /&gt;
The other three lines (starting 1, 2, 3) are for data records. Each record (the first one is: 1, &amp;quot;username1&amp;quot;, &amp;quot;verySecretPassword&amp;quot;, &amp;quot;example@example.com&amp;quot;) represents:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1 - user id.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;quot;username1&amp;quot; - user's username.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;quot;verySecretPassword&amp;quot; - user's password.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;quot;example@example.com&amp;quot; - user's e-mail.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your CSV file can have any number of lines with any number of fields ('''each line must have the same number of fields''').&lt;br /&gt;
&lt;br /&gt;
P.S. The file should not have any other symbols than those mentioned above. Be careful, as some editors can add their own formatting symbols. In Windows we recommend using Notepad, and in Linux: gedit, kedit, nano.&lt;br /&gt;
&lt;br /&gt;
'''Here are some examples:'''&lt;br /&gt;
&lt;br /&gt;
'''Users CSV file example:'''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
38,2,0,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,TRUE,&amp;quot;11420471-2-03&amp;quot;,&amp;quot;Example ZRt&amp;quot;,&amp;quot;Example ZRt&amp;quot;,&amp;quot;example example. 11&amp;quot;,&amp;quot;76/356-650&amp;quot;,&amp;quot;example@example.hu&amp;quot;,04/06/07 01:48 PM,&amp;quot; &amp;quot;,&amp;quot;en&amp;quot;,97,20,0,FALSE,TRUE,5,0,04/06/07,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,0,FALSE,04/06/07,&amp;quot;Lajosmi&amp;quot;,6050,1,0,1,1,TRUE,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,3&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
45,2,0,&amp;quot;95757bfa00bf85b17921d709b5af0234&amp;quot;,&amp;quot;NULL&amp;quot;,TRUE,&amp;quot;12969247-2-03&amp;quot;,&amp;quot;Example Ákos&amp;quot;,&amp;quot;Example Example, Kft&amp;quot;,&amp;quot;Example's 38&amp;quot;,&amp;quot;70/235-45-89&amp;quot;,&amp;quot;example@example2.hu&amp;quot;,04/06/09 11:28 AM,&amp;quot; &amp;quot;,&amp;quot;en&amp;quot;,97,20,0,FALSE,TRUE,5,0,04/07/09,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,0,FALSE,04/06/09,&amp;quot;Kecexample&amp;quot;,6000,1,0,1,1,TRUE,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
2138,2,0,&amp;quot;cc1b3ae8986559b10786d6ea73912bd5&amp;quot;,&amp;quot;NULL&amp;quot;,TRUE,&amp;quot;11871633-2-03&amp;quot;,&amp;quot;Kos Tas&amp;quot;,&amp;quot;Ks Kft&amp;quot;,&amp;quot;Alsó ast&amp;quot;,&amp;quot;20/229-36-78&amp;quot;,&amp;quot;pli@example.hu&amp;quot;,12/13/07 09:42 AM,&amp;quot; &amp;quot;,&amp;quot;en&amp;quot;,97,20,0,FALSE,TRUE,5,0,12/13/07,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,0,FALSE,12/13/07,&amp;quot;Sirly&amp;quot;,6031,1,0,1,1,TRUE,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In the first column is a Temporary User's ID; the other columns represent other data. As mentioned above, it does not matter in which order your data is represented in the CSV file. It only matters that each column (the data between commas) represents the same data value (id, email, password or other).&lt;br /&gt;
&lt;br /&gt;
'''Devices CSV file example:'''&lt;br /&gt;
&lt;br /&gt;
38,38,76824435,&amp;quot;3676586421&amp;quot;,&amp;quot;asd  dsa u.12&amp;quot;,&amp;quot;jamaica&amp;quot;,&amp;quot;7ewfw@sip.example.com&amp;quot;,TRUE,&amp;quot;dynamic&amp;quot;,&amp;quot;sip&amp;quot;,TRUE,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
45,45,76846301,&amp;quot;3676886421&amp;quot;,&amp;quot;fgh hgf u.&amp;quot;,&amp;quot;ergerSiP&amp;quot;,&amp;quot;76886421@sip.example.com&amp;quot;,TRUE,&amp;quot;dynamic&amp;quot;,&amp;quot;sip&amp;quot;,TRUE,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;,&amp;quot;NULL&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2138,2138,76505921,&amp;quot;3676505921&amp;quot;,&amp;quot;jkl  lkj u.12&amp;quot;,&amp;quot;treK&amp;quot;,&amp;quot;6654@sip.example.com&amp;quot;,FALSE,&amp;quot;dynamic&amp;quot;,&amp;quot;sip&amp;quot;,TRUE,&amp;quot;NULL&amp;quot;,FALSE,FALSE,10,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,,FALSE&lt;br /&gt;
&lt;br /&gt;
The first column here represents &amp;quot;id&amp;quot;, the second &amp;quot;user_id&amp;quot;, and the others represent other data. YOUR ORDER CAN BE DIFFERENT. The main thing is that each type of data (email, password, id...) must be in the same column. When you are asked to provide data when importing, be sure to assign the correct data from CSV for each column and MOR will know which column represents which data.&lt;br /&gt;
&lt;br /&gt;
'''Dids CSV file example:'''&lt;br /&gt;
&lt;br /&gt;
37067531061,38,38&amp;lt;br&amp;gt;&lt;br /&gt;
37065431061,45,22&amp;lt;br&amp;gt;&lt;br /&gt;
37062431031,2138,2138&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example I have used the first column for DID, the second for Temporary User ID, and the third for Temporary Device ID. Your data order can be completely different. You just need to select the correct values when asked.&lt;br /&gt;
&lt;br /&gt;
== Importing data ==&lt;br /&gt;
&lt;br /&gt;
Firstly, from the MOR Graphical User Interface (GUI), navigate to: '''Settings -&amp;gt; Users -&amp;gt; Import''', as in the picture:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Imports_menu.png|alt import_menu]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Temporary User ID &amp;amp; Temporary Device ID ===&lt;br /&gt;
&lt;br /&gt;
These fields are necessary to map DIDs to Devices and Devices to Users.&lt;br /&gt;
&lt;br /&gt;
Temporary IDs can be integer digits only.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
You have some other system with some user_ids, device_ids, DID_ids. You export them into CSV files. The relations between them are kept by these IDs, so importing them to MOR will keep these relations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First you need to import a User with some temporary ID, then make sure this ID is near each Device you are trying to import. Select this ID as Temporary User ID when importing Devices. That way these devices will be mapped to this User.&lt;br /&gt;
&lt;br /&gt;
== Importing users ==&lt;br /&gt;
&lt;br /&gt;
To import users, click on the &amp;quot;Import Users from CSV&amp;quot; link:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Imports_users_selection.png|alt Imports_users_selection]] &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Now locate the CSV file in your local system by clicking the &amp;quot;Browse&amp;quot; button. As indicated above, don't click the &amp;quot;Include first line?&amp;quot; checkbox if you have used the first line for commenting on the fields.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Upload_csv_file.png|alt upload_csv_file]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Click on the &amp;quot;Upload file&amp;quot; button.'''&lt;br /&gt;
&lt;br /&gt;
In next menu, please fill in the requested data (you should select the correct field from your CSV file). '''You must select a field for each selection box marked with an asterisk (*) symbol'''. Having finished, press the &amp;quot;Assign columns&amp;quot; button.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Select_fields.png|alt select_fields]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
On the next page, check whether all the data was assigned correctly. If not, click the &amp;quot;Back&amp;quot; button and correct the mistakes. If all the data was assigned correctly, click the &amp;quot;Confirm columns&amp;quot; button. After the &amp;quot;Columns assigned&amp;quot; notification informs you that data successfully imported. &lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' When you are going to import CSV file, which includes Tariff and/or LCR, the '''IDs''' of Tariff and LCR should be specified in CSV file.&lt;br /&gt;
 &lt;br /&gt;
Where to find ID of Tariff or LCR? Just go to some of them and press on edit icon, where Browser navigator bar will show full link with location, last number is ID.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Having completed all these steps, you should see a page similar to this:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Users_imported.png|alt Users_imported]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Importing devices ==&lt;br /&gt;
&lt;br /&gt;
Click on the &amp;quot;Import Devices from CSV&amp;quot; link and follow the same procedure for uploading a CSV file as in the &amp;quot;Importing users&amp;quot; section. That is, locate the CSV file in your local system by clicking the &amp;quot;Browse&amp;quot; button. As stated before, don't click the &amp;quot;Include first line?&amp;quot; checkbox if you have used the first line for commenting on the fields. Click on the &amp;quot;Upload file&amp;quot; button. Now you should see a menu similar to this:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Device_selection.png|alt device_selection]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
In this menu, once again select a matching field from your CSV file for each selection box. '''It is very important to correctly select Temporary User ID and Temporary Device ID, because these fields are necessary to map DIDs to Devices and Devices to Users.'''&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' When you are going to import CSV file, which includes Location, the '''name''' of Location should be specified in CSV file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Having finished selecting the fields, press the &amp;quot;Assign columns&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
Once the columns are assigned, check whether all the data is correct. If not, press the &amp;quot;Back&amp;quot; button and correct the mistakes. Now, if you haven't made any mistakes, you should see two tables similar to these:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Users_devices_tables.png|alt users_devices]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Importing DIDs ==&lt;br /&gt;
&lt;br /&gt;
Click on the &amp;quot;Import Devices from CSV&amp;quot; link and follow the same steps for uploading a CSV file as in the &amp;quot;Importing users&amp;quot; section. That is,&lt;br /&gt;
locate the CSV file in your local system by clicking the &amp;quot;Browse&amp;quot; button. As stated before, don't click on the &amp;quot;Include first line?&amp;quot; checkbox if you have used the first line for commenting on the fields. Click on the &amp;quot;Upload file&amp;quot; button. Now you should see a menu similar to this:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Dids select.png|alt dids_selection]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select all matching fields from your CSV here. It is very IMPORTANT to select the CORRECT Temporary User ID and Temporary Device ID! Having selected everything correctly, click the &amp;quot;Assign columns&amp;quot; button. In the next page, if all imported data is assigned correctly, click the &amp;quot;Confirm columns&amp;quot; button. If you haven't made any mistakes, you should now see a &amp;quot;DIDs successfully imported&amp;quot; message. &lt;br /&gt;
&lt;br /&gt;
== Importing CLIs ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- This option is available starting with [[MOR X3]]--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CLIs data can be imported for already existing Devices by Device ID or for just imported Devices by Temporary Device ID.&lt;br /&gt;
&lt;br /&gt;
Click on the &amp;quot;Import CLIs from CSV&amp;quot; link and follow the same steps for uploading a CSV file as in the &amp;quot;Importing users&amp;quot; section. That is, locate the CSV file in your local system by clicking the &amp;quot;Browse&amp;quot; button. As stated before, don't click on the &amp;quot;Include first line?&amp;quot; checkbox if you have used the first line for commenting on the fields. Click on the &amp;quot;Upload file&amp;quot; button. Now you should see a menu similar to this:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:CLIs select.png|alt clis_selection]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Select all matching fields from your CSV here. It is very IMPORTANT to select the CORRECT Device ID (if it is selected &amp;quot;Use Device ID&amp;quot;) or Temporary Device ID(if it is selected &amp;quot;Use Temporary Device ID&amp;quot;)! Having selected everything correctly, click the &amp;quot;Assign columns&amp;quot; button. In the next page, if all imported data is assigned correctly, click the &amp;quot;Confirm columns&amp;quot; button. If you haven't made any mistakes, you should now see a &amp;quot;CLIs successfully imported&amp;quot; message.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can now check whether all your data has been imported.&lt;br /&gt;
&lt;br /&gt;
To check users, go to: '''SETTINGS –&amp;gt; Users'''.&lt;br /&gt;
&lt;br /&gt;
To check devices, go to: '''SETTINGS –&amp;gt; Users –&amp;gt; Devices'''.&lt;br /&gt;
&lt;br /&gt;
To check DIDs, go to: '''SETTINGS –&amp;gt; Billing –&amp;gt; DIDs'''.&lt;br /&gt;
&lt;br /&gt;
To check CLIs, go to: '''SETTINGS –&amp;gt; Billing –&amp;gt; Devices –&amp;gt; CLIs'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Dids devices users.png|alt dids_devices_users]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Explanation of IDs =&lt;br /&gt;
&lt;br /&gt;
Many users find it difficult to understand what User_ID or Device_ID mean in Data Import.&lt;br /&gt;
&lt;br /&gt;
These are temporary IDs created only for import purposes. '''These IDs have NO relation to User ID/Device ID in the Users/Devices windows of the MOR system.'''&lt;br /&gt;
&lt;br /&gt;
The workflow of Import is:&lt;br /&gt;
&lt;br /&gt;
1. We have Users/Devices/DIDs.&lt;br /&gt;
&lt;br /&gt;
2. We create a separate file with Users and add a unique ID to every User. The ID is NOT related to User ID in MOR DB/GUI.&lt;br /&gt;
&lt;br /&gt;
3. We create a separate file with Devices and add a unique ID to every Device. The ID is NOT related to Device ID in MOR DB/GUI. Near each device we add a temporary User ID from previous file, which shows which Device belongs to which User.&lt;br /&gt;
&lt;br /&gt;
4. We create a separate file with DIDs and near each DID add a User_ID/Device_ID that shows which DID belongs to which User/Device.&lt;br /&gt;
&lt;br /&gt;
5. We import the User file, and MOR remembers the temporary User_ID.&lt;br /&gt;
&lt;br /&gt;
6. We import the Device file, and MOR remembers the temporary Device_ID and checks the User_ID for such Devices which have a User_ID near them in the file. It assigns this Device to the appropriate User.&lt;br /&gt;
&lt;br /&gt;
7. We import the DID file. MOR checks the Device_ID/User_ID in the DIDs file and assigns a DID to this Device/User.&lt;br /&gt;
&lt;br /&gt;
8. We import the CLI file. If during import there is selected &amp;quot;Use Temporary Device ID &amp;quot; MOR checks the Device_ID in the CLIs file and assigns a CLI to this Device. If it is checked &amp;quot;Use Device ID&amp;quot; MOR checks the ID of Device in the CLIs file and assigns a CLI to this Device&lt;br /&gt;
&lt;br /&gt;
NOTE: in all processes, only a TEMPORARY User_ID/Device_ID is used. In the database, Users' ID/Devices' ID are not used directly. They have no relation to the User_ID/Device_ID from import files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* [[Export Users and Devices]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Export_Users_and_Devices&amp;diff=20088</id>
		<title>Export Users and Devices</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Export_Users_and_Devices&amp;diff=20088"/>
		<updated>2015-09-11T09:00:49Z</updated>

		<summary type="html">&lt;p&gt;Rita: Created page with 'It is not possible to export Users and Devices to a CSV file in MOR. &amp;lt;br&amp;gt; However, you can create a  backup of all MOR configurations in GUI and download it. T…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;It is not possible to export Users and Devices to a CSV file in MOR.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
However, you can create a [[Backup_system | backup]] of all MOR configurations in GUI and download it. The backup includes all the Users and their Devices.&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* [[Backup system]]&lt;br /&gt;
* [[Data import]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Additional_Asterisk_Server&amp;diff=20024</id>
		<title>Additional Asterisk Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Additional_Asterisk_Server&amp;diff=20024"/>
		<updated>2015-08-25T06:26:05Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In order to add an additional Asterisk server to your system:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''1) Create a new MySQL User in Database server for the Asterisk:'''&lt;br /&gt;
 CREATE USER 'mor'@'IP_OF_ADDITIONAL_ASTERISK_SERVER' IDENTIFIED BY 'mor';&lt;br /&gt;
 &lt;br /&gt;
 GRANT ALL PRIVILEGES ON `mor`.* TO 'mor'@'IP_OF_ADDITIONAL_ASTERISK_SERVER' WITH GRANT OPTION ;&lt;br /&gt;
Change the IP_OF_ADDITIONAL_ASTERISK_SERVER to your Asterisk server IP.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''2) Change Asterisk configuration files on Asterisk server:'''&lt;br /&gt;
 mcedit /etc/asterisk/mor.conf&lt;br /&gt;
''hostname=localhost''   change to   ''hostname=IP_OF_DATABASE_SERVER''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
''server_id=1''    change to   ''server_id=2''&lt;br /&gt;
&lt;br /&gt;
 mcedit /etc/asterisk/res_mysql.conf (do not need to edit in fresh X5 installs)&lt;br /&gt;
''dbhost = 127.0.0.1''    change to   ''dbhost = IP_OF_DATABASE_SERVER''&lt;br /&gt;
&lt;br /&gt;
 mcedit /var/lib/asterisk/agi-bin/mor.conf&lt;br /&gt;
''host = localhost''   change to   ''host = IP_OF_DATABASE_SERVER''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
''server_id = 1''   change to   ''server_id = 2''&lt;br /&gt;
 &lt;br /&gt;
 mcedit /etc/asterisk/res_config_mysql.conf&lt;br /&gt;
''dbhost = 127.0.0.1'' change to ''dbhost = IP_OF_DATABASE_SERVER''&lt;br /&gt;
&lt;br /&gt;
 mcedit /etc/mor/system.conf&lt;br /&gt;
''server_id = 1'' change to ''server_id = 2''&lt;br /&gt;
&lt;br /&gt;
 mcedit /etc/asterisk/manager.conf&lt;br /&gt;
after line &amp;quot;permit=127.0.0.1/255.255.255.0&amp;quot; add line ''permit=IP_OF_GUI_SERVER/255.255.255.0''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''3) Add the Asterisk server to GUI:'''&lt;br /&gt;
&lt;br /&gt;
Open MOR GUI and go to SETTINGS &amp;gt; Billing &amp;gt; Servers. Add the Asterisk server here. All values can be left the same as MAIN server, but ID, Hostname and Server IP should be changed.&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Various_Guides&amp;diff=20023</id>
		<title>Various Guides</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Various_Guides&amp;diff=20023"/>
		<updated>2015-08-25T06:25:33Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* Asterisk */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Guides==&lt;br /&gt;
&lt;br /&gt;
===Testing===&lt;br /&gt;
&lt;br /&gt;
* [[Performance Testing with Sipp]]&lt;br /&gt;
&lt;br /&gt;
===Installation===&lt;br /&gt;
* [[G723/G729 Codec installation]]&lt;br /&gt;
* [[MySQL Replication]]&lt;br /&gt;
* [[Sangoma Wanpipe installation]]&lt;br /&gt;
* [[Centos installation]]&lt;br /&gt;
* [[Setting up https secure connection | Setting up https secure connection (SSL)]]&lt;br /&gt;
* [[Install Eluna Stats]]&lt;br /&gt;
* [[Configure SSH connection between servers]]&lt;br /&gt;
* [[Fail2Ban installation]]&lt;br /&gt;
* [[OVH server installation]]&lt;br /&gt;
** [[OVH server Rescue Mode]]&lt;br /&gt;
&lt;br /&gt;
===MySQL===&lt;br /&gt;
* [[Live Backups]]&lt;br /&gt;
* [[How to access MySQL database via WEB]]&lt;br /&gt;
* [[Lost MySQL root password?]]&lt;br /&gt;
* [[Backup old Calls]]&lt;br /&gt;
* [[How to recover corrupted MySQL data]]&lt;br /&gt;
* [[How to restore system from Backup which are made from GUI]]&lt;br /&gt;
&lt;br /&gt;
===Asterisk===&lt;br /&gt;
&lt;br /&gt;
* [[Ports which should be opened]]&lt;br /&gt;
* [[Asterisk under NAT]]&lt;br /&gt;
* [[Asterisk CLI debug]]&lt;br /&gt;
* [[Which codecs should I choose for devices]]&lt;br /&gt;
* [[How to restart Asterisk server]]&lt;br /&gt;
* [[How to change RTP port range for Asterisk]]&lt;br /&gt;
* [[Two SIP listening ports for single Asterisk]]&lt;br /&gt;
* [[sip.conf]]&lt;br /&gt;
* [[RTPAUDIOQOS Demystified]]&lt;br /&gt;
* [[Explanation about stucked calls]]&lt;br /&gt;
* [[SIP Domains in Asterisk]]&lt;br /&gt;
* [[Additional Asterisk Server]]&lt;br /&gt;
&lt;br /&gt;
===Other===&lt;br /&gt;
&lt;br /&gt;
* [[Voice quality]]&lt;br /&gt;
** [[How to increase call volume]]&lt;br /&gt;
* [[Latency]]&lt;br /&gt;
* [[Softphones]]&lt;br /&gt;
* [[How to change server's IP]]&lt;br /&gt;
* [[Server working very slowly]]&lt;br /&gt;
* [[Timezone in RoR]]&lt;br /&gt;
* [[Sound files]]&lt;br /&gt;
** [[Convert WAV file to Asterisk playable format]]&lt;br /&gt;
** [[TTS Engines]]&lt;br /&gt;
* [[Fax over VoIP]]&lt;br /&gt;
** [[Send_Receive_Fax-T38 | Send Receive Fax over T38]]&lt;br /&gt;
* [[NTP: Server Time Sync]]&lt;br /&gt;
* [[Selinux]]&lt;br /&gt;
* [[Fail2Ban]]&lt;br /&gt;
* [[How to block someone's IP]]&lt;br /&gt;
* [[High availability (Heartbeat clustering)]]&lt;br /&gt;
* [[Migration to other server]]&lt;br /&gt;
* [[What is direct URL]]&lt;br /&gt;
* [[How to join Webex meeting]]&lt;br /&gt;
* [[How to capture packets using wireshark]]&lt;br /&gt;
* [[SIP Capture with TCPDump]]&lt;br /&gt;
* [[SIP Call Flow]]&lt;br /&gt;
* [[Load-balancing using DNS SRV]]&lt;br /&gt;
&lt;br /&gt;
=== Softphones ===&lt;br /&gt;
&lt;br /&gt;
* [[Idefisk configuration| Idefisk 1.37 Configuration]]&lt;br /&gt;
* [[X-PRO Configuration]]&lt;br /&gt;
* [[Video call with CounterPath eyeBeam]]&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
* [[Cisco Gateway Settings]]&lt;br /&gt;
* [[How to connect to Huawei devices]]&lt;br /&gt;
* [[TELES configuration]]&lt;br /&gt;
* [[VoiceBlue Ring problem ]]&lt;br /&gt;
* [[Linksys SPA942 Configuration]]&lt;br /&gt;
* [[Linksys PAP2]]&lt;br /&gt;
* [[How to get pause on mobile phone keyboard]]&lt;br /&gt;
* [[CDMA support]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Documentation==&lt;br /&gt;
&lt;br /&gt;
* [[VoIP Business Glossary]]&lt;br /&gt;
* [[VoIP Advantages]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Why we do not suggest to use IAX2]]&lt;br /&gt;
* [[Various documentation| FAQ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''[[Ticket System | Support System]]'''&lt;br /&gt;
** [[Support System explanation]]&lt;br /&gt;
** [[Create new Ticket in Ticket System]]&lt;br /&gt;
** [[Write comment to the Ticket]]&lt;br /&gt;
** [[In what order tickets are solved in Support System]]&lt;br /&gt;
** [[Support]]&lt;br /&gt;
** [[Amazon S3 Backups]]&lt;br /&gt;
&lt;br /&gt;
* [[Forum|Forum]]&lt;br /&gt;
* [[Pricing structure]]&lt;br /&gt;
* [[Training]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Additional_Asterisk_Server&amp;diff=20022</id>
		<title>Additional Asterisk Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Additional_Asterisk_Server&amp;diff=20022"/>
		<updated>2015-08-25T06:22:42Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In order to add an additional Asterisk server to your system:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''1) Create a new MySQL User in Database server for the Asterisk:'''&lt;br /&gt;
 CREATE USER 'mor'@'IP_OF_ADDITIONAL_ASTERISK_SERVER' IDENTIFIED BY 'mor';&lt;br /&gt;
 &lt;br /&gt;
 GRANT ALL PRIVILEGES ON `mor`.* TO 'mor'@'IP_OF_ADDITIONAL_ASTERISK_SERVER' WITH GRANT OPTION ;&lt;br /&gt;
Change the IP_OF_ADDITIONAL_ASTERISK_SERVER to your Asterisk server IP.&lt;br /&gt;
&lt;br /&gt;
'''2) Change Asterisk configuration files on Asterisk server:'''&lt;br /&gt;
 mcedit /etc/asterisk/mor.conf&lt;br /&gt;
''hostname=localhost''   change to   ''hostname=IP_OF_DATABASE_SERVER''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
''server_id=1''    change to   ''server_id=2''&lt;br /&gt;
&lt;br /&gt;
 mcedit /etc/asterisk/res_mysql.conf (do not need to edit in fresh X5 installs)&lt;br /&gt;
''dbhost = 127.0.0.1''    change to   ''dbhost = IP_OF_DATABASE_SERVER''&lt;br /&gt;
&lt;br /&gt;
 mcedit /var/lib/asterisk/agi-bin/mor.conf&lt;br /&gt;
''host = localhost''   change to   ''host = IP_OF_DATABASE_SERVER''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
''server_id = 1''   change to   ''server_id = 2''&lt;br /&gt;
 &lt;br /&gt;
 mcedit /etc/asterisk/res_config_mysql.conf&lt;br /&gt;
''dbhost = 127.0.0.1'' change to ''dbhost = IP_OF_DATABASE_SERVER''&lt;br /&gt;
&lt;br /&gt;
 mcedit /etc/mor/system.conf&lt;br /&gt;
''server_id = 1'' change to ''server_id = 2''&lt;br /&gt;
&lt;br /&gt;
 mcedit /etc/asterisk/manager.conf&lt;br /&gt;
after line &amp;quot;permit=127.0.0.1/255.255.255.0&amp;quot; add line ''permit=IP_OF_GUI_SERVER/255.255.255.0''&lt;br /&gt;
&lt;br /&gt;
'''3) Add the Asterisk server to GUI:'''&lt;br /&gt;
&lt;br /&gt;
Open MOR GUI and go to SETTINGS &amp;gt; Billing &amp;gt; Servers. Add the Asterisk server here. All values can be left the same as MAIN server, but ID, Hostname and Server IP should be changed.&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Additional_Asterisk_Server&amp;diff=20021</id>
		<title>Additional Asterisk Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Additional_Asterisk_Server&amp;diff=20021"/>
		<updated>2015-08-25T06:17:20Z</updated>

		<summary type="html">&lt;p&gt;Rita: Created page with 'In order to add an additional Asterisk server to your system: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; '''1) Create a new MySQL User in Database server for the Asterisk:'''  CREATE USER 'mor'@'IP_OF_ADDITIONAL_…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In order to add an additional Asterisk server to your system:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''1) Create a new MySQL User in Database server for the Asterisk:'''&lt;br /&gt;
 CREATE USER 'mor'@'IP_OF_ADDITIONAL_ASTERISK_SERVER' IDENTIFIED BY 'mor';&lt;br /&gt;
 &lt;br /&gt;
 GRANT ALL PRIVILEGES ON `mor`.* TO 'mor'@'IP_OF_ADDITIONAL_ASTERISK_SERVER' WITH GRANT OPTION ;&lt;br /&gt;
Change the IP_OF_ADDITIONAL_ASTERISK_SERVER to your Asterisk server IP.&lt;br /&gt;
&lt;br /&gt;
'''2) Change Asterisk configuration files on Asterisk server:'''&lt;br /&gt;
 mcedit /etc/asterisk/mor.conf&lt;br /&gt;
''hostname=localhost''   change to   ''hostname=IP_OF_DATABASE_SERVER''&lt;br /&gt;
''server_id=1''    change to   ''server_id=2''&lt;br /&gt;
&lt;br /&gt;
 mcedit /etc/asterisk/res_mysql.conf (do not need to edit in fresh X5 installs)&lt;br /&gt;
''dbhost = 127.0.0.1''    change to   ''dbhost = IP_OF_DATABASE_SERVER''&lt;br /&gt;
&lt;br /&gt;
 mcedit /var/lib/asterisk/agi-bin/mor.conf&lt;br /&gt;
''host = localhost''   change to   ''host = IP_OF_DATABASE_SERVER''&lt;br /&gt;
''server_id = 1''   change to   ''server_id = 2''&lt;br /&gt;
 &lt;br /&gt;
 mcedit /etc/asterisk/res_config_mysql.conf&lt;br /&gt;
''dbhost = 127.0.0.1'' change to ''dbhost = IP_OF_DATABASE_SERVER''&lt;br /&gt;
&lt;br /&gt;
 mcedit /etc/mor/system.conf&lt;br /&gt;
''server_id = 1'' change to ''server_id = 2''&lt;br /&gt;
&lt;br /&gt;
 mcedit /etc/asterisk/manager.conf&lt;br /&gt;
after line &amp;quot;permit=127.0.0.1/255.255.255.0&amp;quot; add line ''permit=IP_OF_GUI_SERVER/255.255.255.0''&lt;br /&gt;
&lt;br /&gt;
'''3) Add the Asterisk server to GUI:'''&lt;br /&gt;
&lt;br /&gt;
Open MOR GUI and go to SETTINGS &amp;gt; Billing &amp;gt; Servers. Add the Asterisk server here. All values can be left the same as MAIN server, but ID, Hostname and Server IP should be changed.&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=End_IVR_Type&amp;diff=19992</id>
		<title>End IVR Type</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=End_IVR_Type&amp;diff=19992"/>
		<updated>2015-08-20T08:56:35Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* End IVR #5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
&lt;br /&gt;
This option allows to select which End IVR to use for Calling Card Dial-Plan.&lt;br /&gt;
&lt;br /&gt;
[[File:End_ivr_type2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== End IVR #1 ==&lt;br /&gt;
&lt;br /&gt;
This is default IVR.&lt;br /&gt;
&lt;br /&gt;
When call ends or caller presses * to terminate call, he comes into this IVR.&lt;br /&gt;
&lt;br /&gt;
Here he hears message: &amp;quot;Press 1 to dial new destination, press 2 to dial same destination, press 3 to check your balance, press 4 to use new card&amp;quot;&lt;br /&gt;
&lt;br /&gt;
When user presses some button [1,2,3,4,5] he will be able to do such actions:&lt;br /&gt;
&lt;br /&gt;
 1 - Can enter new destination&lt;br /&gt;
 2 - Can dial same old destination (redial)&lt;br /&gt;
 3 - Can hear his balance&lt;br /&gt;
 4 - Can enter new PIN to use new Card&lt;br /&gt;
 5 - Topup a cards balance with another card balance&lt;br /&gt;
&lt;br /&gt;
More information about card topup functionality can be found [[Card TopUp | here]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' This End IVR is dedicated only to Calling Card Dial plan. &lt;br /&gt;
&lt;br /&gt;
In Authorization by PIN/ANI End IVR#1 options are these:&lt;br /&gt;
&lt;br /&gt;
 1 - Can enter new destination&lt;br /&gt;
 2 - Can dial same old destination (redial)&lt;br /&gt;
 3 - Can hear his balance&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== End IVR #2 ==&lt;br /&gt;
&lt;br /&gt;
This type of IVR allows to enter new Destination or redial old one by pressing 1#.&lt;br /&gt;
&lt;br /&gt;
User can enter destination and # to dial to it, or he can enter 1# and then system will redial old destination.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== End IVR #3 ==&lt;br /&gt;
&lt;br /&gt;
This IVR is just a hangup. E.g. call will end at once using this IVR and no further actions will be possible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' This End IVR is dedicated only to Calling Card Dial plan.&lt;br /&gt;
&lt;br /&gt;
In Authorization by PIN/ANI the End IVR#3 forwards Call to End IVR#1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== End IVR #4 ==&lt;br /&gt;
&lt;br /&gt;
When user presses some button [1,2,3,4] he will be able to do such actions:&lt;br /&gt;
&lt;br /&gt;
 1 - Can enter new destination&lt;br /&gt;
 2 - Can dial same old destination (redial)&lt;br /&gt;
 3 - Can enter new PIN to use new Card&lt;br /&gt;
 4 - Topup a cards balance with another card balance&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== End IVR #5 ==&lt;br /&gt;
&lt;br /&gt;
Menu for Resellers mostly which is used to Topup cards for their clients.&lt;br /&gt;
&lt;br /&gt;
When user presses some button [1,2,3,4,5,6,7] he will be able to do such actions:&lt;br /&gt;
&lt;br /&gt;
 1 - Can enter new destination&lt;br /&gt;
 2 - Can dial same old destination (redial)&lt;br /&gt;
 3 - Can enter new PIN to use new Card&lt;br /&gt;
 4 - Topup a cards balance with another card balance&lt;br /&gt;
 5 - Topup a cards balance with another card balance with PIN&lt;br /&gt;
 6 - Topup a cards balance with another card balance with CLI&lt;br /&gt;
 7 - Topup a cards balance with another card balance with NUM + PIN&lt;br /&gt;
&lt;br /&gt;
These options are used  to increase Calling Card A balance with Calling Card B money:&lt;br /&gt;
&lt;br /&gt;
''5 - Topup a cards balance with another card balance with PIN .''This option asks you to enter PIN number of card B.&lt;br /&gt;
&lt;br /&gt;
''6 - Topup a cards balance with another card balance with CLI.'' When cards is authenticated by caller ID, this option asks you to enter phone number of card B.&lt;br /&gt;
&lt;br /&gt;
''7 - Topup a cards balance with another card balance with NUM + PIN.'' This option asks you to enter card's number and PIN of the card B.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== End IVR #6 ==&lt;br /&gt;
&lt;br /&gt;
This End IVR allows the user to topup a card's balance with another card('''Action #5''') by pressing '*' instead of dialing a destination. After toping up the card, the user will be prompted to dial a destination again.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Once the call is terminated, the user will hear the same menu options as with End IVR #1:&lt;br /&gt;
&lt;br /&gt;
When the user presses some button [1,2,3,4,5] he will be able to do such actions:&lt;br /&gt;
&lt;br /&gt;
 1 - Can enter new destination&lt;br /&gt;
 2 - Can dial same old destination (redial)&lt;br /&gt;
 3 - Can hear his balance&lt;br /&gt;
 4 - Can enter new PIN to use new Card&lt;br /&gt;
 5 - Topup a cards balance with another card&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== End IVR #7 ==&lt;br /&gt;
&lt;br /&gt;
This End IVR allows the user to control whether his calling card is authorized by pin/number or automatically by CallerID number. This is useful when users want to temporarily disable automatic authorization for security reasons.&lt;br /&gt;
&lt;br /&gt;
Note: Pinless dialing should be enabled in dial plan.&lt;br /&gt;
&lt;br /&gt;
When the user presses some button [1,2,3,4] he will be able to do such actions:&lt;br /&gt;
&lt;br /&gt;
 1 - Save CallerID number&lt;br /&gt;
 2 - Clear saved CallerID number&lt;br /&gt;
 3 - Can dial same old destination (redial)&lt;br /&gt;
 4 - Can enter new destination&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== End IVR #8 ==&lt;br /&gt;
&lt;br /&gt;
This End IVR allows to clear saved CallerID number and change card.&lt;br /&gt;
&lt;br /&gt;
When the user presses some button [1,2,3,4] he will be able to do such actions:&lt;br /&gt;
&lt;br /&gt;
 1 - Can enter new destination&lt;br /&gt;
 2 - Can dial same old destination (redial)&lt;br /&gt;
 3 - Clear saved CallerID number&lt;br /&gt;
 4 - Can enter new PIN to use new Card&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== End IVR #9 ==&lt;br /&gt;
&lt;br /&gt;
End IVR #9 is very similar to End IVR #5. The difference between End IVR #9 and End IVR #5 is that End IVR #9 allows to play custom sound files in card topup.&lt;br /&gt;
&lt;br /&gt;
Custom files are these:&lt;br /&gt;
&lt;br /&gt;
cc_enter_pin_to_topup.wav - played when user is asked to enter pin of a card to which balance should be added.&lt;br /&gt;
cc_enter_pin_to_take_topup.wav - played when user is asked to enter pin of a card from which balance should be deducted to primary card.&lt;br /&gt;
&lt;br /&gt;
these files should be prerecorded and uploaded to /var/lib/asterisk/sounds/mor/ivr_voices/en (if language is not english, then instead of &amp;quot;en&amp;quot; there should be directory &amp;quot;ru&amp;quot; or any other language).&lt;br /&gt;
&lt;br /&gt;
Also, End IVR #9 skips topup intro message.&lt;br /&gt;
&lt;br /&gt;
When user presses some button [1,2,3,4,5,6,7] he will be able to do such actions:&lt;br /&gt;
&lt;br /&gt;
 1 - Can enter new destination&lt;br /&gt;
 2 - Can dial same old destination (redial)&lt;br /&gt;
 3 - Can enter new PIN to use new Card&lt;br /&gt;
 4 - Topup a cards balance with another card balance&lt;br /&gt;
 5 - Topup a cards balance with another card balance with PIN&lt;br /&gt;
 6 - Topup a cards balance with another card balance with CLI&lt;br /&gt;
 7 - Topup a cards balance with another card balance with NUM + PIN&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== End IVR #10 ==&lt;br /&gt;
&lt;br /&gt;
End IVR #10 is the same as IVR #1 except it does not allow to topup calling cards.&lt;br /&gt;
&lt;br /&gt;
When user presses some button [1,2,3,4] he will be able to do such actions:&lt;br /&gt;
&lt;br /&gt;
 1 - Can enter new destination&lt;br /&gt;
 2 - Can dial same old destination (redial)&lt;br /&gt;
 3 - Can hear his balance&lt;br /&gt;
 4 - Can enter new PIN to use new Card&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* [[Authorization_by_ANI#End_IVR|End IVRs for Authorization by ANI dial plan]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=PBX_Functions&amp;diff=19974</id>
		<title>PBX Functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=PBX_Functions&amp;diff=19974"/>
		<updated>2015-08-19T06:28:27Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* Hide CallerID */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Usage=&lt;br /&gt;
&amp;lt;!--- PBX functions became addon from MOR X4---&amp;gt;&lt;br /&gt;
Go to '''ADDONS –&amp;gt; PBX functions''' &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[image:pbx_finctions_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you can see list of PBX functions which are available on MOR.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[image:Pbx_functions.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 10---&amp;gt;&lt;br /&gt;
'''NOTE''' that Reseller cannot manage PBX functions by him self, Admin have to allow/disallow PBX functions for Reseller So if you want to disable some PBX function for resellers, just click on [[Image:icon_check.png]] icon to disable it, as it is marked in picture above.&lt;br /&gt;
==Functions available on MOR==&lt;br /&gt;
&lt;br /&gt;
===Tell balance===&lt;br /&gt;
&lt;br /&gt;
This function allows one to hear the balance of the account. The account holder can be a user or card.&lt;br /&gt;
&lt;br /&gt;
It is possible to hear the balance in different currencies and languages.&lt;br /&gt;
&lt;br /&gt;
First MOR tries to find the user by accountcode, then by CallerID using ANI. Later, if these methods fail, it asks for a PIN.&lt;br /&gt;
&lt;br /&gt;
MOR asks for the Card PIN if the card balance should be told.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Milliwatt===&lt;br /&gt;
&lt;br /&gt;
Generate a Constant 1000Hz tone at 0dbm (mu-law) - good for testing line quality for loss-packets.&lt;br /&gt;
&lt;br /&gt;
[http://www.voip-info.org/wiki/index.php?page=Asterisk%20cmd%20Milliwatt  More info about Milliwatt]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Use Voucher===&lt;br /&gt;
&lt;br /&gt;
This function allows one to enter a voucher number over the phone to top up the user's balance.&lt;br /&gt;
&lt;br /&gt;
* [[How to add Use Voucher function to DID]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Dial Local ===&lt;br /&gt;
&lt;br /&gt;
More info: [[Dial Local]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== DTMF Test ===&lt;br /&gt;
&lt;br /&gt;
System will ask you to enter a destination and press #. After that, it will tell you what you entered. &lt;br /&gt;
&lt;br /&gt;
If the system asks you again to enter the destination WITHOUT first telling you what you entered, you have problems with DTMF.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Check VoiceMail ===&lt;br /&gt;
&lt;br /&gt;
[[Voicemail#Retrieve_VoiceMail_from_outside_over_DID | Allows to check VoiceMail over DID]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Card TopUp===&lt;br /&gt;
&lt;br /&gt;
This functionality allows to increase Calling Card A balance with Calling Card B money. More information: [[Card TopUp]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Current Time ===&lt;br /&gt;
&lt;br /&gt;
Says a date and time to the caller.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Hide CallerID ===&lt;br /&gt;
&lt;br /&gt;
Allows to hide CallerID number.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If Client calls to this PBX Function, his CallerID presentation will be set to &amp;quot;unavailable&amp;quot;. CallerID presentation is set on Device level. All Calls from this Device will be anonymous. To disable anonymous CallerID, Client has to call to this PBX function again. Each Call to this PBX function toggles CallerID anonymity. CallerID anonymity can be changed manually as well. To do so, just change &amp;quot;Incoming Call CallerID Presentation&amp;quot; to &amp;quot;None&amp;quot; in [[Device settings]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[PBX Functions Addon]]&lt;br /&gt;
* [[PBX connection to MOR]]&lt;br /&gt;
* [[I have a problem with PBX Functions]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=I_want_to_change_billing_directory_in_URL&amp;diff=19908</id>
		<title>I want to change billing directory in URL</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=I_want_to_change_billing_directory_in_URL&amp;diff=19908"/>
		<updated>2015-08-12T06:16:31Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If you want to change billing directory in URL:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:billing.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Go to /home/mor/config/environment.rb file and&lt;br /&gt;
&lt;br /&gt;
 Web_Dir = Rails.env.to_s == 'production' ? &amp;quot;/billing&amp;quot; : ''&lt;br /&gt;
&lt;br /&gt;
change to&lt;br /&gt;
&lt;br /&gt;
 Web_Dir = Rails.env.to_s == 'production' ? &amp;quot;/new_dir_name&amp;quot; : ''&lt;br /&gt;
&lt;br /&gt;
'''NOTE''' new_dir_name has to be your chosen name&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Then&lt;br /&gt;
&lt;br /&gt;
 mv /var/www/html/billing /var/www/html/new_dir_name&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
And edit /etc/httpd/conf.d/m2.conf file by changing&lt;br /&gt;
&lt;br /&gt;
 RailsBaseURI /billing&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 RailsBaseURI /new_dir_name&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Make&lt;br /&gt;
&lt;br /&gt;
 service httpd restart&lt;br /&gt;
&lt;br /&gt;
and your new_dir_name will appear in URL.&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=I_HAVE_A_PROBLEM&amp;diff=19801</id>
		<title>I HAVE A PROBLEM</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=I_HAVE_A_PROBLEM&amp;diff=19801"/>
		<updated>2015-07-17T11:50:29Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;Before proceeding, you need to update MOR GUI to the newest version because many problems can be fixed just by updating GUI.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Update MOR GUI]]&lt;br /&gt;
&lt;br /&gt;
After the update, check your problem. If it still exists - continue.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With '''WHAT''' do you have a problem?&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have a problem with:&lt;br /&gt;
* [[I have a problem with Auto Dialer| Auto Dialer]]&lt;br /&gt;
* [[I have a problem with Accountant| Accountant]]&lt;br /&gt;
* [[I have a problem with API| API]]&lt;br /&gt;
* [[I have a problem with Asterisk  | Asterisk]]&lt;br /&gt;
* [[I have a problem with Authorization by PIN | Authorization by PIN]]&lt;br /&gt;
* [[I have a problem with Backups | Backups]]&lt;br /&gt;
* [[I have a problem with Balance | Balance]]&lt;br /&gt;
* [[I have a problem with Callback | Callback]]&lt;br /&gt;
* [[I have a problem with Calling Cards | Calling Cards]]&lt;br /&gt;
* [[I have a problem with CallerID | CallerID]]&lt;br /&gt;
* &amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;[[I have a problem with Calls | Calls]]&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
* [[I have a problem with CallFlow | Callflow]]&lt;br /&gt;
* [[I have a problem with Codecs | Codecs]]&lt;br /&gt;
* [[I have a problem with Currencies | Currencies]]&lt;br /&gt;
* [[I have a problem with CSV | CSV]]&lt;br /&gt;
* [[I have a problem with Devices | Devices]]&lt;br /&gt;
* [[I have a problem with DIDs | DIDs]]&lt;br /&gt;
* [[I have a problem with DTMF | DTMF]]&lt;br /&gt;
* [[I have a problem with Email | Email]]&lt;br /&gt;
* [[I have a problem with Fax | Fax]]&lt;br /&gt;
* [[I have a problem with Google Maps| Google Maps]]&lt;br /&gt;
* [[I have a problem with GUI | GUI]]&lt;br /&gt;
* [[I have a problem with HGC Codes| HGC Codes]]&lt;br /&gt;
* [[I have a problem with Invoices | Invoices]]&lt;br /&gt;
* [[I have a problem with IVR | IVR]]&lt;br /&gt;
* [[I have a problem with Languages | Languages]]&lt;br /&gt;
* [[I have a problem with MOR FREE| MOR FREE]]&lt;br /&gt;
* [[I have a problem with MySQL| MySQL]]&lt;br /&gt;
* [[I have a problem with Network| Network]]&lt;br /&gt;
* [[I have a problem with Payment Gateway | Payment Gateway]] (PayPal, WebMoney and similar)&lt;br /&gt;
* [[I have a problem with Payments | Payments]]&lt;br /&gt;
* [[I have a problem with PAI | PAI]]&lt;br /&gt;
* [[I have a problem with PBX Functions | PBX functions]]&lt;br /&gt;
* [[I have a problem with Provider| Provider]]&lt;br /&gt;
* [[I_have_a_problem_with_Queues | Queues ]]&lt;br /&gt;
* [[I have a problem with Recordings | Recordings]]&lt;br /&gt;
* [[I have a problem with Registration | Registration]]&lt;br /&gt;
* [[I have a problem with Ring Group | Ring Group]]&lt;br /&gt;
* [[I have a problem with Security| Security]]&lt;br /&gt;
* [[I have a problem with Server| Server]]&lt;br /&gt;
** [[I have a problem with Hard Drive | Hard Drive (HDD/SSD)]]&lt;br /&gt;
* [[I have a problem with SIP TLS | SIP TLS]]&lt;br /&gt;
* [[I have a problem with SMS | SMS]]&lt;br /&gt;
* [[I have a problem with Statistics| Statistics]]&lt;br /&gt;
* [[I have a problem with Subscriptions| Subscriptions]]&lt;br /&gt;
* [[I have a problem with SVN | SVN]]&lt;br /&gt;
* [[I have a problem with Rates | Tariffs/Rates]]&lt;br /&gt;
* [[I have a problem with Taxes | Taxes]]&lt;br /&gt;
* [[I have a problem with Time | Time]]&lt;br /&gt;
* [[I have a problem with Transfer | Transfers]]&lt;br /&gt;
* [[I have a problem with Voicemail| Voicemail]]&lt;br /&gt;
* [[I have a problem with Voucher | Vouchers]]&lt;br /&gt;
* [[I have a problem with RFC | RFC]]&lt;br /&gt;
* [[I have a problem with MNP | MNP]]&lt;br /&gt;
* [[I have a problem with SIP Proxy | SIP Proxy/Balancer]]&lt;br /&gt;
* [[I have a problem with Call Flood | Active calls flood (too many connecting calls)]]&lt;br /&gt;
* [[Other|Other]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Transfers_do_not_work&amp;diff=19799</id>
		<title>Transfers do not work</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Transfers_do_not_work&amp;diff=19799"/>
		<updated>2015-07-17T11:48:45Z</updated>

		<summary type="html">&lt;p&gt;Rita: Created page with 'If transfers do not work, please make sure you have enabled the option in sip.conf. &amp;lt;br&amp;gt; Instructions on how to enable transfers in MOR can be found here.'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If transfers do not work, please make sure you have enabled the option in sip.conf.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Instructions on how to enable transfers in MOR can be found [[Transfers_with_MOR |here]].&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Configuration_from_GUI&amp;diff=19793</id>
		<title>Configuration from GUI</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Configuration_from_GUI&amp;diff=19793"/>
		<updated>2015-07-15T11:30:58Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* Various */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Where I can find this settings menu?=&lt;br /&gt;
&lt;br /&gt;
You can find this menu in '''SETTINGS –&amp;gt; Setup –&amp;gt; Settings'''&lt;br /&gt;
&lt;br /&gt;
[[File:Settings_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Global ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; [[Global_Settings | Global]]'''&lt;br /&gt;
&lt;br /&gt;
* '''Company''' – name of the company.&lt;br /&gt;
* '''Company email''' – email address of the company.&lt;br /&gt;
* '''Version''' – version number.&lt;br /&gt;
* '''Copyright Title''' – copyright title supports html text format.&lt;br /&gt;
* '''Browser Title''' – browser title for MOR GUI.&lt;br /&gt;
* '''Front Page Text''' – some text to place on front page.&lt;br /&gt;
* '''Login Page Text''' – some text to place on login page&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Registration == &lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Registration'''&lt;br /&gt;
&lt;br /&gt;
* '''Enabled?''' – do we want to let users [[Online registration | register online]] automatically?&lt;br /&gt;
* '''Hide registration link in Login page?''' – tick this option if you do not want users to be able to register online.&lt;br /&gt;
* '''Default country'''&lt;br /&gt;
* '''Asterisk server IP''' – what IP should user connect his softphone/server to?&lt;br /&gt;
* '''Send email to user after registration''' – just yes or no.&lt;br /&gt;
* '''Send email to admin after registration''' – just yes or no.&lt;br /&gt;
* '''[[ReCAPTCHA]] configuration'''&lt;br /&gt;
* '''[[User_Agreement|Terms and conditions]]'''&lt;br /&gt;
* '''Allow to create user and device with matching username and password''' – just yes or no. If this setting is not enabled - username and password from MOR GUI will have to be different than device's username and password.&lt;br /&gt;
* '''Enable VAT checking for EU companies''' – you can choose whether to check '''TAX Registration Number:''' during the [[Online registration]] or not. Done over [http://ec.europa.eu/taxation_customs/vies/?locale=lt EU page].&lt;br /&gt;
* '''Allow blank VAT for EU companies''' – allows to leave blank '''TAX Registration Number:''' field during the [[Online registration]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
* [[Default user]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Invoices ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Invoices'''&lt;br /&gt;
&lt;br /&gt;
Invoice configuration is divided into '''Prepaid''' and '''Postpaid'''. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Settings ===&lt;br /&gt;
&lt;br /&gt;
* '''Number start''' – how the invoice number should start.&lt;br /&gt;
* '''Number length''' – the length in digits AFTER Number Start – e.g. Number Start is not counted into this length. This value is active only for first number type.&lt;br /&gt;
* '''Number type''' – select more appropriate number format.&lt;br /&gt;
* '''Invoice period start''' – when invoices are issued, default is first day of the month.&lt;br /&gt;
* '''Show calls in detailed invoice''' – yes or no.&lt;br /&gt;
* '''[[Outstanding balance(Debt) | Show balance line]]''' – shows balance line in Invoice PDF files when Invoice is generated from first day of month till last one. &lt;br /&gt;
* '''Round finals to 2 decimals''' – round or not total in Invoices to 2 decimals.&lt;br /&gt;
* '''Use short file name'''&lt;br /&gt;
* '''Invoice Page Limit:''' – invoice will be generated till this page limit. Additional page is added with an explanation that page limit was reached. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Details ===&lt;br /&gt;
&lt;br /&gt;
* '''Address format''' – changes field positioning in the invoice for the address. You must select it in order to show address in the invoice. &lt;br /&gt;
* '''Address line 1-4''' – address info.&lt;br /&gt;
* '''Bank details line 1-5''' – bank details info.&lt;br /&gt;
* '''Invoice balance line''' – line for balance (e.g. &amp;quot;Your current balance is&amp;quot;)&lt;br /&gt;
* '''Invoice to pay Line'''&lt;br /&gt;
* '''End title''' – a title for the end of your invoice.&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 12---&amp;gt;&lt;br /&gt;
* '''Add Average rate in detailed invoice''' – adds average rate in detailed invoice.&lt;br /&gt;
* '''Show Time in Minute''' – shows time in mm:ss instead of hh:mm:ss, for example, not 02:13:42 but 133:42.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional ===&lt;br /&gt;
&lt;br /&gt;
* '''Show additional details on separate page''' – enables additional custom page at the end of the invoice.&lt;br /&gt;
* '''Additional details''' – the information to be displayed in a custom page at the end of the invoice.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Functionality ===&lt;br /&gt;
&lt;br /&gt;
* '''Invoice allow recalculate after send''' – allows recalculating invoices after being sent.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
* [[Invoices]]&lt;br /&gt;
* [[Invoice configuration]]&lt;br /&gt;
* [[Invoices (MOR X6)]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Emails ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Emails'''&lt;br /&gt;
&lt;br /&gt;
* ''' 	Sending globally enabled''' – if this is checked, you will be able to use Mass Mailing and the system will send emails upon user registration.&lt;br /&gt;
* '''SMTP server''' – hostname of the server.&lt;br /&gt;
* '''Port''' – port of SMTP server.&lt;br /&gt;
* '''Login''' – username to your SMTP server.&lt;br /&gt;
* '''Password''' – password to your SMTP server.&lt;br /&gt;
* '''Batch size''' – value for Mass Mailing, or how many emails to send at once.&lt;br /&gt;
* '''From''' – email address to put into From: field in email. It is required to fill in(correctly) this field if email sending is enabled.&lt;br /&gt;
* '''Test email sending''' – save settings and press this to test email sending. Do not forget to save settings first!&lt;br /&gt;
&lt;br /&gt;
'''P.S. Remember to set admin's e-mail in admin's personal settings. Without this test email sending will not work!'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
* [[Emails|Mass Emails]]&lt;br /&gt;
* [[Email variables]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Various ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Various'''&lt;br /&gt;
&lt;br /&gt;
* '''Days for DID to close''' – how long to keep DID closed before making it free.&lt;br /&gt;
* '''Agreement number length''' – number length in digits.&lt;br /&gt;
* '''Change dahdi''' – Sometimes this is used to change &amp;quot;Zap&amp;quot; to something else in GUI, e.g. to &amp;quot;PSTN&amp;quot;, mainly because not everybody knows what Zap stands for. PSTN is more common.&lt;br /&gt;
* '''Device PIN length''' – length for automatically generated PIN codes for devices.&lt;br /&gt;
* '''Device range MIN''' – from which extension automatic extension assigning starts.&lt;br /&gt;
* '''Device range MAX''' – till which extension automatic extension assigning goes.&lt;br /&gt;
** For example, from this interval: [Device range MIN, Device range MAX] MOR will select extensions for newly created Devices.&lt;br /&gt;
* '''Enable &amp;quot;Allowed addresses&amp;quot; option for Devices:'''  – allows [[Device_settings#Allowed_Addresses | Allowed Addresses]] functionality in Devices settings.&lt;br /&gt;
* '''Enable &amp;quot;Allowed addresses&amp;quot; option for Providers:''' – allows Allowed Addresses functionality in Providers settings.&lt;br /&gt;
* '''User wholesale tariff enabled''' – enables user wholesale tariffs.&lt;br /&gt;
* '''Play IVR for unauthenticated call'''&lt;br /&gt;
* '''Banned CLIs default IVR''' – default IVR to route banned numbers.&lt;br /&gt;
* '''Do not allow duplicate device user names'''&lt;br /&gt;
* '''Do not allow users to change their email addresses'''&lt;br /&gt;
* '''Allow short passwords in devices'''&lt;br /&gt;
* '''Logout link''' – a user will be redirected to this link after pressing &amp;quot;Logout&amp;quot;&lt;br /&gt;
* '''Change ANSWER to FAILED if HGC not equal to 16 for Users''' – changes the Hangupcause for users in call reports from Answered to Failed if Hangupcause is not 16.&lt;br /&gt;
* '''Inform when Devices are created or updated''' – check to get email about every newly created or updated Device. &lt;br /&gt;
* '''Archive Calls older than''' – how old Calls should be archived?&lt;br /&gt;
* '''Archive only ANSWERED calls''' – check to archive just answered Calls.&lt;br /&gt;
* '''Archive Calls every day at''' – when Calls should be archive process started?&lt;br /&gt;
* '''Stop Archiving Calls at''' – when Calls should be archive process stopped ?&lt;br /&gt;
* '''Show Usernames on PDF/CSV Export Files in Last Calls''' – if checked, when particular User in Last Calls page search is selected, Last Calls PDF/CSV file name will be composed also from Name of selected User. If you are looking for All Users, no User Name will be used. (Name of User will be shown in Name of CSV/PDF file).&lt;br /&gt;
* '''Do not allow PREPAID User balance drop below zero (block them instead)'''&lt;br /&gt;
&amp;lt;!---from X5---&amp;gt;&lt;br /&gt;
* '''Do not block POSTPAID User when balance goes bellow zero on subscription count'''&lt;br /&gt;
* '''Allow identical email addresses to different Users''' – allows to create Users or Register users with identical email addresses. After checking this setting you will be not able to check '''Show forgot password''', because this functionality require unique email in all system. Setting can be unchecked if all emails are unique in system. &lt;br /&gt;
* '''Allow same IP and Port combinations in multiple Devices''' – allows to create Devices with the same IP and Port combination.&lt;br /&gt;
* '''Server free space limit''' – indicator when system should inform admin about low [[Multi_Server_support|server]] space. By default 20%. Notice will appear in [[Integrity Check]] and every hour will be send an email &amp;quot;Server low free space&amp;quot; template which can be found and edited in [[Emails]] page. Default email template for low disk space: &amp;quot;Some of your Servers exceeded free space limit, please investigate.&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Tax ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Tax'''&lt;br /&gt;
&lt;br /&gt;
Settings are explained here: [[Multi-Tax system]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Backups ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Backups'''&lt;br /&gt;
&lt;br /&gt;
Configuration is explained here: [[Backup system]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== API ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; API'''&lt;br /&gt;
&lt;br /&gt;
* '''Allow API''' – enable/disable API.&lt;br /&gt;
* '''Allow GET API''' – enable/disable GET in API - use only for testing!&lt;br /&gt;
* '''API Secret Key''' – secret key for API. This will be used as a password for signing queries to MOR API, check [[MOR_API | MOR API documentation]] for more information&lt;br /&gt;
* '''XML API Extension''' – .NET does not follow standards (surprise!); enable this setting if you are using it to get XML starting with HTTP tags.&lt;br /&gt;
* '''Allow API Login Redirect''' – enable/disable&lt;br /&gt;
* '''API allow registration''' – enable/disable registration through API&lt;br /&gt;
* '''API allow Payments''' – enable/disable payments through API&lt;br /&gt;
* '''API Payment confirmation''' – enable/disable payments confirmation through API&lt;br /&gt;
* '''[[Balance_in_phone|Allow devices to check balance over HTTP]]''' – enable/disable device balance checking&lt;br /&gt;
* '''[[MOR_API_rate_get|Allow devices to check rate over HTTP]]''' – enable/disable device rate checking&lt;br /&gt;
* '''Disable hash checking''' – lets you skip hash parameter using API&lt;br /&gt;
* '''Uniquehash''' – shows your uniquehash &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
[[MOR API]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Functionality ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Functionality'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===FAX===&lt;br /&gt;
&lt;br /&gt;
* '''Fax device enabled''' – enable/disable Fax device in MOR. When admin enables FAX, Functionality tab appears in Reseller's GUI configuration. He can then enable or disabled fax for his own users himself. &lt;br /&gt;
* '''Fax2Email From Sender''' – there is a field &amp;quot;From:&amp;quot; in an email form. When MOR sends Fax to Email, &amp;quot;Fax2Email From Sender&amp;quot; value is displayed in &amp;quot;From:&amp;quot; field.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===CSV===&lt;br /&gt;
&lt;br /&gt;
* '''CSV Column Separator''' – how columns are separated in imported/exported CSV files.&lt;br /&gt;
* '''CSV Decimal Separator''' – how decimal parts in numbers are separated in imported/exported CSV files.&lt;br /&gt;
* ''' Archive CSV file when size reaches''' – if CSV file reaches a certain size, the system will archive it to save time to download it (0 means to archive always)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Active Calls===&lt;br /&gt;
&lt;br /&gt;
* '''How many maximum [[Active_Calls|Active Calls]] to show in GUI''' – how many [[Active_Calls| Active Calls]] to show in GUI&lt;br /&gt;
* '''[[Active_Calls| Active Calls]] refresh interval''' – [[Active_Calls|Active Calls]] refresh interval in seconds&lt;br /&gt;
* '''Show [[Active_Calls|Active Calls]] for Users''' – tick if you want to allow users to see [[Active_Calls|Active Calls]]&lt;br /&gt;
* '''Show Servers in [[Active_Calls|Active Calls]]'''&lt;br /&gt;
* '''Show DIDs in [[Active_Calls|Active Calls]]'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Tariffs/Rates===&lt;br /&gt;
&lt;br /&gt;
* '''Show rates for users''' – allows users to see rates&lt;br /&gt;
* '''Show rates without Tax''' – shows rates without TAX&lt;br /&gt;
* '''Show [[Advanced_Rates|Advanced Rates]] for users''' – allows users to see [[Advanced_Rates|Advanced Rates]]&lt;br /&gt;
* '''Show zero rates in LCR tariff export:''' – shows zero rates in LCR tariff exported file.&lt;br /&gt;
NOTE: if [[Custom Rates]] and/or Tariff Rates are set for the user, only the custom rates will be shown in the details of destination rates. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Privacy==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Privacy'''&lt;br /&gt;
&lt;br /&gt;
Settings are explained here: [[Privacy_to_hide_Destination_ends|Privacy to hide Destination ends]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Visual ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Visual'''&lt;br /&gt;
&lt;br /&gt;
* '''Items per page''' – the number of items to display per one page&lt;br /&gt;
* '''[[Global_date_format| Default date format]]''' – System default date format&lt;br /&gt;
* '''Default Time Format''' – System default time format&lt;br /&gt;
* '''Number digits''' – how many digits to display after a comma&lt;br /&gt;
* '''Hide Quick Stats in Start page''' – hide Quick stats from start page&lt;br /&gt;
* '''Hide device passwords for users''' – do not display device passwords for users&lt;br /&gt;
* '''Hide HELP banner''' – hide HELP banner in GUI&lt;br /&gt;
* '''Hide &amp;quot;I want to&amp;quot; help links'''&lt;br /&gt;
* '''[[Remove_Manual_link_from_admin_GUI|Hide &amp;quot;Manual&amp;quot; link]]''' – hides &amp;quot;Manual&amp;quot; link&lt;br /&gt;
* '''Show logo on first page''' - untick to hide logo on the start page&lt;br /&gt;
* '''Show Full Source (CallerID Name and Number)'''&lt;br /&gt;
* '''Hide payment options for postpaid users''' - will hide the payment option for all postpaid users (including Resellers if they are postpaid).&lt;br /&gt;
* '''Hide non-completed payments for user''' – hides non-completed payments (the ones which are started in MOR, but are not completed in a payment gateway website)&lt;br /&gt;
* '''Show only main page''' – this is a very advanced feature for those who want to hide default MOR menu tree on the left so that they could build their own menu using advanced techniques without modifying MOR GUI sources.&lt;br /&gt;
* '''Show forgot password''' – turns on '''[[MOR_forgot_user_password | Forgot password]]''' functionality.&lt;br /&gt;
* '''Hide Recordings for all users''' – hides recordings for all system users from menu and device settings.&lt;br /&gt;
* '''Show recordings with zero billsec''' – shows recordings with zero billsec&lt;br /&gt;
* '''[[Last_Calls#Faster_Page_Loading|Count Last Calls total values only after click]]''' – select to load Total Values lines separately in order to dramatically improve Last calls and Old calls loading time. &lt;br /&gt;
* '''Default Number Decimal''' – with this option you can set default number decimal for all GUI&lt;br /&gt;
* '''Show user_billsec for Users instead of billsec''' – shows user_billsec instead of billsec in Users invoices and last calls.&lt;br /&gt;
&amp;lt;!--- from X5---&amp;gt;&lt;br /&gt;
* '''Show Calls statistics to User for last''' – number of Calls statistics to show in days. For example, if you enter 5 days, users will only see 5 days old calls, they will not be able to check older calls.  &lt;br /&gt;
* '''Show Device and it's CallerID in Last Calls''' – shows additional column in [[Last Calls]] page with Device and its CallerID information. Click to reach that Device settings page. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Server load ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Server load'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Settings for GUI Server and Database Server&lt;br /&gt;
&lt;br /&gt;
* '''HDD utilisation higher than''' – Percentage of CPU time during which I/O requests were issued to the device (bandwidth utilization for the device).&lt;br /&gt;
* '''CPU General Load higher than''' – CPU General load higher than – Percentage of the CPU for user processes.&lt;br /&gt;
* '''CPU Load Stats 1 higher than''' – average load per one minute on the system&lt;br /&gt;
* '''CPU MySQL process higher than''' –  Percentage of the CPU for MySQL process&lt;br /&gt;
* '''CPU Ruby process higher than''' –  Percentage of the CPU for Ruby process&lt;br /&gt;
* '''CPU Asterisk process (if present) higher than''' – Percentage of the CPU for Asterisk process&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Delete Server Load Stats older than''' – deletes internal servers load statistics older than defined number of days.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Server is overloaded]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Providers&amp;diff=19733</id>
		<title>Providers</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Providers&amp;diff=19733"/>
		<updated>2015-07-07T15:01:29Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* Advanced */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description =&lt;br /&gt;
&lt;br /&gt;
In the old PSTN world, Providers were called Trunks. Providers are your route out of your VoIP network to the outside world.&lt;br /&gt;
&lt;br /&gt;
Providers can be one of several types: ZAP, SIP, IAX2, and H323. The type determines which technology is used to connect to the Provider.&lt;br /&gt;
&lt;br /&gt;
At the very start, you need to create a Provider through which you will dial out to PSTN or other VoIP networks.&lt;br /&gt;
&lt;br /&gt;
Every Provider will charge you for calling a destination through his service (although the rate might be zero). The rate to every destination is different. Because of this, we need to have a Tariff (or Price List) for each Provider. This Tariff will tell our billing what price we will pay to a destination when using this Provider's services. In other words, this will be our Selfcost.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
Go to '''SETTINGS –&amp;gt; Billing –&amp;gt; Providers'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:providers_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you can see a list of all Providers:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:providers_list.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* Click [[image:add.png]] '''New Provider''' to create new Provider, enter the Name for a new Provider, select its Technology, Tariff, Asterisk server which should be used for this provider and click Create.&lt;br /&gt;
* Click [[image:icon_edit.png]] icon to change settings for old Provider.&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR X4---&amp;gt;&lt;br /&gt;
* Click [[Image:icon_check.png]] icon to disable Provider and it will not be used while it is cross in Active column. It affects only outgoing calls. Incoming calls from this provider will be accepted.&lt;br /&gt;
* Click [[Image:icon_cross.png]] icon to enable Provider if you want to use it again. &lt;br /&gt;
NOTE: &lt;br /&gt;
* You can't create a new Provider if there are no Tariffs available for Providers.&lt;br /&gt;
* A Provider is also able to send calls, not just receive them. More info [[Configure Provider which can make calls | here]]. In case you want to sell services to a provider you have to create such a provider.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Settings ==&lt;br /&gt;
&lt;br /&gt;
=== General ===&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Prov addon.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Name''' – a name for the provider, for informational purposes.&lt;br /&gt;
* '''Technology''' – out of SIP/IAX2/ZAP/H323, choose which technology your provider uses - that is, the way you connect to the provider.&lt;br /&gt;
* '''Tariff''' – the list of rates the provider charges you.&lt;br /&gt;
* '''DTMF Mode''' – the available options are inband, info, RFC2833, and auto. Choose the one used by your provider.&lt;br /&gt;
* '''Location''' – which Localization rules are set to apply to INCOMING calls COMING FROM this provider.&lt;br /&gt;
* '''Automatic Number Identification''' - used in a special case explained here: [[Provider with ANI]]&lt;br /&gt;
* '''Ringing Timeout''' – this setting lets you set for how long this provider should be dialed before giving up. The default value is 60 seconds, and the minimum value is 30 seconds.&lt;br /&gt;
* '''Call Timeout''' – this setting lets you set the duration of the whole call: ringing and the period after connection. &lt;br /&gt;
* '''Device ID''' – informational data. &lt;br /&gt;
* '''Call limit''' – explained here: [[Simultaneous call limitation]].&lt;br /&gt;
* '''Hidden?''' – [[Hide_provider|hide/unhide provider]]&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 12---&amp;gt;&lt;br /&gt;
* '''Balance''' – provider balance. Provider balance increases when calls are made via that provider. Currently it is not available to decrease provider's balance. You can read more about [[Provider Billing Addon|Provider Billing Addon here]].&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR x4---&amp;gt;&lt;br /&gt;
* '''Balance limit''' – this is the limit of balance that can be reached by the provider. After he reaches the specified balance, calls aren't sent through this provider anymore.  Balance limit value of zero means that balance is unlimited.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Authentication ===&lt;br /&gt;
&lt;br /&gt;
==== For ZAP providers ====&lt;br /&gt;
&lt;br /&gt;
* '''Channel''' – which channel (or channel group) to use on a PRI/BRI/PSTN card. Channels and groups should be configured in zapata.conf.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==== For SIP/IAX2 providers ====&lt;br /&gt;
&lt;br /&gt;
* '''Login''' – username if your provider asks for it.&lt;br /&gt;
* '''Password''' – password used for authentication by your provider.&lt;br /&gt;
* '''Authenticate by IP''' – just check the checkbox (Login/Password can be left empty).&lt;br /&gt;
** Make sure you put the correct Hostname/[[IP address]]!&lt;br /&gt;
* '''Register''' – should we register the provider? (option is not visible when '''Dynamic''' is selected in '''Network related''' section)&lt;br /&gt;
* '''Register extension''' – if the provider asks to use an extension for registration (usually they don't), enter it here.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Provider CallerID ===&lt;br /&gt;
&lt;br /&gt;
'''CallerID''' – consists of two parts: Name and Number. The &amp;quot;Number&amp;quot; part is transferred by default on all technologies (GSM, PSTN, SIP etc), but the &amp;quot;Name&amp;quot; part only on some. The number you see on your mobile phone when someone is calling you is the &amp;quot;Number&amp;quot; part.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:provider_callerid.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Name''' – the &amp;quot;Name&amp;quot; part of CallerID.&lt;br /&gt;
* '''Number''' – the &amp;quot;Number&amp;quot; part of CallerID.&lt;br /&gt;
* '''Random Number from Number Pool''' – the &amp;quot;Number&amp;quot; part of CallerID selected from [[Number Pool]]&lt;br /&gt;
.&lt;br /&gt;
'''NOTE:''' If you have this configured all incoming call from this provider will have that CallerID.&lt;br /&gt;
If you leave these fields empty, calls coming from this provider will have CallerID set by the Provider. It should almost always be this way.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Network related ===&lt;br /&gt;
&lt;br /&gt;
* '''Hostname''' – hostname of the provider. Subnetting is supported.&lt;br /&gt;
* '''Server IP''' – the provider's IP. The value can be &amp;quot;dynamic&amp;quot;, which means that provider can change its IP. To discover this value, do ping to the provider's hostname.&lt;br /&gt;
* '''Port''' – port used to connect to the provider (default: 5060 for SIP, 4569 for IAX2, 1720 for H323).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
====H323 specific network settings====&lt;br /&gt;
&lt;br /&gt;
* '''Fast Start''' – an option specific to H323; it is either on or off.&lt;br /&gt;
* '''h245 Tunneling''' – an option specific to H323; it is either on or of&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
====SIP specific network settings====&lt;br /&gt;
&lt;br /&gt;
* '''Media control''' – canreinvite/transfer. Do you want your server to stay in the media path between your clients and your provider? Disable if you have a lot of 1-second answered calls.&lt;br /&gt;
* '''NAT''' – the available options are: yes, no, never, and route. For a detailed explanation of these settings, refer to [http://www.voip-info.org/wiki-Asterisk+sip+nat here].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
====IAX2 specific network settings====&lt;br /&gt;
&lt;br /&gt;
* '''IAX2 Trunking Mode''' – enable/disable trunking mode, which allows multiple voice streams to share a single &amp;quot;trunk&amp;quot; to another server, reducing overhead created by IP packets. More details [http://wiki.kolmisoft.com/index.php/Trunks here]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
====SIP and IAX2 specific network settings====&lt;br /&gt;
&lt;br /&gt;
* '''Qualify''' – how often to &amp;quot;ask&amp;quot; the provider about availability. More details [http://www.voip-info.org/wiki/view/Asterisk+sip+qualify here] for SIP providers and [http://www.voip-info.org/wiki/view/Asterisk+iax+qualify here] for IAX2 providers.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Servers ===&lt;br /&gt;
Allows to select on which Asterisk servers this provider should be used.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Codecs ===&lt;br /&gt;
&lt;br /&gt;
Choose the codecs your provider uses.&lt;br /&gt;
&lt;br /&gt;
NOTE: When no fields are checked, all codecs are available. ([[Image:asterisk_icon.png]] For example, settings in sip.conf or iax.conf are effective).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Advanced ===&lt;br /&gt;
&lt;br /&gt;
* '''Grace time''' – if call duration is less than &amp;lt;i&amp;gt;Grace Time&amp;lt;/i&amp;gt;, it will not be accounted.&lt;br /&gt;
* Progressinband:&lt;br /&gt;
**yes – when &amp;quot;RING&amp;quot; event is requested, always send 180 Ringing (if it hasn't been sent yet) followed by 183 Session Progress and in-band audio.&lt;br /&gt;
**no – send 180 Ringing if 183 has not yet been sent, establishing an audio path. If the audio path is established already (with 183), then send in-band ringing (this is the way Asterisk historically behaved because of buggy phones like Polycom's).&lt;br /&gt;
**never – whenever ringing occurs, send &amp;quot;180 ringing&amp;quot; as long as &amp;quot;200 OK&amp;quot; has not yet been sent. This is the default behavior of Asterisk.&lt;br /&gt;
* '''Video support''' – does your provider support Video over IP? More info [http://www.voip-info.org/wiki/view/Asterisk+video here].&lt;br /&gt;
* '''[[Duplicate call prevention | Allow duplicate calls]]''' – the default setting is &amp;quot;no&amp;quot;.&lt;br /&gt;
* '''Interpret NO ANSWER as FAILED''' – default option is no (This will change the provider in LCR like it is failed, in last calls you will see&lt;br /&gt;
the real hangupcause – no answer)&lt;br /&gt;
* '''Interpret BUSY as FAILED''' – default option is no (This will change the provider in LCR like it is failed, in last calls you will see&lt;br /&gt;
the real hangupcause – busy)&lt;br /&gt;
* '''Fake Ring''' – should system generate Fake Ring or not? Use only if your Device/Provider has bad protocol implementation and does not send RING signal properly.&lt;br /&gt;
* '''Common Use''' – Provider can be used by Resellers which are able to create their own Providers. Reseller will be billed using this Provider. If provider is marked as common use and is used in one of reseller's LCR or is in Terminators list - admin is not allowed to delete this provider or remove common use option.&lt;br /&gt;
* '''Anti-resale (Auto-answer)''' – when option is set to YES, MOR answers the call before sending it to provider in order to generate FAS. Work only when provider is the originator of the call. This option does not affect the billing.&lt;br /&gt;
* '''Transport''' – lets you choose protocol &amp;lt;nowiki&amp;gt;[tcp, udp]&amp;lt;/nowiki&amp;gt; for data transfer. Appears only if Provider is SIP and when Asterisk 1.8 is enabled. Default value: ''udp''. If TCP is used, it has to be [[How_to_enable_TCP_for_Asterisk |enabled in Asterisk]].&lt;br /&gt;
* '''Time limit per day''' - Total time available for provider per day. When limit is reached another provider in LCR is used (total time is calculated after rounding rules and minimal time adjustment, so if your provider tariff has increment higher than 1 or minimal time set, then total provider time may be different than actual call time).&lt;br /&gt;
* '''Limit up to X, during Y seconds''' – you can set limit how many calls (X) can be done in some interval of seconds (Y). [[Last Calls]] will show '''FAILED([[Hangupcause Codes |243]])'''.&lt;br /&gt;
* '''Enforce same codec as on Leg A''' - this option takes effect only when Device/Provider is used as Terminator. When this option is enabled, system checks what codec is used on Leg A. Then if Leg A codec matches one of codec enabled on Codecs list, system enforces callee to use that codec, by offering only that single codec in SDP data.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== SIP Specific ===&lt;br /&gt;
&lt;br /&gt;
* '''Fromuser''' – [http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+fromuser  more details]&lt;br /&gt;
* '''Fromdomain''' – [http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+fromuser  more details]&lt;br /&gt;
* '''Trustrpid''' – This defines whether or not Remote-Party-ID is trusted. It's defined in http://tools.ietf.org/id/draft-ietf-sip-privacy-04.txt&lt;br /&gt;
* '''Sendrpid''' – defines whether a Remote-Party-ID SIP header should be sent. It defaults to &amp;quot;No&amp;quot;. This field is often used by wholesale VoIP providers to provide calling party identity regardless of the privacy settings (the From SIP header). &lt;br /&gt;
* '''Insecure''' – [http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+insecure  more details]&lt;br /&gt;
* '''T.38 Support''' – should we support T.38 pass-through?&lt;br /&gt;
* '''[[SIP 302 Reinvite Support]]''' – turns this SIP feature on or off. &lt;br /&gt;
* '''P-Asserted-Identity usage''' – The P-Asserted-Identity header field can be used to convey the proven identity of the originator of a request within a trusted network.&lt;br /&gt;
* '''Periodic check''' - Turns on or off functionality which disables provider if it is unreachable.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Debug===&lt;br /&gt;
&lt;br /&gt;
* '''Save Call Log''' – when this option is enabled you can access Call info information in last calls page.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[H323 Provider settings]]&lt;br /&gt;
* [[Quick Providers changes]]&lt;br /&gt;
* [[Providers Statistics]]&lt;br /&gt;
* [[NO ANSWER/BUSY interpretation for providers]]&lt;br /&gt;
* [[I have a problem with Provider]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Device_settings&amp;diff=19732</id>
		<title>Device settings</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Device_settings&amp;diff=19732"/>
		<updated>2015-07-07T14:59:19Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* Advanced */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;mkmeta&amp;gt;MOR Device Settings Explained&amp;lt;/mkmeta&amp;gt;&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
* '''[[Registration Status]]''' - available only for SIP  devices. If device is assigned to server A but registers to server B - status will not be shown (devices must register to the server they are assigned to). If no status is displayed - device has not tried to register or noone called to that device.&lt;br /&gt;
* '''Accountcode''' – the unique ID of the device in the system.&lt;br /&gt;
* '''Description''' – for informational purposes.&lt;br /&gt;
* '''PIN''' – device PIN for authentication/authorization.&lt;br /&gt;
* '''Device group''' – to which group the device belongs (not used most of the time).&lt;br /&gt;
* '''Type''' – what type of device it is. Device type '''cannot''' be changed once it is created.&lt;br /&gt;
* '''Extension''' – a short number by which this device can be reached; must be unique in the system.&lt;br /&gt;
* '''DTMF Mode''' – in which protocol phone button presses are sent over network. The available options are: inband, info, RFC2833, and auto. Choose which one your provider uses (RFC2833 is used most often). This setting applies to SIP, H.323 and IAX2 protocols. For ZAP devices edit the configuration files in /etc/asterisk.&lt;br /&gt;
* '''Location''' – the default is Global. Choose the appropriate location based on [[Localization]] needs.&lt;br /&gt;
* '''Ringing Timeout''' – allows to limit the ringing duration in seconds. Leave 0 for unlimited. Minimal value is 10 seconds.&lt;br /&gt;
* '''Call Timeout''' – allows to limit answered call billsec. Leave 0 for unlimited.&lt;br /&gt;
* '''[[Trunks | Trunk]]''' – No/Yes/Yes with ANI – Is this device Trunk with/without ANI?&lt;br /&gt;
* '''[[Simultaneous call limitation | Call Limit]]''' – how many simultaneous calls can a user make?&lt;br /&gt;
* '''[[Multi_Server_support | Server]]''' – allows to choose server in multiple servers system. (While Carrier Class Addon is active, all Virtual and Fax devices are auto-assigned to all present Asterisk servers and cannot be re-assigned. Disabling Carrier Class Addon all Virtual and Fax devices will be assigned to default Asterisk server chosen from Addons &amp;gt; Carrier Class &amp;gt; Settings dropdown).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Authentication=&lt;br /&gt;
&lt;br /&gt;
===For dahdi devices:===&lt;br /&gt;
&lt;br /&gt;
* '''Channel''' – which channel (or channel group) to use on PRI/BRI/PSTN card. Channels and groups should be configured in ''zapata.conf''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===For SIP, H323 and IAX2 Devices:===&lt;br /&gt;
&lt;br /&gt;
'''IP Authentication:'''&lt;br /&gt;
&lt;br /&gt;
* '''IP Address''' – Device IP address in one of the following formats: &lt;br /&gt;
** '''IP''' – understands simple IP address, IP address with it's Subnet Mask and IP address with it's Range. For example ''192.168.0.1'', ''192.168.0.1/24'' and ''192.168.0.0-255''. &lt;br /&gt;
* '''Accept calls from any port''' – this option lets you receive calls from different Ports. This option is just on SIP (when [[SIP balancer]] in use) and H323.&lt;br /&gt;
* '''Port''' – Device Port.&lt;br /&gt;
&lt;br /&gt;
'''Dynamic:'''&lt;br /&gt;
&lt;br /&gt;
* '''Username''' – username you enter in your Device.&lt;br /&gt;
* '''Password''' – password you enter in your Device.&lt;br /&gt;
* '''IP Address''' – shows Device IP address.&lt;br /&gt;
* '''Port''' – shows Device Port.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=CallerID=&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:device_callerid.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A CallerID consists of two parts: Name and Number. The &amp;quot;Number&amp;quot; part is transferred by default by all technologies (GSM, PSTN, SIP etc), but the &amp;quot;Name&amp;quot; part is transferred only by some. The number you see on your mobile phone when someone is calling you is the &amp;quot;Number&amp;quot; part.&lt;br /&gt;
&lt;br /&gt;
* '''Name''' – the &amp;quot;Name&amp;quot; part of the CallerID.&lt;br /&gt;
* '''Number''' – the &amp;quot;Number&amp;quot; part of the CallerID. Only numerical values can be entered in this field. &lt;br /&gt;
&lt;br /&gt;
NOTE: if you leave these fields empty, the user can set the CallerID name by himself. Usually it is not advisable to allow the user do it on his own. If CallerID number field is empty, system will take device username as CallerID number (if device is username/password authenticated).&lt;br /&gt;
&lt;br /&gt;
* '''Number from DID''' - use the DID as the CallerID (only available when the device has DIDs), this option just sets CallerID Number to be equal to DID. Next time you will edit Device's settings, first option - Number will be checked&lt;br /&gt;
&lt;br /&gt;
* '''Control by DIDs (CID from DIDs)''' – only available when the device has DIDs.&lt;br /&gt;
&lt;br /&gt;
This setting lets you control what a CID user can enter in his devices. CID numbers should be from the set of the device's DIDs. They are mainly used when the user's PBX is connected over Trunk and many DIDs are routed to this Trunk. Calls coming out from this PBX must have a CallerID Number from the set of DIDs assigned to this Trunk (PBX). If &amp;quot;CID from DIDs&amp;quot; is checked, the system checks whether the device's CID number is from DIDs assigned to this device. If no DIDs are assigned, this value is ignored. In order for this setting to be active, CID Name/Number fields must be empty to allow the user to enter any CID number he wants. If &amp;quot;CID from DIDs&amp;quot; is checked and user enters any CID (not from his DIDs), the system will change his CID by his first available DID (selected from database by lowest ID).&lt;br /&gt;
&lt;br /&gt;
* '''Control by CIDs'''  – system checks incoming CallerID (Device's CallerID which is set on the Device). If CallerID matches one of the Device's CIDs - then such CallerID will be allowed. If it does not match - it will be changed to the selected CID.&lt;br /&gt;
&lt;br /&gt;
* '''Control by Destination''' – This is advanced option which works by such algorithm:&lt;br /&gt;
&lt;br /&gt;
# system checks Destination and checks DIDs assigned to calling Device. Then it finds 'nearest' DID to the Destination by subtracting DID from Destination in numerical form (Example, DID: 11111, Destination: 11112, |DID-Destination|=|1111-11112|=1) If Device has several DIDs - the lowest value is selected and this DID is set as CallerID. &lt;br /&gt;
#If Device has no DIDs - then User DIDs are used. &lt;br /&gt;
#If Device does not have DIDs and User has no DIDs, then CallerID set in Number field will be used. &lt;br /&gt;
#If nothing is set here - CallerID coming from Device will be used.&lt;br /&gt;
&lt;br /&gt;
* '''Random Number from Number Pool''' – This functionality gives you an ability to send different caller number on each Call. Available from MOR X4. More information: [http://wiki.kolmisoft.com/index.php/Number_Pool Number Pool].&lt;br /&gt;
&lt;br /&gt;
* '''Unknown''' - This option lets you set CallerID number to unknown. &lt;br /&gt;
&lt;br /&gt;
* '''Copy Leg A Name to Leg B Number''' – Leg A name will be used as Leg B number.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Network Related=&lt;br /&gt;
&lt;br /&gt;
===For H323:===&lt;br /&gt;
&lt;br /&gt;
* '''Fast start''' – option for faster H.245.&lt;br /&gt;
* '''h245 Tunneling''' – use H.245 without opening a second TCP/IP channel.&lt;br /&gt;
More info you can find [http://toncar.cz/Tutorials/VoIP/VoIP_Protocols_H323_Call_Signalling_Optimizations.html here].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===For SIP and IAX2===&lt;br /&gt;
&lt;br /&gt;
* '''Media control''' – can reinvite. Do you want your server to stay in media path between your clients and your provider? Please note that this option will work only if it is supported from both, device and provider, sides and it allows to handle SIP packets only. Moreover, no codec mismatch between device and provider is available. Default value is ''No''. '''WARNING''': This option can cause [[Call was billed incorrectly|incorrect billing]].&lt;br /&gt;
** canreinvite = yes &amp;quot;allow RTP media direct&amp;quot;&lt;br /&gt;
** canreinvite = no &amp;quot;deny re-invites&amp;quot;&lt;br /&gt;
** canreinvite = nonat &amp;quot;allow reinvite when local, deny reinvite when NAT&amp;quot;&lt;br /&gt;
** canreinvite = update &amp;quot;use UPDATE instead of INVITE&amp;quot;&lt;br /&gt;
** canreinvite = update,nonat &amp;quot;use UPDATE when local, deny when NAT&amp;quot;&lt;br /&gt;
* '''NAT''' – the available options are: yes, no, never, force_rport, comedia. For a detailed explanation of these settings, refer to [http://www.voip-info.org/wiki/view/Asterisk+sip+nat here].&lt;br /&gt;
* '''Qualify''' – how often to &amp;quot;ask&amp;quot; the device about availability. More details [http://www.voip-info.org/wiki/view/Asterisk+sip+qualify here] for SIP devices and [http://www.voip-info.org/wiki/view/Asterisk+iax+qualify here] for IAX2 devices.&lt;br /&gt;
* '''IAX2 Trunking Mode''' – enable/disable trunking mode, which allows multiple voice streams to share a single &amp;quot;trunk&amp;quot; to another server, reducing overhead created by IP packets. Only on IAX2.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Groups=&lt;br /&gt;
&lt;br /&gt;
* [[What are callgroups and pickupgroups | Call Group]] – to which Call Group this device belongs.&lt;br /&gt;
* [[What are callgroups and pickupgroups | Pickup Group]] – which Call Groups this device can pick up.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Voicemail=&lt;br /&gt;
&lt;br /&gt;
* '''Email''' – where to send received Voicemail.&lt;br /&gt;
* '''Password''' – the digital password the user enters when he calls the Voicemail number to hear his messages.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Codecs=&lt;br /&gt;
&lt;br /&gt;
[[Which codecs should I choose for devices | Choose the codecs]] your provider uses.&lt;br /&gt;
&lt;br /&gt;
NOTES: &lt;br /&gt;
* When no fields are checked, all codecs are available – for example, settings in sip.conf or iax.conf are effective.&lt;br /&gt;
* If the Provider and the Device do not have similar codecs, no call can be established.&lt;br /&gt;
* '''Enforce same codec as on Leg A''' - this option takes effect only when Device/Provider is used as Terminator. When this option is enabled, system checks what codec is used on Leg A. Then if Leg A codec matches one of codec enabled on Codecs list, system enforces callee to use that codec, by offering only that single codec in SDP data.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Allowed Addresses=&lt;br /&gt;
&lt;br /&gt;
'''IP, MASK''' – permits traffic from this IP only. You can find a detailed explanation [http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+permit-deny-mask here].&lt;br /&gt;
&lt;br /&gt;
You can enable multiple allowed addresses however this option should be turned on to be visible in main device settings window. Go to '''SETTINGS''' -&amp;gt; '''Setup''' -&amp;gt; '''Settings''' -&amp;gt; '''Various''' tab and choose ''Yes'' for ''Enable &amp;quot;Allowed addresses&amp;quot; option for Devices:''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Settings visual advanced.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
And click ''Save changes''.&lt;br /&gt;
&lt;br /&gt;
Now you will see an additional section in SIP and IAX2 Devices edit window:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Deviceconfig allowedaddr.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Allowed addresses''' describes from what IP's or defined subnets accept traffic. &lt;br /&gt;
NOTE that this setting take effect only for '''Dynamic authentication''' devices. For '''IP authentication''' devices, this setting is not applied.&lt;br /&gt;
&lt;br /&gt;
If you do not clearly understand what these settings are used for, leave them with default values.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Advanced=&lt;br /&gt;
&lt;br /&gt;
* '''Fromuser/Fromdomain''' – used when calling TO this peer FROM Asterisk. If you're using _register=&amp;gt;_ with another SIP proxy, this setting can come in handy since some SIP networks only allow users in the right domain with the correct user name. &lt;br /&gt;
* '''Trustrpid''' – defines whether or not Remote-Party-ID is trusted. It's defined in http://tools.ietf.org/id/draft-ietf-sip-privacy-04.txt.&lt;br /&gt;
* '''Sendrpid''' – defines whether a Remote-Party-ID SIP header should be sent. The default setting is &amp;quot;no&amp;quot;. This field is often used by wholesale VoIP providers to provide calling party identity regardless of the privacy settings (the From SIP header). &lt;br /&gt;
* [http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+insecure Insecure]&lt;br /&gt;
** port: ignore the port number where request came from. '''WARNING:''' do NOT enable it on username/password authenticated devices.&lt;br /&gt;
** invite: don't require authentication of incoming INVITEs. '''WARNING:''' do NOT enable it on username/password authenticated devices.&lt;br /&gt;
** port, invite: don't require initial INVITE to authenticate and ignore the port where the request came from. '''WARNING:''' do NOT enable it on username/password authenticated devices.&lt;br /&gt;
&lt;br /&gt;
Both of these settings are enabled by default for [[Authentication | IP Authenticated]] devices, but they can be changed, unless you are using Carrier Class Addon, which forces the device to ignore the port number and the authentication from an incoming request.&lt;br /&gt;
 &lt;br /&gt;
* '''[[SIP 302 Redirect Support | SIP 302 Redirect support]]''' – SIP Redirect support for the device. Disabled by default.&lt;br /&gt;
* '''Custom SIP Header''' - adds custom header to SIP request. Format is '''header: value''' (for example '''x-My-Custom-Header: my value''')&lt;br /&gt;
* '''[http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+progressinband Progressinband]''':&lt;br /&gt;
** yes – when &amp;quot;RING&amp;quot; event is requested, always send 180 Ringing (if it hasn't been sent yet) followed by 183 Session Progress and in-band audio.&lt;br /&gt;
** no – send 180 Ringing if 183 has not yet been sent, establishing an audio path. If the audio path is established already (with 183), then send in-band ringing (this is the way Asterisk historically behaved because of buggy phones like Polycom's).&lt;br /&gt;
** never – whenever ringing occurs, send &amp;quot;180 ringing&amp;quot; as long as &amp;quot;200 OK&amp;quot; has not yet been sent. This is the default behavior of Asterisk.&lt;br /&gt;
NOTE: if Progressinband does not work, add &amp;quot;prematuremedia=no&amp;quot; to sip.conf and reload Asterisk.&lt;br /&gt;
* '''Video support''' – does your provider support Video over IP? More info [http://www.voip-info.org/wiki/view/Asterisk+video here].&lt;br /&gt;
* '''[[Duplicate call prevention | Allow duplicate calls]]''' – the default setting is &amp;quot;no&amp;quot;.&lt;br /&gt;
* '''Language''' – sets IVR language&lt;br /&gt;
* '''Use ANI (if available) for CallerID:''' – When the call comes the information about who is calling is found in CallerID field. This field is used to determine who is calling. When the call comes through PRI/SS7 channels - then additional information is available who is calling in ANI field (in call's data channel) so sometimes CallerID might be empty or anonymous, but the caller can be found in ANI field. This option allows to use ANI field as CallerID to determine and recognize who is calling. &lt;br /&gt;
* '''Incoming Call CallerID Presentation''' – sets CallerID Presentation. Please note that this setting applies only for incoming calls. More information can be found [http://www.voip-info.org/wiki/view/Asterisk+cmd+SetCallerPres here] and [http://www.voip-info.org/wiki/view/Asterisk+cmd+CallingPres here] &lt;br /&gt;
* '''Change Failed Code To''' – if call fails change Hangup Cause Code to this value. This works only for outgoing calls from device. '''Not for Incoming'''&lt;br /&gt;
* '''Forward DID''' – it allows to forward call to DID which is assigned to Authorization by PIN or Calling Cards dial plan. After user enters PIN of any device or card, call gets connected with destination.&lt;br /&gt;
* '''Anti-resale (Auto-answer)''' – when option is set to YES, MOR answers the call before sending it to provider in order to generate FAS. This does not affect billing in MOR (User is not billed for extra time).&lt;br /&gt;
* '''Transport''' – lets you choose protocol(s) for data transfer. Appears only if device is SIP and when Asterisk 1.8 is enabled. Default value: ''udp''. If TCP is used, it has to be [[How_to_enable_TCP_for_Asterisk |enabled in Asterisk]].&lt;br /&gt;
* '''T.38 Support''' – should T.38 pass-through be supported&lt;br /&gt;
* '''SRTP Encryption''' – should SRTP protocol be used for calls &lt;br /&gt;
* '''Block callerid if (number) simultaneous calls come from it''' – blocks CallerID if the entered number of simultaneous calls come from it&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR x4---&amp;gt;&lt;br /&gt;
* '''Limit up to (number) calls, during (number) seconds''' – allows to set calls per second limit in some period. [[File:call_limit_per_period.png]]&lt;br /&gt;
* '''Outbound Proxy''' – send outbound signaling to this proxy, not directly to the peer (Internal Asterisk option).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Tell Options=&lt;br /&gt;
&lt;br /&gt;
* '''Tell rate before call''' - should MOR tell announce minute price (rounded to cents) before every call. Default value is &amp;quot;no&amp;quot;.&lt;br /&gt;
* '''Tell balance before call''' – should MOR tell the user his balance every time he tries to dial?  The default setting is &amp;quot;no&amp;quot;.&lt;br /&gt;
* '''Tell time''' - should MOR tell the user his remaining time every time he tries to dial?  The default setting is &amp;quot;no&amp;quot;.&lt;br /&gt;
** Time is told in MINUTES only. Currently it is not possible to tell both in minutes and seconds.&lt;br /&gt;
* '''Tell remaining time when left''' – when some time is left, MOR will tell the remaining time to talk (in seconds).&lt;br /&gt;
* '''Repeat remaining time when left''' – repeats the remaining time when some time is left (in seconds).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Debug=&lt;br /&gt;
&lt;br /&gt;
* [[SIP debug info|'''Process SIPCHANINFO''']] - shows SIP channel info in [[Asterisk CLI]] and saves this information on database.&lt;br /&gt;
* '''Save Call Log''' - saves whole call log on database. Log can be overviewed by click [[File:Icon_callinfo.png]] in [[Last Calls]].&lt;br /&gt;
NOTE: debug should be enabled only if you are experiencing any problems. It should be disable in any other cases, because it stores lot of information on database.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
This option is DISABLED globally by default. If you want it to be enabled, please contact Kolmisoft staff.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Recordings=&lt;br /&gt;
&lt;br /&gt;
This section is available when [[Recordings Addon]] is installed in the system.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Comment=&lt;br /&gt;
&lt;br /&gt;
Devices can have Comments, which gives information about the Device.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Grace_time | Grace time]]&lt;br /&gt;
* [[PAP_device_configuration | PAP device configuration]]&lt;br /&gt;
* [[H323 Device settings]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=I_HAVE_A_PROBLEM&amp;diff=19729</id>
		<title>I HAVE A PROBLEM</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=I_HAVE_A_PROBLEM&amp;diff=19729"/>
		<updated>2015-07-07T08:09:37Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;Before proceeding, you need to update MOR GUI to the newest version because many problems can be fixed just by updating GUI.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[Update MOR GUI]]&lt;br /&gt;
&lt;br /&gt;
After the update, check your problem. If it still exists - continue.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With '''WHAT''' do you have a problem?&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have a problem with:&lt;br /&gt;
* [[I have a problem with Auto Dialer| Auto Dialer]]&lt;br /&gt;
* [[I have a problem with Accountant| Accountant]]&lt;br /&gt;
* [[I have a problem with API| API]]&lt;br /&gt;
* [[I have a problem with Asterisk  | Asterisk]]&lt;br /&gt;
* [[I have a problem with Authorization by PIN | Authorization by PIN]]&lt;br /&gt;
* [[I have a problem with Backups | Backups]]&lt;br /&gt;
* [[I have a problem with Balance | Balance]]&lt;br /&gt;
* [[I have a problem with Callback | Callback]]&lt;br /&gt;
* [[I have a problem with Calling Cards | Calling Cards]]&lt;br /&gt;
* [[I have a problem with CallerID | CallerID]]&lt;br /&gt;
* &amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;[[I have a problem with Calls | Calls]]&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
* [[I have a problem with CallFlow | Callflow]]&lt;br /&gt;
* [[I have a problem with Codecs | Codecs]]&lt;br /&gt;
* [[I have a problem with Currencies | Currencies]]&lt;br /&gt;
* [[I have a problem with CSV | CSV]]&lt;br /&gt;
* [[I have a problem with Devices | Devices]]&lt;br /&gt;
* [[I have a problem with DIDs | DIDs]]&lt;br /&gt;
* [[I have a problem with DTMF | DTMF]]&lt;br /&gt;
* [[I have a problem with Email | Email]]&lt;br /&gt;
* [[I have a problem with Fax | Fax]]&lt;br /&gt;
* [[I have a problem with Google Maps| Google Maps]]&lt;br /&gt;
* [[I have a problem with GUI | GUI]]&lt;br /&gt;
* [[I have a problem with HGC Codes| HGC Codes]]&lt;br /&gt;
* [[I have a problem with Invoices | Invoices]]&lt;br /&gt;
* [[I have a problem with IVR | IVR]]&lt;br /&gt;
* [[I have a problem with Languages | Languages]]&lt;br /&gt;
* [[I have a problem with MOR FREE| MOR FREE]]&lt;br /&gt;
* [[I have a problem with MySQL| MySQL]]&lt;br /&gt;
* [[I have a problem with Network| Network]]&lt;br /&gt;
* [[I have a problem with Payment Gateway | Payment Gateway]] (PayPal, WebMoney and similar)&lt;br /&gt;
* [[I have a problem with Payments | Payments]]&lt;br /&gt;
* [[I have a problem with PAI | PAI]]&lt;br /&gt;
* [[I have a problem with PBX Functions | PBX functions]]&lt;br /&gt;
* [[I have a problem with Provider| Provider]]&lt;br /&gt;
* [[I_have_a_problem_with_Queues | Queues ]]&lt;br /&gt;
* [[I have a problem with Recordings | Recordings]]&lt;br /&gt;
* [[I have a problem with Registration | Registration]]&lt;br /&gt;
* [[I have a problem with Ring Group | Ring Group]]&lt;br /&gt;
* [[I have a problem with Security| Security]]&lt;br /&gt;
* [[I have a problem with Server| Server]]&lt;br /&gt;
** [[I have a problem with Hard Drive | Hard Drive (HDD/SSD)]]&lt;br /&gt;
* [[I have a problem with SIP TLS | SIP TLS]]&lt;br /&gt;
* [[I have a problem with SMS | SMS]]&lt;br /&gt;
* [[I have a problem with Statistics| Statistics]]&lt;br /&gt;
* [[I have a problem with Subscriptions| Subscriptions]]&lt;br /&gt;
* [[I have a problem with SVN | SVN]]&lt;br /&gt;
* [[I have a problem with Rates | Tariffs/Rates]]&lt;br /&gt;
* [[I have a problem with Taxes | Taxes]]&lt;br /&gt;
* [[I have a problem with Time | Time]]&lt;br /&gt;
* [[I have a problem with Voicemail| Voicemail]]&lt;br /&gt;
* [[I have a problem with Voucher | Vouchers]]&lt;br /&gt;
* [[I have a problem with RFC | RFC]]&lt;br /&gt;
* [[I have a problem with MNP | MNP]]&lt;br /&gt;
* [[I have a problem with SIP Proxy | SIP Proxy/Balancer]]&lt;br /&gt;
* [[I have a problem with Call Flood | Active calls flood (too many connecting calls)]]&lt;br /&gt;
* [[Other|Other]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=I_have_a_problem_with_Queues&amp;diff=19728</id>
		<title>I have a problem with Queues</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=I_have_a_problem_with_Queues&amp;diff=19728"/>
		<updated>2015-07-07T08:08:19Z</updated>

		<summary type="html">&lt;p&gt;Rita: Created page with '*  Caller is not able to join the queue'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Caller_is_not_able_to_join_the_queue | Caller is not able to join the queue]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Caller_is_not_able_to_join_the_queue&amp;diff=19727</id>
		<title>Caller is not able to join the queue</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Caller_is_not_able_to_join_the_queue&amp;diff=19727"/>
		<updated>2015-07-07T08:06:42Z</updated>

		<summary type="html">&lt;p&gt;Rita: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If a caller is not able to join a queue and you see these messages in the Asterisk log:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
 WARNING[11553]: app_queue.c:6323 queue_exec: Unable to join queue 'queue_name'&lt;br /&gt;
This means that you have set parameters [[Call_Queues#Caller_Options |&amp;quot;Join empty&amp;quot;]] incorrectly in the Queue settings.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
For example, if none of the option are checked in the column &amp;quot;Join empty&amp;quot;, caller will always be allowed to join the queue, even if there are no agents available.&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Caller_is_not_able_to_join_the_queue&amp;diff=19726</id>
		<title>Caller is not able to join the queue</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Caller_is_not_able_to_join_the_queue&amp;diff=19726"/>
		<updated>2015-07-07T08:06:20Z</updated>

		<summary type="html">&lt;p&gt;Rita: Created page with 'If a caller is not able to join a queue and you see these messages in the Asterisk log: &amp;lt;br&amp;gt;  WARNING[11553]: app_queue.c:6323 queue_exec: Unable to join queue 'queue_name' This …'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If a caller is not able to join a queue and you see these messages in the Asterisk log:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
 WARNING[11553]: app_queue.c:6323 queue_exec: Unable to join queue 'queue_name'&lt;br /&gt;
This means that you have set parameters [[Call_Queues#Caller_Options |&amp;quot;Join empty&amp;quot;]] incorrectly in the Queue settings.&lt;br /&gt;
For example, if none of the option are checked in the column &amp;quot;Join empty&amp;quot;, caller will always be allowed to join the queue, even if there are no agents available.&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Providers&amp;diff=19707</id>
		<title>Providers</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Providers&amp;diff=19707"/>
		<updated>2015-07-02T13:34:52Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* Advanced */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description =&lt;br /&gt;
&lt;br /&gt;
In the old PSTN world, Providers were called Trunks. Providers are your route out of your VoIP network to the outside world.&lt;br /&gt;
&lt;br /&gt;
Providers can be one of several types: ZAP, SIP, IAX2, and H323. The type determines which technology is used to connect to the Provider.&lt;br /&gt;
&lt;br /&gt;
At the very start, you need to create a Provider through which you will dial out to PSTN or other VoIP networks.&lt;br /&gt;
&lt;br /&gt;
Every Provider will charge you for calling a destination through his service (although the rate might be zero). The rate to every destination is different. Because of this, we need to have a Tariff (or Price List) for each Provider. This Tariff will tell our billing what price we will pay to a destination when using this Provider's services. In other words, this will be our Selfcost.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
Go to '''SETTINGS –&amp;gt; Billing –&amp;gt; Providers'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:providers_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you can see a list of all Providers:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:providers_list.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* Click [[image:add.png]] '''New Provider''' to create new Provider, enter the Name for a new Provider, select its Technology, Tariff, Asterisk server which should be used for this provider and click Create.&lt;br /&gt;
* Click [[image:icon_edit.png]] icon to change settings for old Provider.&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR X4---&amp;gt;&lt;br /&gt;
* Click [[Image:icon_check.png]] icon to disable Provider and it will not be used while it is cross in Active column. It affects only outgoing calls. Incoming calls from this provider will be accepted.&lt;br /&gt;
* Click [[Image:icon_cross.png]] icon to enable Provider if you want to use it again. &lt;br /&gt;
NOTE: &lt;br /&gt;
* You can't create a new Provider if there are no Tariffs available for Providers.&lt;br /&gt;
* A Provider is also able to send calls, not just receive them. More info [[Configure Provider which can make calls | here]]. In case you want to sell services to a provider you have to create such a provider.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Settings ==&lt;br /&gt;
&lt;br /&gt;
=== General ===&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Prov addon.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Name''' – a name for the provider, for informational purposes.&lt;br /&gt;
* '''Technology''' – out of SIP/IAX2/ZAP/H323, choose which technology your provider uses - that is, the way you connect to the provider.&lt;br /&gt;
* '''Tariff''' – the list of rates the provider charges you.&lt;br /&gt;
* '''DTMF Mode''' – the available options are inband, info, RFC2833, and auto. Choose the one used by your provider.&lt;br /&gt;
* '''Location''' – which Localization rules are set to apply to INCOMING calls COMING FROM this provider.&lt;br /&gt;
* '''Automatic Number Identification''' - used in a special case explained here: [[Provider with ANI]]&lt;br /&gt;
* '''Ringing Timeout''' – this setting lets you set for how long this provider should be dialed before giving up. The default value is 60 seconds, and the minimum value is 30 seconds.&lt;br /&gt;
* '''Call Timeout''' – this setting lets you set the duration of the whole call: ringing and the period after connection. &lt;br /&gt;
* '''Device ID''' – informational data. &lt;br /&gt;
* '''Call limit''' – explained here: [[Simultaneous call limitation]].&lt;br /&gt;
* '''Hidden?''' – [[Hide_provider|hide/unhide provider]]&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 12---&amp;gt;&lt;br /&gt;
* '''Balance''' – provider balance. Provider balance increases when calls are made via that provider. Currently it is not available to decrease provider's balance. You can read more about [[Provider Billing Addon|Provider Billing Addon here]].&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR x4---&amp;gt;&lt;br /&gt;
* '''Balance limit''' – this is the limit of balance that can be reached by the provider. After he reaches the specified balance, calls aren't sent through this provider anymore.  Balance limit value of zero means that balance is unlimited.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Authentication ===&lt;br /&gt;
&lt;br /&gt;
==== For ZAP providers ====&lt;br /&gt;
&lt;br /&gt;
* '''Channel''' – which channel (or channel group) to use on a PRI/BRI/PSTN card. Channels and groups should be configured in zapata.conf.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==== For SIP/IAX2 providers ====&lt;br /&gt;
&lt;br /&gt;
* '''Login''' – username if your provider asks for it.&lt;br /&gt;
* '''Password''' – password used for authentication by your provider.&lt;br /&gt;
* '''Authenticate by IP''' – just check the checkbox (Login/Password can be left empty).&lt;br /&gt;
** Make sure you put the correct Hostname/[[IP address]]!&lt;br /&gt;
* '''Register''' – should we register the provider? (option is not visible when '''Dynamic''' is selected in '''Network related''' section)&lt;br /&gt;
* '''Register extension''' – if the provider asks to use an extension for registration (usually they don't), enter it here.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Provider CallerID ===&lt;br /&gt;
&lt;br /&gt;
'''CallerID''' – consists of two parts: Name and Number. The &amp;quot;Number&amp;quot; part is transferred by default on all technologies (GSM, PSTN, SIP etc), but the &amp;quot;Name&amp;quot; part only on some. The number you see on your mobile phone when someone is calling you is the &amp;quot;Number&amp;quot; part.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:provider_callerid.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Name''' – the &amp;quot;Name&amp;quot; part of CallerID.&lt;br /&gt;
* '''Number''' – the &amp;quot;Number&amp;quot; part of CallerID.&lt;br /&gt;
* '''Random Number from Number Pool''' – the &amp;quot;Number&amp;quot; part of CallerID selected from [[Number Pool]]&lt;br /&gt;
.&lt;br /&gt;
'''NOTE:''' If you have this configured all incoming call from this provider will have that CallerID.&lt;br /&gt;
If you leave these fields empty, calls coming from this provider will have CallerID set by the Provider. It should almost always be this way.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Network related ===&lt;br /&gt;
&lt;br /&gt;
* '''Hostname''' – hostname of the provider. Subnetting is supported.&lt;br /&gt;
* '''Server IP''' – the provider's IP. The value can be &amp;quot;dynamic&amp;quot;, which means that provider can change its IP. To discover this value, do ping to the provider's hostname.&lt;br /&gt;
* '''Port''' – port used to connect to the provider (default: 5060 for SIP, 4569 for IAX2, 1720 for H323).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
====H323 specific network settings====&lt;br /&gt;
&lt;br /&gt;
* '''Fast Start''' – an option specific to H323; it is either on or off.&lt;br /&gt;
* '''h245 Tunneling''' – an option specific to H323; it is either on or of&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
====SIP specific network settings====&lt;br /&gt;
&lt;br /&gt;
* '''Media control''' – canreinvite/transfer. Do you want your server to stay in the media path between your clients and your provider? Disable if you have a lot of 1-second answered calls.&lt;br /&gt;
* '''NAT''' – the available options are: yes, no, never, and route. For a detailed explanation of these settings, refer to [http://www.voip-info.org/wiki-Asterisk+sip+nat here].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
====IAX2 specific network settings====&lt;br /&gt;
&lt;br /&gt;
* '''IAX2 Trunking Mode''' – enable/disable trunking mode, which allows multiple voice streams to share a single &amp;quot;trunk&amp;quot; to another server, reducing overhead created by IP packets. More details [http://wiki.kolmisoft.com/index.php/Trunks here]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
====SIP and IAX2 specific network settings====&lt;br /&gt;
&lt;br /&gt;
* '''Qualify''' – how often to &amp;quot;ask&amp;quot; the provider about availability. More details [http://www.voip-info.org/wiki/view/Asterisk+sip+qualify here] for SIP providers and [http://www.voip-info.org/wiki/view/Asterisk+iax+qualify here] for IAX2 providers.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Servers ===&lt;br /&gt;
Allows to select on which Asterisk servers this provider should be used.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Codecs ===&lt;br /&gt;
&lt;br /&gt;
Choose the codecs your provider uses.&lt;br /&gt;
&lt;br /&gt;
NOTE: When no fields are checked, all codecs are available. ([[Image:asterisk_icon.png]] For example, settings in sip.conf or iax.conf are effective).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Advanced ===&lt;br /&gt;
&lt;br /&gt;
* '''Grace time''' – if call duration is less than &amp;lt;i&amp;gt;Grace Time&amp;lt;/i&amp;gt;, it will not be accounted.&lt;br /&gt;
* Progressinband:&lt;br /&gt;
**yes – when &amp;quot;RING&amp;quot; event is requested, always send 180 Ringing (if it hasn't been sent yet) followed by 183 Session Progress and in-band audio.&lt;br /&gt;
**no – send 180 Ringing if 183 has not yet been sent, establishing an audio path. If the audio path is established already (with 183), then send in-band ringing (this is the way Asterisk historically behaved because of buggy phones like Polycom's).&lt;br /&gt;
**never – whenever ringing occurs, send &amp;quot;180 ringing&amp;quot; as long as &amp;quot;200 OK&amp;quot; has not yet been sent. This is the default behavior of Asterisk.&lt;br /&gt;
* '''Video support''' – does your provider support Video over IP? More info [http://www.voip-info.org/wiki/view/Asterisk+video here].&lt;br /&gt;
* '''[[Duplicate call prevention | Allow duplicate calls]]''' – the default setting is &amp;quot;no&amp;quot;.&lt;br /&gt;
* '''Interpret NO ANSWER as FAILED''' – default option is no (This will change the provider in LCR like it is failed, in last calls you will see&lt;br /&gt;
the real hangupcause – no answer)&lt;br /&gt;
* '''Interpret BUSY as FAILED''' – default option is no (This will change the provider in LCR like it is failed, in last calls you will see&lt;br /&gt;
the real hangupcause – busy)&lt;br /&gt;
* '''Fake Ring''' – should system generate Fake Ring or not? Use only if your Device/Provider has bad protocol implementation and does not send RING signal properly.&lt;br /&gt;
* '''Common Use''' – Provider can be used by Resellers which are able to create their own Providers. Reseller will be billed using this Provider. If provider is marked as common use and is used in one of reseller's LCR or is in Terminators list - admin is not allowed to delete this provider or remove common use option.&lt;br /&gt;
* '''Anti-resale (Auto-answer)''' – when option is set to YES, MOR answers the call before sending it to provider in order to generate FAS.&lt;br /&gt;
* '''Transport''' – lets you choose protocol &amp;lt;nowiki&amp;gt;[tcp, udp]&amp;lt;/nowiki&amp;gt; for data transfer. Appears only if Provider is SIP and when Asterisk 1.8 is enabled. Default value: ''udp''. If TCP is used, it has to be [[How_to_enable_TCP_for_Asterisk |enabled in Asterisk]].&lt;br /&gt;
* '''Time limit per day''' - Total time available for provider per day. When limit is reached another provider in LCR is used (total time is calculated after rounding rules and minimal time adjustment, so if your provider tariff has increment higher than 1 or minimal time set, then total provider time may be different than actual call time).&lt;br /&gt;
* '''Limit up to X, during Y seconds''' – you can set limit how many calls (X) can be done in some interval of seconds (Y). [[Last Calls]] will show '''FAILED([[Hangupcause Codes |243]])'''.&lt;br /&gt;
* '''Enforce same codec as on Leg A''' - this option takes effect only when Device/Provider is used as Terminator. When this option is enabled, system checks what codec is used on Leg A. Then if Leg A codec matches one of codec enabled on Codecs list, system enforces callee to use that codec, by offering only that single codec in SDP data.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== SIP Specific ===&lt;br /&gt;
&lt;br /&gt;
* '''Fromuser''' – [http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+fromuser  more details]&lt;br /&gt;
* '''Fromdomain''' – [http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+fromuser  more details]&lt;br /&gt;
* '''Trustrpid''' – This defines whether or not Remote-Party-ID is trusted. It's defined in http://tools.ietf.org/id/draft-ietf-sip-privacy-04.txt&lt;br /&gt;
* '''Sendrpid''' – defines whether a Remote-Party-ID SIP header should be sent. It defaults to &amp;quot;No&amp;quot;. This field is often used by wholesale VoIP providers to provide calling party identity regardless of the privacy settings (the From SIP header). &lt;br /&gt;
* '''Insecure''' – [http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+insecure  more details]&lt;br /&gt;
* '''T.38 Support''' – should we support T.38 pass-through?&lt;br /&gt;
* '''[[SIP 302 Reinvite Support]]''' – turns this SIP feature on or off. &lt;br /&gt;
* '''P-Asserted-Identity usage''' – The P-Asserted-Identity header field can be used to convey the proven identity of the originator of a request within a trusted network.&lt;br /&gt;
* '''Periodic check''' - Turns on or off functionality which disables provider if it is unreachable.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Debug===&lt;br /&gt;
&lt;br /&gt;
* '''Save Call Log''' – when this option is enabled you can access Call info information in last calls page.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[H323 Provider settings]]&lt;br /&gt;
* [[Quick Providers changes]]&lt;br /&gt;
* [[Providers Statistics]]&lt;br /&gt;
* [[NO ANSWER/BUSY interpretation for providers]]&lt;br /&gt;
* [[I have a problem with Provider]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Device_settings&amp;diff=19706</id>
		<title>Device settings</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Device_settings&amp;diff=19706"/>
		<updated>2015-07-02T13:32:26Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* Advanced */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;mkmeta&amp;gt;MOR Device Settings Explained&amp;lt;/mkmeta&amp;gt;&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
* '''[[Registration Status]]''' - available only for SIP  devices. If device is assigned to server A but registers to server B - status will not be shown (devices must register to the server they are assigned to). If no status is displayed - device has not tried to register or noone called to that device.&lt;br /&gt;
* '''Accountcode''' – the unique ID of the device in the system.&lt;br /&gt;
* '''Description''' – for informational purposes.&lt;br /&gt;
* '''PIN''' – device PIN for authentication/authorization.&lt;br /&gt;
* '''Device group''' – to which group the device belongs (not used most of the time).&lt;br /&gt;
* '''Type''' – what type of device it is. Device type '''cannot''' be changed once it is created.&lt;br /&gt;
* '''Extension''' – a short number by which this device can be reached; must be unique in the system.&lt;br /&gt;
* '''DTMF Mode''' – in which protocol phone button presses are sent over network. The available options are: inband, info, RFC2833, and auto. Choose which one your provider uses (RFC2833 is used most often). This setting applies to SIP, H.323 and IAX2 protocols. For ZAP devices edit the configuration files in /etc/asterisk.&lt;br /&gt;
* '''Location''' – the default is Global. Choose the appropriate location based on [[Localization]] needs.&lt;br /&gt;
* '''Ringing Timeout''' – allows to limit the ringing duration in seconds. Leave 0 for unlimited. Minimal value is 10 seconds.&lt;br /&gt;
* '''Call Timeout''' – allows to limit answered call billsec. Leave 0 for unlimited.&lt;br /&gt;
* '''[[Trunks | Trunk]]''' – No/Yes/Yes with ANI – Is this device Trunk with/without ANI?&lt;br /&gt;
* '''[[Simultaneous call limitation | Call Limit]]''' – how many simultaneous calls can a user make?&lt;br /&gt;
* '''[[Multi_Server_support | Server]]''' – allows to choose server in multiple servers system. (While Carrier Class Addon is active, all Virtual and Fax devices are auto-assigned to all present Asterisk servers and cannot be re-assigned. Disabling Carrier Class Addon all Virtual and Fax devices will be assigned to default Asterisk server chosen from Addons &amp;gt; Carrier Class &amp;gt; Settings dropdown).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Authentication=&lt;br /&gt;
&lt;br /&gt;
===For dahdi devices:===&lt;br /&gt;
&lt;br /&gt;
* '''Channel''' – which channel (or channel group) to use on PRI/BRI/PSTN card. Channels and groups should be configured in ''zapata.conf''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===For SIP, H323 and IAX2 Devices:===&lt;br /&gt;
&lt;br /&gt;
'''IP Authentication:'''&lt;br /&gt;
&lt;br /&gt;
* '''IP Address''' – Device IP address in one of the following formats: &lt;br /&gt;
** '''IP''' – understands simple IP address, IP address with it's Subnet Mask and IP address with it's Range. For example ''192.168.0.1'', ''192.168.0.1/24'' and ''192.168.0.0-255''. &lt;br /&gt;
* '''Accept calls from any port''' – this option lets you receive calls from different Ports. This option is just on SIP (when [[SIP balancer]] in use) and H323.&lt;br /&gt;
* '''Port''' – Device Port.&lt;br /&gt;
&lt;br /&gt;
'''Dynamic:'''&lt;br /&gt;
&lt;br /&gt;
* '''Username''' – username you enter in your Device.&lt;br /&gt;
* '''Password''' – password you enter in your Device.&lt;br /&gt;
* '''IP Address''' – shows Device IP address.&lt;br /&gt;
* '''Port''' – shows Device Port.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=CallerID=&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:device_callerid.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A CallerID consists of two parts: Name and Number. The &amp;quot;Number&amp;quot; part is transferred by default by all technologies (GSM, PSTN, SIP etc), but the &amp;quot;Name&amp;quot; part is transferred only by some. The number you see on your mobile phone when someone is calling you is the &amp;quot;Number&amp;quot; part.&lt;br /&gt;
&lt;br /&gt;
* '''Name''' – the &amp;quot;Name&amp;quot; part of the CallerID.&lt;br /&gt;
* '''Number''' – the &amp;quot;Number&amp;quot; part of the CallerID. Only numerical values can be entered in this field. &lt;br /&gt;
&lt;br /&gt;
NOTE: if you leave these fields empty, the user can set the CallerID name by himself. Usually it is not advisable to allow the user do it on his own. If CallerID number field is empty, system will take device username as CallerID number (if device is username/password authenticated).&lt;br /&gt;
&lt;br /&gt;
* '''Number from DID''' - use the DID as the CallerID (only available when the device has DIDs), this option just sets CallerID Number to be equal to DID. Next time you will edit Device's settings, first option - Number will be checked&lt;br /&gt;
&lt;br /&gt;
* '''Control by DIDs (CID from DIDs)''' – only available when the device has DIDs.&lt;br /&gt;
&lt;br /&gt;
This setting lets you control what a CID user can enter in his devices. CID numbers should be from the set of the device's DIDs. They are mainly used when the user's PBX is connected over Trunk and many DIDs are routed to this Trunk. Calls coming out from this PBX must have a CallerID Number from the set of DIDs assigned to this Trunk (PBX). If &amp;quot;CID from DIDs&amp;quot; is checked, the system checks whether the device's CID number is from DIDs assigned to this device. If no DIDs are assigned, this value is ignored. In order for this setting to be active, CID Name/Number fields must be empty to allow the user to enter any CID number he wants. If &amp;quot;CID from DIDs&amp;quot; is checked and user enters any CID (not from his DIDs), the system will change his CID by his first available DID (selected from database by lowest ID).&lt;br /&gt;
&lt;br /&gt;
* '''Control by CIDs'''  – system checks incoming CallerID (Device's CallerID which is set on the Device). If CallerID matches one of the Device's CIDs - then such CallerID will be allowed. If it does not match - it will be changed to the selected CID.&lt;br /&gt;
&lt;br /&gt;
* '''Control by Destination''' – This is advanced option which works by such algorithm:&lt;br /&gt;
&lt;br /&gt;
# system checks Destination and checks DIDs assigned to calling Device. Then it finds 'nearest' DID to the Destination by subtracting DID from Destination in numerical form (Example, DID: 11111, Destination: 11112, |DID-Destination|=|1111-11112|=1) If Device has several DIDs - the lowest value is selected and this DID is set as CallerID. &lt;br /&gt;
#If Device has no DIDs - then User DIDs are used. &lt;br /&gt;
#If Device does not have DIDs and User has no DIDs, then CallerID set in Number field will be used. &lt;br /&gt;
#If nothing is set here - CallerID coming from Device will be used.&lt;br /&gt;
&lt;br /&gt;
* '''Random Number from Number Pool''' – This functionality gives you an ability to send different caller number on each Call. Available from MOR X4. More information: [http://wiki.kolmisoft.com/index.php/Number_Pool Number Pool].&lt;br /&gt;
&lt;br /&gt;
* '''Unknown''' - This option lets you set CallerID number to unknown. &lt;br /&gt;
&lt;br /&gt;
* '''Copy Leg A Name to Leg B Number''' – Leg A name will be used as Leg B number.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Network Related=&lt;br /&gt;
&lt;br /&gt;
===For H323:===&lt;br /&gt;
&lt;br /&gt;
* '''Fast start''' – option for faster H.245.&lt;br /&gt;
* '''h245 Tunneling''' – use H.245 without opening a second TCP/IP channel.&lt;br /&gt;
More info you can find [http://toncar.cz/Tutorials/VoIP/VoIP_Protocols_H323_Call_Signalling_Optimizations.html here].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===For SIP and IAX2===&lt;br /&gt;
&lt;br /&gt;
* '''Media control''' – can reinvite. Do you want your server to stay in media path between your clients and your provider? Please note that this option will work only if it is supported from both, device and provider, sides and it allows to handle SIP packets only. Moreover, no codec mismatch between device and provider is available. Default value is ''No''. '''WARNING''': This option can cause [[Call was billed incorrectly|incorrect billing]].&lt;br /&gt;
** canreinvite = yes &amp;quot;allow RTP media direct&amp;quot;&lt;br /&gt;
** canreinvite = no &amp;quot;deny re-invites&amp;quot;&lt;br /&gt;
** canreinvite = nonat &amp;quot;allow reinvite when local, deny reinvite when NAT&amp;quot;&lt;br /&gt;
** canreinvite = update &amp;quot;use UPDATE instead of INVITE&amp;quot;&lt;br /&gt;
** canreinvite = update,nonat &amp;quot;use UPDATE when local, deny when NAT&amp;quot;&lt;br /&gt;
* '''NAT''' – the available options are: yes, no, never, force_rport, comedia. For a detailed explanation of these settings, refer to [http://www.voip-info.org/wiki/view/Asterisk+sip+nat here].&lt;br /&gt;
* '''Qualify''' – how often to &amp;quot;ask&amp;quot; the device about availability. More details [http://www.voip-info.org/wiki/view/Asterisk+sip+qualify here] for SIP devices and [http://www.voip-info.org/wiki/view/Asterisk+iax+qualify here] for IAX2 devices.&lt;br /&gt;
* '''IAX2 Trunking Mode''' – enable/disable trunking mode, which allows multiple voice streams to share a single &amp;quot;trunk&amp;quot; to another server, reducing overhead created by IP packets. Only on IAX2.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Groups=&lt;br /&gt;
&lt;br /&gt;
* [[What are callgroups and pickupgroups | Call Group]] – to which Call Group this device belongs.&lt;br /&gt;
* [[What are callgroups and pickupgroups | Pickup Group]] – which Call Groups this device can pick up.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Voicemail=&lt;br /&gt;
&lt;br /&gt;
* '''Email''' – where to send received Voicemail.&lt;br /&gt;
* '''Password''' – the digital password the user enters when he calls the Voicemail number to hear his messages.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Codecs=&lt;br /&gt;
&lt;br /&gt;
[[Which codecs should I choose for devices | Choose the codecs]] your provider uses.&lt;br /&gt;
&lt;br /&gt;
NOTES: &lt;br /&gt;
* When no fields are checked, all codecs are available – for example, settings in sip.conf or iax.conf are effective.&lt;br /&gt;
* If the Provider and the Device do not have similar codecs, no call can be established.&lt;br /&gt;
* '''Enforce same codec as on Leg A''' - this option takes effect only when Device/Provider is used as Terminator. When this option is enabled, system checks what codec is used on Leg A. Then if Leg A codec matches one of codec enabled on Codecs list, system enforces callee to use that codec, by offering only that single codec in SDP data.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Allowed Addresses=&lt;br /&gt;
&lt;br /&gt;
'''IP, MASK''' – permits traffic from this IP only. You can find a detailed explanation [http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+permit-deny-mask here].&lt;br /&gt;
&lt;br /&gt;
You can enable multiple allowed addresses however this option should be turned on to be visible in main device settings window. Go to '''SETTINGS''' -&amp;gt; '''Setup''' -&amp;gt; '''Settings''' -&amp;gt; '''Various''' tab and choose ''Yes'' for ''Enable &amp;quot;Allowed addresses&amp;quot; option for Devices:''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Settings visual advanced.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
And click ''Save changes''.&lt;br /&gt;
&lt;br /&gt;
Now you will see an additional section in SIP and IAX2 Devices edit window:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Deviceconfig allowedaddr.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Allowed addresses''' describes from what IP's or defined subnets accept traffic. &lt;br /&gt;
NOTE that this setting take effect only for '''Dynamic authentication''' devices. For '''IP authentication''' devices, this setting is not applied.&lt;br /&gt;
&lt;br /&gt;
If you do not clearly understand what these settings are used for, leave them with default values.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Advanced=&lt;br /&gt;
&lt;br /&gt;
* '''Fromuser/Fromdomain''' – used when calling TO this peer FROM Asterisk. If you're using _register=&amp;gt;_ with another SIP proxy, this setting can come in handy since some SIP networks only allow users in the right domain with the correct user name. &lt;br /&gt;
* '''Trustrpid''' – defines whether or not Remote-Party-ID is trusted. It's defined in http://tools.ietf.org/id/draft-ietf-sip-privacy-04.txt.&lt;br /&gt;
* '''Sendrpid''' – defines whether a Remote-Party-ID SIP header should be sent. The default setting is &amp;quot;no&amp;quot;. This field is often used by wholesale VoIP providers to provide calling party identity regardless of the privacy settings (the From SIP header). &lt;br /&gt;
* [http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+insecure Insecure]&lt;br /&gt;
** port: ignore the port number where request came from. '''WARNING:''' do NOT enable it on username/password authenticated devices.&lt;br /&gt;
** invite: don't require authentication of incoming INVITEs. '''WARNING:''' do NOT enable it on username/password authenticated devices.&lt;br /&gt;
** port, invite: don't require initial INVITE to authenticate and ignore the port where the request came from. '''WARNING:''' do NOT enable it on username/password authenticated devices.&lt;br /&gt;
&lt;br /&gt;
Both of these settings are enabled by default for [[Authentication | IP Authenticated]] devices, but they can be changed, unless you are using Carrier Class Addon, which forces the device to ignore the port number and the authentication from an incoming request.&lt;br /&gt;
 &lt;br /&gt;
* '''[[SIP 302 Redirect Support | SIP 302 Redirect support]]''' – SIP Redirect support for the device. Disabled by default.&lt;br /&gt;
* '''Custom SIP Header''' - adds custom header to SIP request. Format is '''header: value''' (for example '''x-My-Custom-Header: my value''')&lt;br /&gt;
* '''[http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+progressinband Progressinband]''':&lt;br /&gt;
** yes – when &amp;quot;RING&amp;quot; event is requested, always send 180 Ringing (if it hasn't been sent yet) followed by 183 Session Progress and in-band audio.&lt;br /&gt;
** no – send 180 Ringing if 183 has not yet been sent, establishing an audio path. If the audio path is established already (with 183), then send in-band ringing (this is the way Asterisk historically behaved because of buggy phones like Polycom's).&lt;br /&gt;
** never – whenever ringing occurs, send &amp;quot;180 ringing&amp;quot; as long as &amp;quot;200 OK&amp;quot; has not yet been sent. This is the default behavior of Asterisk.&lt;br /&gt;
NOTE: if Progressinband does not work, add &amp;quot;prematuremedia=no&amp;quot; to sip.conf and reload Asterisk.&lt;br /&gt;
* '''Video support''' – does your provider support Video over IP? More info [http://www.voip-info.org/wiki/view/Asterisk+video here].&lt;br /&gt;
* '''[[Duplicate call prevention | Allow duplicate calls]]''' – the default setting is &amp;quot;no&amp;quot;.&lt;br /&gt;
* '''Language''' – sets IVR language&lt;br /&gt;
* '''Use ANI (if available) for CallerID:''' – When the call comes the information about who is calling is found in CallerID field. This field is used to determine who is calling. When the call comes through PRI/SS7 channels - then additional information is available who is calling in ANI field (in call's data channel) so sometimes CallerID might be empty or anonymous, but the caller can be found in ANI field. This option allows to use ANI field as CallerID to determine and recognize who is calling. &lt;br /&gt;
* '''Incoming Call CallerID Presentation''' – sets CallerID Presentation. Please note that this setting applies only for incoming calls. More information can be found [http://www.voip-info.org/wiki/view/Asterisk+cmd+SetCallerPres here] and [http://www.voip-info.org/wiki/view/Asterisk+cmd+CallingPres here] &lt;br /&gt;
* '''Change Failed Code To''' – if call fails change Hangup Cause Code to this value. This works only for outgoing calls from device. '''Not for Incoming'''&lt;br /&gt;
* '''Forward DID''' – it allows to forward call to DID which is assigned to Authorization by PIN or Calling Cards dial plan. After user enters PIN of any device or card, call gets connected with destination.&lt;br /&gt;
* '''Anti-resale (Auto-answer)''' – when option is set to YES, MOR answers the call before sending it to provider in order to generate FAS.&lt;br /&gt;
* '''Transport''' – lets you choose protocol(s) for data transfer. Appears only if device is SIP and when Asterisk 1.8 is enabled. Default value: ''udp''. If TCP is used, it has to be [[How_to_enable_TCP_for_Asterisk |enabled in Asterisk]].&lt;br /&gt;
* '''T.38 Support''' – should T.38 pass-through be supported&lt;br /&gt;
* '''SRTP Encryption''' – should SRTP protocol be used for calls &lt;br /&gt;
* '''Block callerid if (number) simultaneous calls come from it''' – blocks CallerID if the entered number of simultaneous calls come from it&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR x4---&amp;gt;&lt;br /&gt;
* '''Limit up to (number) calls, during (number) seconds''' – allows to set calls per second limit in some period. [[File:call_limit_per_period.png]]&lt;br /&gt;
* '''Outbound Proxy''' – send outbound signaling to this proxy, not directly to the peer (Internal Asterisk option).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Tell Options=&lt;br /&gt;
&lt;br /&gt;
* '''Tell rate before call''' - should MOR tell announce minute price (rounded to cents) before every call. Default value is &amp;quot;no&amp;quot;.&lt;br /&gt;
* '''Tell balance before call''' – should MOR tell the user his balance every time he tries to dial?  The default setting is &amp;quot;no&amp;quot;.&lt;br /&gt;
* '''Tell time''' - should MOR tell the user his remaining time every time he tries to dial?  The default setting is &amp;quot;no&amp;quot;.&lt;br /&gt;
** Time is told in MINUTES only. Currently it is not possible to tell both in minutes and seconds.&lt;br /&gt;
* '''Tell remaining time when left''' – when some time is left, MOR will tell the remaining time to talk (in seconds).&lt;br /&gt;
* '''Repeat remaining time when left''' – repeats the remaining time when some time is left (in seconds).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Debug=&lt;br /&gt;
&lt;br /&gt;
* [[SIP debug info|'''Process SIPCHANINFO''']] - shows SIP channel info in [[Asterisk CLI]] and saves this information on database.&lt;br /&gt;
* '''Save Call Log''' - saves whole call log on database. Log can be overviewed by click [[File:Icon_callinfo.png]] in [[Last Calls]].&lt;br /&gt;
NOTE: debug should be enabled only if you are experiencing any problems. It should be disable in any other cases, because it stores lot of information on database.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
This option is DISABLED globally by default. If you want it to be enabled, please contact Kolmisoft staff.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Recordings=&lt;br /&gt;
&lt;br /&gt;
This section is available when [[Recordings Addon]] is installed in the system.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Comment=&lt;br /&gt;
&lt;br /&gt;
Devices can have Comments, which gives information about the Device.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Grace_time | Grace time]]&lt;br /&gt;
* [[PAP_device_configuration | PAP device configuration]]&lt;br /&gt;
* [[H323 Device settings]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=How_to_enable_TCP_for_Asterisk&amp;diff=19705</id>
		<title>How to enable TCP for Asterisk</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=How_to_enable_TCP_for_Asterisk&amp;diff=19705"/>
		<updated>2015-07-02T13:30:19Z</updated>

		<summary type="html">&lt;p&gt;Rita: Created page with 'To allow SIP TCP clients to connect to MOR, it is necessary to enable TCP first. &amp;lt;br&amp;gt; To enable TCP, edit sip.conf at /etc/asterisk directory. Add these lines in General section:…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To allow SIP TCP clients to connect to MOR, it is necessary to enable TCP first.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
To enable TCP, edit sip.conf at /etc/asterisk directory. Add these lines in General section:&lt;br /&gt;
 [general]&lt;br /&gt;
 tcpenable=yes&lt;br /&gt;
 tcpbindaddr=0.0.0.0&lt;br /&gt;
Once it is done, reload sip in asterisk CLI, or run&lt;br /&gt;
 asterisk -rx 'sip reload'&lt;br /&gt;
It is important to also choose TCP as Transport in the [[Device_settings|device settings]].&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_sms_send&amp;diff=19656</id>
		<title>MOR API sms send</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_sms_send&amp;diff=19656"/>
		<updated>2015-06-29T08:32:14Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* Returns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description =&lt;br /&gt;
SMS API is used to integrate MOR with other external systems like CRM, ERP or other for SMS sending through them.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' SMS API can use only '''Simple Users'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
&lt;br /&gt;
* Call: /api/sms_send&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended) &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
* lcr_id - LCR ID in MOR database. '''Required'''.&lt;br /&gt;
* u - username to login. '''Required'''.&lt;br /&gt;
* dst - Destination number. '''Required'''.&lt;br /&gt;
* src - Source number. '''Required'''.&lt;br /&gt;
* message - Message that you want to send. '''Required'''.&lt;br /&gt;
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&lt;br /&gt;
&lt;br /&gt;
'''* Note that message must be in [http://meta.wikimedia.org/wiki/Help:URL URL Encode]'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have lcr_id = 1, dst = 937567337911, src = 9375783123767, message = hi, API key = 123456&lt;br /&gt;
**We send:&lt;br /&gt;
 HTML POST: http://&amp;lt;server_ip&amp;gt;/billing/api/sms_send?u=username&amp;amp;lcr_id=1&amp;amp;dst=937567337911&amp;amp;src=9375783123767&amp;amp;message=hi&amp;amp;hash=cc0e27123e27f08de2fbc68a2c8ba0b213654687&lt;br /&gt;
&lt;br /&gt;
'''* Note that username and password are not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
   &amp;lt;response&amp;gt;&lt;br /&gt;
     &amp;lt;status&amp;gt;ok&amp;lt;/status&amp;gt;&lt;br /&gt;
     &amp;lt;message&amp;gt;&lt;br /&gt;
       &amp;lt;message_id&amp;gt; message id &amp;lt;/message_id&amp;gt;&lt;br /&gt;
       &amp;lt;sms_status_code_tip&amp;gt;SMS is sent&amp;lt;/sms_status_code_tip&amp;gt;&lt;br /&gt;
       &amp;lt;price&amp;gt; price &amp;lt;/price&amp;gt;&lt;br /&gt;
       &amp;lt;currency&amp;gt; currency &amp;lt;/currency&amp;gt;&lt;br /&gt;
    &amp;lt;/message&amp;gt;&lt;br /&gt;
   &amp;lt;/response&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Errors'''&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;error&amp;gt;There is no message or it is empty&amp;lt;/error&amp;gt; – message text not found.&lt;br /&gt;
* &amp;lt;error&amp;gt;Wrong source&amp;lt;/error&amp;gt; – source number is wrong.&lt;br /&gt;
* &amp;lt;error&amp;gt;Wrong destination&amp;lt;/error&amp;gt; – destination number is wrong.&lt;br /&gt;
* &amp;lt;error&amp;gt;There is no such LCR&amp;lt;/error&amp;gt; – LCR id not found.&lt;br /&gt;
* &amp;lt;error&amp;gt;User is not subscribed to sms service&amp;lt;/error&amp;gt;  – user is not [[SMS_Addon#Configuration | Subscribed]] for sms usage.&lt;br /&gt;
* &amp;lt;error&amp;gt;System owner does not have rate for this destination&amp;lt;/error&amp;gt; - SMS status code and tip [[SMS Addon - Status codes]]&lt;br /&gt;
* &amp;lt;error&amp;gt;Bad login&amp;lt;/error&amp;gt;  – User with Username, defined in parameter '''u''', is not found.&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt;  – User is not Simple User.&lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;Insufficient balance&amp;lt;/error&amp;gt; - The User does not have enough balance to send an SMS.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Quick_Forwards&amp;diff=19634</id>
		<title>Quick Forwards</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Quick_Forwards&amp;diff=19634"/>
		<updated>2015-06-25T11:43:48Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* Quick forwards based on diversion number */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=About=&lt;br /&gt;
&lt;br /&gt;
Some DIDs can be assigned to Quick Forwards functionality.&lt;br /&gt;
When this is done, each user can enter a different number to be forwarded when he calls a DID.&lt;br /&gt;
&lt;br /&gt;
The main advantage of this function '''is to use a limited number of DIDs to allow different users to call these DIDs and be forwarded to different numbers''' (which are assigned by users). Moreover, Quick Forward dial plans are often beneficial for caller (instead of dialing directly, he dials a Forward Number and then Forward Number dials a DID - both of these connections have exceptional prices, so call is often cheaper).&lt;br /&gt;
&lt;br /&gt;
'''Example'''&lt;br /&gt;
&lt;br /&gt;
We have several DIDs assigned to Quick Forwards functionality:&lt;br /&gt;
&lt;br /&gt;
* 1111111111.&lt;br /&gt;
* 2222222222.&lt;br /&gt;
&lt;br /&gt;
We have two users with these CallerIDs:&lt;br /&gt;
&lt;br /&gt;
* User A with CallerID 8888888888.&lt;br /&gt;
* User B with CallerID 9999999999.&lt;br /&gt;
&lt;br /&gt;
User A sets his forwards:&lt;br /&gt;
&lt;br /&gt;
* From DID 1111111111 forward to 3333333333.&lt;br /&gt;
* From DID 2222222222 forward to 4444444444.&lt;br /&gt;
&lt;br /&gt;
User B sets his forwards:&lt;br /&gt;
&lt;br /&gt;
* From DID 1111111111 forward to 5555555555.&lt;br /&gt;
* From DID 2222222222 forward to 6666666666.&lt;br /&gt;
&lt;br /&gt;
* When User A dials DID 1111111111, his CallerID (8888888888) is checked, the user is recognized, and the call is automatically forwarded to number 3333333333.&lt;br /&gt;
* When User A dials DID 2222222222, his CallerID (8888888888) is checked, the user is recognized, and the call is automatically forwarded to number 4444444444.&lt;br /&gt;
&lt;br /&gt;
* When User B dials DID 1111111111, his CallerID (9999999999) is checked, the user is recognized, and the call is automatically forwarded to number 5555555555.&lt;br /&gt;
* When User B dials DID 2222222222, his CallerID (9999999999) is checked, the user is recognized, and the call is automatically forwarded to number 6666666666&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT''': Correct CallerIDs should be set for users in order for them to be recognized them. Only the system administrator can do this.&lt;br /&gt;
&lt;br /&gt;
* If the system doesn't recognize the caller, it asks for a PIN number of the device to be entered.&lt;br /&gt;
* If a user is dialing a DID that has not been assigned a Forward Number, the user is asked to enter such a number.&lt;br /&gt;
&lt;br /&gt;
The user can manipulate his Quick Forwards in his menu. He needs to log in to GUI to change numbers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Please note that DIDs which follow a quick forward rule can only be assigned to Quick Forwards dial plan!'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Quick forwards based on diversion number==&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 11---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By default quick forwards are based on CallerID but you can change it to be based on user's diversion number. But diversion field can be used instead of CallerID. It comes in a SIP packet and points at the device which forwarded a call before it got into a system. for example, if you put a forward to system's DID on your cellphone and X calls you by default system will catch Xs CallerID, which is not in the system, so it will ask for PIN. Meanwhile if quick forwards are based on diversion system will see that the call belongs to you and it will act respectively. &lt;br /&gt;
&lt;br /&gt;
Moreover, Default Device allows not to bill the user who calls to that DID but bill an other user instead. To see why it is useful here's another example: let's assume that calling to DID costs the same as calling to a premium rate line. When you call to such a line you pay at once. MORs owner gets payment from DIDs provider (which itself gets it from the user). Quick forwards based on diversion allows creating such services where user does not have to pay for anything, i.e. forwards for him are &amp;quot;free&amp;quot; because he pays for a DID.&lt;br /&gt;
&lt;br /&gt;
To make such a dial plan go to '''SETTINGS''' -&amp;gt; '''Billing''' -&amp;gt; '''DIDs''' -&amp;gt; '''Dial Plans'''. Click ''New dial plan'', you have to create a Quick Forward dial plan:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Dialplans quickforawrds diversion.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select ''Use Diversion instead of CallerID'' and click [[File:icon_add.png]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Example''': User A (CallerID 1111) calls User B (CallerID 2222). User B forwards the call to DID (which is assigned to Quickforwards in MOR).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If option &amp;quot;Use Diversion instead of CallerID&amp;quot; is NOT enabled, MOR checks User's A callerID. If CallerID 1111 is found in the system, the call is forwarded to the number, that User A assigned to the DID in Quickforward menu. However, in this situation, User A is usually not a user in MOR system, so the CallerID 1111 is not found and call fails.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If option &amp;quot;Use Diversion instead of CallerID&amp;quot; is enabled, MOR checks User's B callerID. If CallerID 2222 is found in the system, the call is forwarded to the number, that User B assigned to the DID in Quickforward menu.&lt;br /&gt;
&lt;br /&gt;
== Why is the Quick Forwards window empty? ==&lt;br /&gt;
&lt;br /&gt;
The window may be empty because one or more DIDs should be assigned to Quickforwards [[Dial_Plans | Dial Plan]] before calls can be forwarded.&lt;br /&gt;
&lt;br /&gt;
== Tell Balance/Tell Time ==&lt;br /&gt;
&lt;br /&gt;
By default calls via Quick forward DID will not play Balance and Time. If you want it to go to '''SETTINGS''' -&amp;gt; '''Billing''' -&amp;gt; '''DIDs''' -&amp;gt; '''Quickforwards''' -&amp;gt; '''Quickforward Settings'''. You will see this window:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[file:Quickforwards_telltime.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select ''Tell Balance: '' and/or ''Tell Time: '' and click ''Change''.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Tell Time/Tell Balance options also can be found in device's edit window:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Devices telloptions.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here you can also select ''Global''. Value (''Yes'' or ''No'') in the brackets depends on what is selected in quickforward settings. In this example there is ''Global (No)'' to both options because in quickforward settings both ''Tell Time'' and ''Tell Balance'' are set to ''No''.&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
* [[DID_Management|DID Management]]&lt;br /&gt;
* [[Quickforwards_rules|Quickforwards rules]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Device_settings&amp;diff=19617</id>
		<title>Device settings</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Device_settings&amp;diff=19617"/>
		<updated>2015-06-12T08:53:09Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* Advanced */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;mkmeta&amp;gt;MOR Device Settings Explained&amp;lt;/mkmeta&amp;gt;&lt;br /&gt;
=General=&lt;br /&gt;
&lt;br /&gt;
* '''[[Registration Status]]''' - available only for SIP  devices. If device is assigned to server A but registers to server B - status will not be shown (devices must register to the server they are assigned to). If no status is displayed - device has not tried to register or noone called to that device.&lt;br /&gt;
* '''Accountcode''' – the unique ID of the device in the system.&lt;br /&gt;
* '''Description''' – for informational purposes.&lt;br /&gt;
* '''PIN''' – device PIN for authentication/authorization.&lt;br /&gt;
* '''Device group''' – to which group the device belongs (not used most of the time).&lt;br /&gt;
* '''Type''' – what type of device it is. Device type '''cannot''' be changed once it is created.&lt;br /&gt;
* '''Extension''' – a short number by which this device can be reached; must be unique in the system.&lt;br /&gt;
* '''DTMF Mode''' – in which protocol phone button presses are sent over network. The available options are: inband, info, RFC2833, and auto. Choose which one your provider uses (RFC2833 is used most often). This setting applies to SIP, H.323 and IAX2 protocols. For ZAP devices edit the configuration files in /etc/asterisk.&lt;br /&gt;
* '''Location''' – the default is Global. Choose the appropriate location based on [[Localization]] needs.&lt;br /&gt;
* '''Ringing Timeout''' – allows to limit the ringing duration in seconds. Leave 0 for unlimited. Minimal value is 10 seconds.&lt;br /&gt;
* '''Call Timeout''' – allows to limit answered call billsec. Leave 0 for unlimited.&lt;br /&gt;
* '''[[Trunks | Trunk]]''' – No/Yes/Yes with ANI – Is this device Trunk with/without ANI?&lt;br /&gt;
* '''[[Simultaneous call limitation | Call Limit]]''' – how many simultaneous calls can a user make?&lt;br /&gt;
* '''[[Multi_Server_support | Server]]''' – allows to choose server in multiple servers system. (While Carrier Class Addon is active, all Virtual and Fax devices are auto-assigned to all present Asterisk servers and cannot be re-assigned. Disabling Carrier Class Addon all Virtual and Fax devices will be assigned to default Asterisk server chosen from Addons &amp;gt; Carrier Class &amp;gt; Settings dropdown).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Authentication=&lt;br /&gt;
&lt;br /&gt;
===For dahdi devices:===&lt;br /&gt;
&lt;br /&gt;
* '''Channel''' – which channel (or channel group) to use on PRI/BRI/PSTN card. Channels and groups should be configured in ''zapata.conf''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===For SIP, H323 and IAX2 Devices:===&lt;br /&gt;
&lt;br /&gt;
'''IP Authentication:'''&lt;br /&gt;
&lt;br /&gt;
* '''IP Address''' – Device IP address in one of the following formats: &lt;br /&gt;
** '''IP''' – understands simple IP address, IP address with it's Subnet Mask and IP address with it's Range. For example ''192.168.0.1'', ''192.168.0.1/24'' and ''192.168.0.0-255''. &lt;br /&gt;
* '''Accept calls from any port''' – this option lets you receive calls from different Ports. This option is just on SIP (when [[SIP balancer]] in use) and H323.&lt;br /&gt;
* '''Port''' – Device Port.&lt;br /&gt;
&lt;br /&gt;
'''Dynamic:'''&lt;br /&gt;
&lt;br /&gt;
* '''Username''' – username you enter in your Device.&lt;br /&gt;
* '''Password''' – password you enter in your Device.&lt;br /&gt;
* '''IP Address''' – shows Device IP address.&lt;br /&gt;
* '''Port''' – shows Device Port.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=CallerID=&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:device_callerid.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A CallerID consists of two parts: Name and Number. The &amp;quot;Number&amp;quot; part is transferred by default by all technologies (GSM, PSTN, SIP etc), but the &amp;quot;Name&amp;quot; part is transferred only by some. The number you see on your mobile phone when someone is calling you is the &amp;quot;Number&amp;quot; part.&lt;br /&gt;
&lt;br /&gt;
* '''Name''' – the &amp;quot;Name&amp;quot; part of the CallerID.&lt;br /&gt;
* '''Number''' – the &amp;quot;Number&amp;quot; part of the CallerID. Only numerical values can be entered in this field. &lt;br /&gt;
&lt;br /&gt;
NOTE: if you leave these fields empty, the user can set the CallerID name by himself. Usually it is not advisable to allow the user do it on his own. If CallerID number field is empty, system will take device username as CallerID number (if device is username/password authenticated).&lt;br /&gt;
&lt;br /&gt;
* '''Number from DID''' - use the DID as the CallerID (only available when the device has DIDs), this option just sets CallerID Number to be equal to DID. Next time you will edit Device's settings, first option - Number will be checked&lt;br /&gt;
&lt;br /&gt;
* '''Control by DIDs (CID from DIDs)''' – only available when the device has DIDs.&lt;br /&gt;
&lt;br /&gt;
This setting lets you control what a CID user can enter in his devices. CID numbers should be from the set of the device's DIDs. They are mainly used when the user's PBX is connected over Trunk and many DIDs are routed to this Trunk. Calls coming out from this PBX must have a CallerID Number from the set of DIDs assigned to this Trunk (PBX). If &amp;quot;CID from DIDs&amp;quot; is checked, the system checks whether the device's CID number is from DIDs assigned to this device. If no DIDs are assigned, this value is ignored. In order for this setting to be active, CID Name/Number fields must be empty to allow the user to enter any CID number he wants. If &amp;quot;CID from DIDs&amp;quot; is checked and user enters any CID (not from his DIDs), the system will change his CID by his first available DID (selected from database by lowest ID).&lt;br /&gt;
&lt;br /&gt;
* '''Control by CIDs'''  – system checks incoming CallerID (Device's CallerID which is set on the Device). If CallerID matches one of the Device's CIDs - then such CallerID will be allowed. If it does not match - it will be changed to the selected CID.&lt;br /&gt;
&lt;br /&gt;
* '''Control by Destination''' – This is advanced option which works by such algorithm:&lt;br /&gt;
&lt;br /&gt;
# system checks Destination and checks DIDs assigned to calling Device. Then it finds 'nearest' DID to the Destination by subtracting DID from Destination in numerical form (Example, DID: 11111, Destination: 11112, |DID-Destination|=|1111-11112|=1) If Device has several DIDs - the lowest value is selected and this DID is set as CallerID. &lt;br /&gt;
#If Device has no DIDs - then User DIDs are used. &lt;br /&gt;
#If Device does not have DIDs and User has no DIDs, then CallerID set in Number field will be used. &lt;br /&gt;
#If nothing is set here - CallerID coming from Device will be used.&lt;br /&gt;
&lt;br /&gt;
* '''Random Number from Number Pool''' – This functionality gives you an ability to send different caller number on each Call. Available from MOR X4. More information: [http://wiki.kolmisoft.com/index.php/Number_Pool Number Pool].&lt;br /&gt;
&lt;br /&gt;
* '''Unknown''' - This option lets you set CallerID number to unknown. &lt;br /&gt;
&lt;br /&gt;
* '''Copy Leg A Name to Leg B Number''' – Leg A name will be used as Leg B number.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Network Related=&lt;br /&gt;
&lt;br /&gt;
===For H323:===&lt;br /&gt;
&lt;br /&gt;
* '''Fast start''' – option for faster H.245.&lt;br /&gt;
* '''h245 Tunneling''' – use H.245 without opening a second TCP/IP channel.&lt;br /&gt;
More info you can find [http://toncar.cz/Tutorials/VoIP/VoIP_Protocols_H323_Call_Signalling_Optimizations.html here].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===For SIP and IAX2===&lt;br /&gt;
&lt;br /&gt;
* '''Media control''' – can reinvite. Do you want your server to stay in media path between your clients and your provider? Please note that this option will work only if it is supported from both, device and provider, sides and it allows to handle SIP packets only. Moreover, no codec mismatch between device and provider is available. Default value is ''No''. '''WARNING''': This option can cause [[Call was billed incorrectly|incorrect billing]].&lt;br /&gt;
** canreinvite = yes &amp;quot;allow RTP media direct&amp;quot;&lt;br /&gt;
** canreinvite = no &amp;quot;deny re-invites&amp;quot;&lt;br /&gt;
** canreinvite = nonat &amp;quot;allow reinvite when local, deny reinvite when NAT&amp;quot;&lt;br /&gt;
** canreinvite = update &amp;quot;use UPDATE instead of INVITE&amp;quot;&lt;br /&gt;
** canreinvite = update,nonat &amp;quot;use UPDATE when local, deny when NAT&amp;quot;&lt;br /&gt;
* '''NAT''' – the available options are: yes, no, never, force_rport, comedia. For a detailed explanation of these settings, refer to [http://www.voip-info.org/wiki/view/Asterisk+sip+nat here].&lt;br /&gt;
* '''Qualify''' – how often to &amp;quot;ask&amp;quot; the device about availability. More details [http://www.voip-info.org/wiki/view/Asterisk+sip+qualify here] for SIP devices and [http://www.voip-info.org/wiki/view/Asterisk+iax+qualify here] for IAX2 devices.&lt;br /&gt;
* '''IAX2 Trunking Mode''' – enable/disable trunking mode, which allows multiple voice streams to share a single &amp;quot;trunk&amp;quot; to another server, reducing overhead created by IP packets. Only on IAX2.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Groups=&lt;br /&gt;
&lt;br /&gt;
* [[What are callgroups and pickupgroups | Call Group]] – to which Call Group this device belongs.&lt;br /&gt;
* [[What are callgroups and pickupgroups | Pickup Group]] – which Call Groups this device can pick up.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Voicemail=&lt;br /&gt;
&lt;br /&gt;
* '''Email''' – where to send received Voicemail.&lt;br /&gt;
* '''Password''' – the digital password the user enters when he calls the Voicemail number to hear his messages.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Codecs=&lt;br /&gt;
&lt;br /&gt;
[[Which codecs should I choose for devices | Choose the codecs]] your provider uses.&lt;br /&gt;
&lt;br /&gt;
NOTES: &lt;br /&gt;
* When no fields are checked, all codecs are available – for example, settings in sip.conf or iax.conf are effective.&lt;br /&gt;
* If the Provider and the Device do not have similar codecs, no call can be established.&lt;br /&gt;
* '''Enforce same codec as on Leg A''' - this option takes effect only when Device/Provider is used as Terminator. When this option is enabled, system checks what codec is used on Leg A. Then if Leg A codec matches one of codec enabled on Codecs list, system enforces callee to use that codec, by offering only that single codec in SDP data.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Allowed Addresses=&lt;br /&gt;
&lt;br /&gt;
'''IP, MASK''' – permits traffic from this IP only. You can find a detailed explanation [http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+permit-deny-mask here].&lt;br /&gt;
&lt;br /&gt;
You can enable multiple allowed addresses however this option should be turned on to be visible in main device settings window. Go to '''SETTINGS''' -&amp;gt; '''Setup''' -&amp;gt; '''Settings''' -&amp;gt; '''Various''' tab and choose ''Yes'' for ''Enable &amp;quot;Allowed addresses&amp;quot; option for Devices:''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Settings visual advanced.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
And click ''Save changes''.&lt;br /&gt;
&lt;br /&gt;
Now you will see an additional section in SIP and IAX2 Devices edit window:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Deviceconfig allowedaddr.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Allowed addresses''' describes from what IP's or defined subnets accept traffic. &lt;br /&gt;
NOTE that this setting take effect only for '''Dynamic authentication''' devices. For '''IP authentication''' devices, this setting is not applied.&lt;br /&gt;
&lt;br /&gt;
If you do not clearly understand what these settings are used for, leave them with default values.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Advanced=&lt;br /&gt;
&lt;br /&gt;
* '''Fromuser/Fromdomain''' – used when calling TO this peer FROM Asterisk. If you're using _register=&amp;gt;_ with another SIP proxy, this setting can come in handy since some SIP networks only allow users in the right domain with the correct user name. &lt;br /&gt;
* '''Trustrpid''' – defines whether or not Remote-Party-ID is trusted. It's defined in http://tools.ietf.org/id/draft-ietf-sip-privacy-04.txt.&lt;br /&gt;
* '''Sendrpid''' – defines whether a Remote-Party-ID SIP header should be sent. The default setting is &amp;quot;no&amp;quot;. This field is often used by wholesale VoIP providers to provide calling party identity regardless of the privacy settings (the From SIP header). &lt;br /&gt;
* [http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+insecure Insecure]&lt;br /&gt;
** port: ignore the port number where request came from. '''WARNING:''' do NOT enable it on username/password authenticated devices.&lt;br /&gt;
** invite: don't require authentication of incoming INVITEs. '''WARNING:''' do NOT enable it on username/password authenticated devices.&lt;br /&gt;
** port, invite: don't require initial INVITE to authenticate and ignore the port where the request came from. '''WARNING:''' do NOT enable it on username/password authenticated devices.&lt;br /&gt;
&lt;br /&gt;
Both of these settings are enabled by default for [[Authentication | IP Authenticated]] devices, but they can be changed, unless you are using Carrier Class Addon, which forces the device to ignore the port number and the authentication from an incoming request.&lt;br /&gt;
 &lt;br /&gt;
* '''[[SIP 302 Redirect Support | SIP 302 Redirect support]]''' – SIP Redirect support for the device. Disabled by default.&lt;br /&gt;
* '''Custom SIP Header''' - adds custom header to SIP request. Format is '''header: value''' (for example '''x-My-Custom-Header: my value''')&lt;br /&gt;
* '''[http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+progressinband Progressinband]''':&lt;br /&gt;
** yes – when &amp;quot;RING&amp;quot; event is requested, always send 180 Ringing (if it hasn't been sent yet) followed by 183 Session Progress and in-band audio.&lt;br /&gt;
** no – send 180 Ringing if 183 has not yet been sent, establishing an audio path. If the audio path is established already (with 183), then send in-band ringing (this is the way Asterisk historically behaved because of buggy phones like Polycom's).&lt;br /&gt;
** never – whenever ringing occurs, send &amp;quot;180 ringing&amp;quot; as long as &amp;quot;200 OK&amp;quot; has not yet been sent. This is the default behavior of Asterisk.&lt;br /&gt;
NOTE: if Progressinband does not work, add &amp;quot;prematuremedia=no&amp;quot; to sip.conf and reload Asterisk.&lt;br /&gt;
* '''Video support''' – does your provider support Video over IP? More info [http://www.voip-info.org/wiki/view/Asterisk+video here].&lt;br /&gt;
* '''[[Duplicate call prevention | Allow duplicate calls]]''' – the default setting is &amp;quot;no&amp;quot;.&lt;br /&gt;
* '''Language''' – sets IVR language&lt;br /&gt;
* '''Use ANI (if available) for CallerID:''' – When the call comes the information about who is calling is found in CallerID field. This field is used to determine who is calling. When the call comes through PRI/SS7 channels - then additional information is available who is calling in ANI field (in call's data channel) so sometimes CallerID might be empty or anonymous, but the caller can be found in ANI field. This option allows to use ANI field as CallerID to determine and recognize who is calling. &lt;br /&gt;
* '''Incoming Call CallerID Presentation''' – sets CallerID Presentation. Please note that this setting applies only for incoming calls. More information can be found [http://www.voip-info.org/wiki/view/Asterisk+cmd+SetCallerPres here] and [http://www.voip-info.org/wiki/view/Asterisk+cmd+CallingPres here] &lt;br /&gt;
* '''Change Failed Code To''' – if call fails change Hangup Cause Code to this value. This works only for outgoing calls from device. '''Not for Incoming'''&lt;br /&gt;
* '''Forward DID''' – it allows to forward call to DID which is assigned to Authorization by PIN or Calling Cards dial plan. After user enters PIN of any device or card, call gets connected with destination.&lt;br /&gt;
* '''Anti-resale (Auto-answer)''' – when option is set to YES, MOR answers the call before sending it to provider in order to generate FAS.&lt;br /&gt;
* '''Transport''' – lets you choose protocol(s) for data transfer. Appears only if device is SIP and when Asterisk 1.8 is enabled. Default value: ''udp''.&lt;br /&gt;
* '''T.38 Support''' – should T.38 pass-through be supported&lt;br /&gt;
* '''SRTP Encryption''' – should SRTP protocol be used for calls &lt;br /&gt;
* '''Block callerid if (number) simultaneous calls come from it''' – blocks CallerID if the entered number of simultaneous calls come from it&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR x4---&amp;gt;&lt;br /&gt;
* '''Limit up to (number) calls, during (number) seconds''' – allows to set calls per second limit in some period. [[File:call_limit_per_period.png]]&lt;br /&gt;
* '''Outbound Proxy''' – send outbound signaling to this proxy, not directly to the peer (Internal Asterisk option).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Tell Options=&lt;br /&gt;
&lt;br /&gt;
* '''Tell rate before call''' - should MOR tell announce minute price (rounded to cents) before every call. Default value is &amp;quot;no&amp;quot;.&lt;br /&gt;
* '''Tell balance before call''' – should MOR tell the user his balance every time he tries to dial?  The default setting is &amp;quot;no&amp;quot;.&lt;br /&gt;
* '''Tell time''' - should MOR tell the user his remaining time every time he tries to dial?  The default setting is &amp;quot;no&amp;quot;.&lt;br /&gt;
** Time is told in MINUTES only. Currently it is not possible to tell both in minutes and seconds.&lt;br /&gt;
* '''Tell remaining time when left''' – when some time is left, MOR will tell the remaining time to talk (in seconds).&lt;br /&gt;
* '''Repeat remaining time when left''' – repeats the remaining time when some time is left (in seconds).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Debug=&lt;br /&gt;
&lt;br /&gt;
* [[SIP debug info|'''Process SIPCHANINFO''']] - shows SIP channel info in [[Asterisk CLI]] and saves this information on database.&lt;br /&gt;
* '''Save Call Log''' - saves whole call log on database. Log can be overviewed by click [[File:Icon_callinfo.png]] in [[Last Calls]].&lt;br /&gt;
NOTE: debug should be enabled only if you are experiencing any problems. It should be disable in any other cases, because it stores lot of information on database.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
This option is DISABLED globally by default. If you want it to be enabled, please contact Kolmisoft staff.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Recordings=&lt;br /&gt;
&lt;br /&gt;
This section is available when [[Recordings Addon]] is installed in the system.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Comment=&lt;br /&gt;
&lt;br /&gt;
Devices can have Comments, which gives information about the Device.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Grace_time | Grace time]]&lt;br /&gt;
* [[PAP_device_configuration | PAP device configuration]]&lt;br /&gt;
* [[H323 Device settings]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Providers&amp;diff=19616</id>
		<title>Providers</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Providers&amp;diff=19616"/>
		<updated>2015-06-12T08:52:02Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* Advanced */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Description =&lt;br /&gt;
&lt;br /&gt;
In the old PSTN world, Providers were called Trunks. Providers are your route out of your VoIP network to the outside world.&lt;br /&gt;
&lt;br /&gt;
Providers can be one of several types: ZAP, SIP, IAX2, and H323. The type determines which technology is used to connect to the Provider.&lt;br /&gt;
&lt;br /&gt;
At the very start, you need to create a Provider through which you will dial out to PSTN or other VoIP networks.&lt;br /&gt;
&lt;br /&gt;
Every Provider will charge you for calling a destination through his service (although the rate might be zero). The rate to every destination is different. Because of this, we need to have a Tariff (or Price List) for each Provider. This Tariff will tell our billing what price we will pay to a destination when using this Provider's services. In other words, this will be our Selfcost.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
Go to '''SETTINGS –&amp;gt; Billing –&amp;gt; Providers'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:providers_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you can see a list of all Providers:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:providers_list.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* Click [[image:add.png]] '''New Provider''' to create new Provider, enter the Name for a new Provider, select its Technology, Tariff, Asterisk server which should be used for this provider and click Create.&lt;br /&gt;
* Click [[image:icon_edit.png]] icon to change settings for old Provider.&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR X4---&amp;gt;&lt;br /&gt;
* Click [[Image:icon_check.png]] icon to disable Provider and it will not be used while it is cross in Active column. It affects only outgoing calls. Incoming calls from this provider will be accepted.&lt;br /&gt;
* Click [[Image:icon_cross.png]] icon to enable Provider if you want to use it again. &lt;br /&gt;
NOTE: &lt;br /&gt;
* You can't create a new Provider if there are no Tariffs available for Providers.&lt;br /&gt;
* A Provider is also able to send calls, not just receive them. More info [[Configure Provider which can make calls | here]]. In case you want to sell services to a provider you have to create such a provider.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Settings ==&lt;br /&gt;
&lt;br /&gt;
=== General ===&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Prov addon.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Name''' – a name for the provider, for informational purposes.&lt;br /&gt;
* '''Technology''' – out of SIP/IAX2/ZAP/H323, choose which technology your provider uses - that is, the way you connect to the provider.&lt;br /&gt;
* '''Tariff''' – the list of rates the provider charges you.&lt;br /&gt;
* '''DTMF Mode''' – the available options are inband, info, RFC2833, and auto. Choose the one used by your provider.&lt;br /&gt;
* '''Location''' – which Localization rules are set to apply to INCOMING calls COMING FROM this provider.&lt;br /&gt;
* '''Automatic Number Identification''' - used in a special case explained here: [[Provider with ANI]]&lt;br /&gt;
* '''Ringing Timeout''' – this setting lets you set for how long this provider should be dialed before giving up. The default value is 60 seconds, and the minimum value is 30 seconds.&lt;br /&gt;
* '''Call Timeout''' – this setting lets you set the duration of the whole call: ringing and the period after connection. &lt;br /&gt;
* '''Device ID''' – informational data. &lt;br /&gt;
* '''Call limit''' – explained here: [[Simultaneous call limitation]].&lt;br /&gt;
* '''Hidden?''' – [[Hide_provider|hide/unhide provider]]&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 12---&amp;gt;&lt;br /&gt;
* '''Balance''' – provider balance. Provider balance increases when calls are made via that provider. Currently it is not available to decrease provider's balance. You can read more about [[Provider Billing Addon|Provider Billing Addon here]].&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR x4---&amp;gt;&lt;br /&gt;
* '''Balance limit''' – this is the limit of balance that can be reached by the provider. After he reaches the specified balance, calls aren't sent through this provider anymore.  Balance limit value of zero means that balance is unlimited.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Authentication ===&lt;br /&gt;
&lt;br /&gt;
==== For ZAP providers ====&lt;br /&gt;
&lt;br /&gt;
* '''Channel''' – which channel (or channel group) to use on a PRI/BRI/PSTN card. Channels and groups should be configured in zapata.conf.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==== For SIP/IAX2 providers ====&lt;br /&gt;
&lt;br /&gt;
* '''Login''' – username if your provider asks for it.&lt;br /&gt;
* '''Password''' – password used for authentication by your provider.&lt;br /&gt;
* '''Authenticate by IP''' – just check the checkbox (Login/Password can be left empty).&lt;br /&gt;
** Make sure you put the correct Hostname/[[IP address]]!&lt;br /&gt;
* '''Register''' – should we register the provider? (option is not visible when '''Dynamic''' is selected in '''Network related''' section)&lt;br /&gt;
* '''Register extension''' – if the provider asks to use an extension for registration (usually they don't), enter it here.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Provider CallerID ===&lt;br /&gt;
&lt;br /&gt;
'''CallerID''' – consists of two parts: Name and Number. The &amp;quot;Number&amp;quot; part is transferred by default on all technologies (GSM, PSTN, SIP etc), but the &amp;quot;Name&amp;quot; part only on some. The number you see on your mobile phone when someone is calling you is the &amp;quot;Number&amp;quot; part.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:provider_callerid.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Name''' – the &amp;quot;Name&amp;quot; part of CallerID.&lt;br /&gt;
* '''Number''' – the &amp;quot;Number&amp;quot; part of CallerID.&lt;br /&gt;
* '''Random Number from Number Pool''' – the &amp;quot;Number&amp;quot; part of CallerID selected from [[Number Pool]]&lt;br /&gt;
.&lt;br /&gt;
'''NOTE:''' If you have this configured all incoming call from this provider will have that CallerID.&lt;br /&gt;
If you leave these fields empty, calls coming from this provider will have CallerID set by the Provider. It should almost always be this way.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Network related ===&lt;br /&gt;
&lt;br /&gt;
* '''Hostname''' – hostname of the provider. Subnetting is supported.&lt;br /&gt;
* '''Server IP''' – the provider's IP. The value can be &amp;quot;dynamic&amp;quot;, which means that provider can change its IP. To discover this value, do ping to the provider's hostname.&lt;br /&gt;
* '''Port''' – port used to connect to the provider (default: 5060 for SIP, 4569 for IAX2, 1720 for H323).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
====H323 specific network settings====&lt;br /&gt;
&lt;br /&gt;
* '''Fast Start''' – an option specific to H323; it is either on or off.&lt;br /&gt;
* '''h245 Tunneling''' – an option specific to H323; it is either on or of&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
====SIP specific network settings====&lt;br /&gt;
&lt;br /&gt;
* '''Media control''' – canreinvite/transfer. Do you want your server to stay in the media path between your clients and your provider? Disable if you have a lot of 1-second answered calls.&lt;br /&gt;
* '''NAT''' – the available options are: yes, no, never, and route. For a detailed explanation of these settings, refer to [http://www.voip-info.org/wiki-Asterisk+sip+nat here].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
====IAX2 specific network settings====&lt;br /&gt;
&lt;br /&gt;
* '''IAX2 Trunking Mode''' – enable/disable trunking mode, which allows multiple voice streams to share a single &amp;quot;trunk&amp;quot; to another server, reducing overhead created by IP packets. More details [http://wiki.kolmisoft.com/index.php/Trunks here]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
====SIP and IAX2 specific network settings====&lt;br /&gt;
&lt;br /&gt;
* '''Qualify''' – how often to &amp;quot;ask&amp;quot; the provider about availability. More details [http://www.voip-info.org/wiki/view/Asterisk+sip+qualify here] for SIP providers and [http://www.voip-info.org/wiki/view/Asterisk+iax+qualify here] for IAX2 providers.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Servers ===&lt;br /&gt;
Allows to select on which Asterisk servers this provider should be used.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Codecs ===&lt;br /&gt;
&lt;br /&gt;
Choose the codecs your provider uses.&lt;br /&gt;
&lt;br /&gt;
NOTE: When no fields are checked, all codecs are available. ([[Image:asterisk_icon.png]] For example, settings in sip.conf or iax.conf are effective).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Advanced ===&lt;br /&gt;
&lt;br /&gt;
* '''Grace time''' – if call duration is less than &amp;lt;i&amp;gt;Grace Time&amp;lt;/i&amp;gt;, it will not be accounted.&lt;br /&gt;
* Progressinband:&lt;br /&gt;
**yes – when &amp;quot;RING&amp;quot; event is requested, always send 180 Ringing (if it hasn't been sent yet) followed by 183 Session Progress and in-band audio.&lt;br /&gt;
**no – send 180 Ringing if 183 has not yet been sent, establishing an audio path. If the audio path is established already (with 183), then send in-band ringing (this is the way Asterisk historically behaved because of buggy phones like Polycom's).&lt;br /&gt;
**never – whenever ringing occurs, send &amp;quot;180 ringing&amp;quot; as long as &amp;quot;200 OK&amp;quot; has not yet been sent. This is the default behavior of Asterisk.&lt;br /&gt;
* '''Video support''' – does your provider support Video over IP? More info [http://www.voip-info.org/wiki/view/Asterisk+video here].&lt;br /&gt;
* '''[[Duplicate call prevention | Allow duplicate calls]]''' – the default setting is &amp;quot;no&amp;quot;.&lt;br /&gt;
* '''Interpret NO ANSWER as FAILED''' – default option is no (This will change the provider in LCR like it is failed, in last calls you will see&lt;br /&gt;
the real hangupcause – no answer)&lt;br /&gt;
* '''Interpret BUSY as FAILED''' – default option is no (This will change the provider in LCR like it is failed, in last calls you will see&lt;br /&gt;
the real hangupcause – busy)&lt;br /&gt;
* '''Fake Ring''' – should system generate Fake Ring or not? Use only if your Device/Provider has bad protocol implementation and does not send RING signal properly.&lt;br /&gt;
* '''Common Use''' – Provider can be used by Resellers which are able to create their own Providers. Reseller will be billed using this Provider. If provider is marked as common use and is used in one of reseller's LCR or is in Terminators list - admin is not allowed to delete this provider or remove common use option.&lt;br /&gt;
* '''Anti-resale (Auto-answer)''' – when option is set to YES, MOR answers the call before sending it to provider in order to generate FAS.&lt;br /&gt;
* '''Transport''' – lets you choose protocol &amp;lt;nowiki&amp;gt;[tcp, udp]&amp;lt;/nowiki&amp;gt; for data transfer. Appears only if Provider is SIP and when Asterisk 1.8 is enabled. Default value: ''udp''.&lt;br /&gt;
* '''Time limit per day''' - Total time available for provider per day. When limit is reached another provider in LCR is used (total time is calculated after rounding rules and minimal time adjustment, so if your provider tariff has increment higher than 1 or minimal time set, then total provider time may be different than actual call time).&lt;br /&gt;
* '''Limit up to X, during Y seconds''' – you can set limit how many calls (X) can be done in some interval of seconds (Y). [[Last Calls]] will show '''FAILED([[Hangupcause Codes |243]])'''.&lt;br /&gt;
* '''Enforce same codec as on Leg A''' - this option takes effect only when Device/Provider is used as Terminator. When this option is enabled, system checks what codec is used on Leg A. Then if Leg A codec matches one of codec enabled on Codecs list, system enforces callee to use that codec, by offering only that single codec in SDP data.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== SIP Specific ===&lt;br /&gt;
&lt;br /&gt;
* '''Fromuser''' – [http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+fromuser  more details]&lt;br /&gt;
* '''Fromdomain''' – [http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+fromuser  more details]&lt;br /&gt;
* '''Trustrpid''' – This defines whether or not Remote-Party-ID is trusted. It's defined in http://tools.ietf.org/id/draft-ietf-sip-privacy-04.txt&lt;br /&gt;
* '''Sendrpid''' – defines whether a Remote-Party-ID SIP header should be sent. It defaults to &amp;quot;No&amp;quot;. This field is often used by wholesale VoIP providers to provide calling party identity regardless of the privacy settings (the From SIP header). &lt;br /&gt;
* '''Insecure''' – [http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+insecure  more details]&lt;br /&gt;
* '''T.38 Support''' – should we support T.38 pass-through?&lt;br /&gt;
* '''[[SIP 302 Reinvite Support]]''' – turns this SIP feature on or off. &lt;br /&gt;
* '''P-Asserted-Identity usage''' – The P-Asserted-Identity header field can be used to convey the proven identity of the originator of a request within a trusted network.&lt;br /&gt;
* '''Periodic check''' - Turns on or off functionality which disables provider if it is unreachable.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Debug===&lt;br /&gt;
&lt;br /&gt;
* '''Save Call Log''' – when this option is enabled you can access Call info information in last calls page.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[H323 Provider settings]]&lt;br /&gt;
* [[Quick Providers changes]]&lt;br /&gt;
* [[Providers Statistics]]&lt;br /&gt;
* [[NO ANSWER/BUSY interpretation for providers]]&lt;br /&gt;
* [[I have a problem with Provider]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_GUI_Translation&amp;diff=19607</id>
		<title>MOR GUI Translation</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_GUI_Translation&amp;diff=19607"/>
		<updated>2015-06-11T05:13:50Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* If you want to translate MOR into another language, it's very easy */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==MOR is translated into the following languages==&lt;br /&gt;
&lt;br /&gt;
* English (Kolmisoft)&lt;br /&gt;
* Lithuanian (Kolmisoft)&lt;br /&gt;
* Spanish (Guillermo Salas M.(RazaMetaL)/Cesar Bermudez)&lt;br /&gt;
* Dutch (Pascal de Vos/Kay Reijnen)&lt;br /&gt;
* Italian (Giovanni Bosa)&lt;br /&gt;
* Albanian (Sokol Shehetila)&lt;br /&gt;
* Russian (ViPCall Network)&lt;br /&gt;
* Brazilian Portuguese (Fernando Soares)&lt;br /&gt;
* Estonian (Liivar Paas)&lt;br /&gt;
* Bulgarian (HemuZ.org)&lt;br /&gt;
* Swedish (VoIP Consult)&lt;br /&gt;
* German (Martin Melheritz)&lt;br /&gt;
* Armenian (Voipshop)&lt;br /&gt;
* French (Sébastien Keller)&lt;br /&gt;
* Polish (John)&lt;br /&gt;
* Romanian (Andrei Ivanoiu)&lt;br /&gt;
* Turkish (Koko Kokov)&lt;br /&gt;
* Indonesian (Dedi Setiawan/www.clarisense.co.id)&lt;br /&gt;
* Hungarian (John)&lt;br /&gt;
* Slovenian (Tom)&lt;br /&gt;
* Greek (Konstantinos Liadakis)&lt;br /&gt;
* Serbian (Alessandro Marzini and Ivex)&lt;br /&gt;
* Arabic (Amr Elgbaly)&lt;br /&gt;
* Macedonian (Ivo Trajkovski)&lt;br /&gt;
* Belarussian (Zhukov Oleg &amp;amp; Ko)&lt;br /&gt;
* Chinese (Steven Wang)&lt;br /&gt;
* Urdu (Andrew T. Wells)&lt;br /&gt;
* Ukrainian (Kontekst.net)&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
==If you want to translate MOR into another language, it's very easy==&lt;br /&gt;
&lt;br /&gt;
# Download the MOR package or even better request the newest translation files from info@kolmisoft.com. This email address is protected from spam bots - you need Javascript enabled to view it.&lt;br /&gt;
# Find /lang directory (if MOR is installed, it's in '''/home/mor/lang'''). '''NOTE!''' From MOR X5 language files moved to '''/home/mor/config/locales'''.&lt;br /&gt;
# Make a copy of a en.rb file and name it accordingly. For example, if you are translating to Russian, name the file ru.rb (if you know another already translated language, select the appropriate file).&lt;br /&gt;
# Open that file in editor.&lt;br /&gt;
# Translate according to following rule:&lt;br /&gt;
# Let's say we have the line:&lt;br /&gt;
# l.store 'answered_calls', 'Answered calls'.&lt;br /&gt;
# So you need to translate only 'Answered calls'.&lt;br /&gt;
# Let's say we are translating to Norwegian, so the final line would be:&lt;br /&gt;
# l.store 'answered_calls', 'Besvarte Anrop'.&lt;br /&gt;
# Translate all remaining lines.&lt;br /&gt;
# '''Make file UTF-8 Standard.'''&lt;br /&gt;
# Please send it to info@kolmisoft.com. This email address is protected from spam bots - you need Javascript enabled to view it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to test your new translated file, you need to take the following steps:&lt;br /&gt;
&lt;br /&gt;
* Make sure your new translated file is in /home/mor/config/locales directory (for MOR X4 and older: /home/mor/lang).&lt;br /&gt;
* Restart Apache (/etc/init.d/httpd restart) and you should be able to test your translated file: go to SETTINGS -&amp;gt; Setup -&amp;gt; Settings -&amp;gt; Translations to find it).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you for your contributions!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Translations]]&lt;br /&gt;
* [[Change flag for translation]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Configuration_from_GUI&amp;diff=19585</id>
		<title>Configuration from GUI</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Configuration_from_GUI&amp;diff=19585"/>
		<updated>2015-06-03T12:50:22Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Where I can find this settings menu?=&lt;br /&gt;
&lt;br /&gt;
You can find this menu in '''SETTINGS –&amp;gt; Setup –&amp;gt; Settings'''&lt;br /&gt;
&lt;br /&gt;
[[File:Settings_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Global ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; [[Global_Settings | Global]]'''&lt;br /&gt;
&lt;br /&gt;
* '''Company''' – name of the company.&lt;br /&gt;
* '''Company email''' – email address of the company.&lt;br /&gt;
* '''Version''' – version number.&lt;br /&gt;
* '''Copyright Title''' – copyright title supports html text format.&lt;br /&gt;
* '''Browser Title''' – browser title for MOR GUI.&lt;br /&gt;
* '''Front Page Text''' – some text to place on front page.&lt;br /&gt;
* '''Login Page Text''' – some text to place on login page&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Registration == &lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Registration'''&lt;br /&gt;
&lt;br /&gt;
* '''Enabled?''' – do we want to let users [[Online registration | register online]] automatically?&lt;br /&gt;
* '''Hide registration link in Login page?''' – tick this option if you do not want users to be able to register online.&lt;br /&gt;
* '''Default country'''&lt;br /&gt;
* '''Asterisk server IP''' – what IP should user connect his softphone/server to?&lt;br /&gt;
* '''Send email to user after registration''' – just yes or no.&lt;br /&gt;
* '''Send email to admin after registration''' – just yes or no.&lt;br /&gt;
* '''[[ReCAPTCHA]] configuration'''&lt;br /&gt;
* '''[[User_Agreement|Terms and conditions]]'''&lt;br /&gt;
* '''Allow to create user and device with matching username and password''' – just yes or no. If this setting is not enabled - username and password from MOR GUI will have to be different than device's username and password.&lt;br /&gt;
* '''Enable VAT checking for EU companies''' – you can choose whether to check '''TAX Registration Number:''' during the [[Online registration]] or not. Done over [http://ec.europa.eu/taxation_customs/vies/?locale=lt EU page].&lt;br /&gt;
* '''Allow blank VAT for EU companies''' – allows to leave blank '''TAX Registration Number:''' field during the [[Online registration]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
* [[Default user]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Invoices ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Invoices'''&lt;br /&gt;
&lt;br /&gt;
Invoice configuration is divided into '''Prepaid''' and '''Postpaid'''. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Settings ===&lt;br /&gt;
&lt;br /&gt;
* '''Number start''' – how the invoice number should start.&lt;br /&gt;
* '''Number length''' – the length in digits AFTER Number Start – e.g. Number Start is not counted into this length. This value is active only for first number type.&lt;br /&gt;
* '''Number type''' – select more appropriate number format.&lt;br /&gt;
* '''Invoice period start''' – when invoices are issued, default is first day of the month.&lt;br /&gt;
* '''Show calls in detailed invoice''' – yes or no.&lt;br /&gt;
* '''[[Outstanding balance(Debt) | Show balance line]]''' – shows balance line in Invoice PDF files when Invoice is generated from first day of month till last one. &lt;br /&gt;
* '''Round finals to 2 decimals''' – round or not total in Invoices to 2 decimals.&lt;br /&gt;
* '''Use short file name'''&lt;br /&gt;
* '''Invoice Page Limit:''' – invoice will be generated till this page limit. Additional page is added with an explanation that page limit was reached. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Details ===&lt;br /&gt;
&lt;br /&gt;
* '''Address format''' – changes field positioning in the invoice for the address. You must select it in order to show address in the invoice. &lt;br /&gt;
* '''Address line 1-4''' – address info.&lt;br /&gt;
* '''Bank details line 1-5''' – bank details info.&lt;br /&gt;
* '''Invoice balance line''' – line for balance (e.g. &amp;quot;Your current balance is&amp;quot;)&lt;br /&gt;
* '''Invoice to pay Line'''&lt;br /&gt;
* '''End title''' – a title for the end of your invoice.&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 12---&amp;gt;&lt;br /&gt;
* '''Add Average rate in detailed invoice''' – adds average rate in detailed invoice.&lt;br /&gt;
* '''Show Time in Minute''' – shows time in mm:ss instead of hh:mm:ss, for example, not 02:13:42 but 133:42.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional ===&lt;br /&gt;
&lt;br /&gt;
* '''Show additional details on separate page''' – enables additional custom page at the end of the invoice.&lt;br /&gt;
* '''Additional details''' – the information to be displayed in a custom page at the end of the invoice.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Functionality ===&lt;br /&gt;
&lt;br /&gt;
* '''Invoice allow recalculate after send''' – allows recalculating invoices after being sent.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
* [[Invoices]]&lt;br /&gt;
* [[Invoice configuration]]&lt;br /&gt;
* [[Invoices (MOR X6)]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Emails ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Emails'''&lt;br /&gt;
&lt;br /&gt;
* ''' 	Sending globally enabled''' – if this is checked, you will be able to use Mass Mailing and the system will send emails upon user registration.&lt;br /&gt;
* '''SMTP server''' – hostname of the server.&lt;br /&gt;
* '''Port''' – port of SMTP server.&lt;br /&gt;
* '''Login''' – username to your SMTP server.&lt;br /&gt;
* '''Password''' – password to your SMTP server.&lt;br /&gt;
* '''Batch size''' – value for Mass Mailing, or how many emails to send at once.&lt;br /&gt;
* '''From''' – email address to put into From: field in email. It is required to fill in(correctly) this field if email sending is enabled.&lt;br /&gt;
* '''Test email sending''' – save settings and press this to test email sending. Do not forget to save settings first!&lt;br /&gt;
&lt;br /&gt;
'''P.S. Remember to set admin's e-mail in admin's personal settings. Without this test email sending will not work!'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
* [[Emails|Mass Emails]]&lt;br /&gt;
* [[Email variables]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Various ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Various'''&lt;br /&gt;
&lt;br /&gt;
* '''Days for DID to close''' – how long to keep DID closed before making it free.&lt;br /&gt;
* '''Agreement number length''' – number length in digits.&lt;br /&gt;
* '''Change dahdi''' – Sometimes this is used to change &amp;quot;Zap&amp;quot; to something else in GUI, e.g. to &amp;quot;PSTN&amp;quot;, mainly because not everybody knows what Zap stands for. PSTN is more common.&lt;br /&gt;
* '''Device PIN length''' – length for automatically generated PIN codes for devices.&lt;br /&gt;
* '''Device range MIN''' – from which extension automatic extension assigning starts.&lt;br /&gt;
* '''Device range MAX''' – till which extension automatic extension assigning goes.&lt;br /&gt;
** For example, from this interval: [Device range MIN, Device range MAX] MOR will select extensions for newly created Devices.&lt;br /&gt;
* '''Enable &amp;quot;Allowed addresses&amp;quot; option for Devices:'''  – allows [[Device_settings#Allowed_Addresses | Allowed Addresses]] functionality in Devices settings.&lt;br /&gt;
* '''Enable &amp;quot;Allowed addresses&amp;quot; option for Providers:''' – allows Allowed Addresses functionality in Providers settings.&lt;br /&gt;
* '''User wholesale tariff enabled''' – enables user wholesale tariffs.&lt;br /&gt;
* '''Play IVR for unauthenticated call'''&lt;br /&gt;
* '''Banned CLIs default IVR''' – default IVR to route banned numbers.&lt;br /&gt;
* '''Do not allow duplicate device user names'''&lt;br /&gt;
* '''Do not allow users to change their email addresses'''&lt;br /&gt;
* '''Allow short passwords in devices'''&lt;br /&gt;
* '''Logout link''' – a user will be redirected to this link after pressing &amp;quot;Logout&amp;quot;&lt;br /&gt;
* '''Change ANSWER to FAILED if HGC not equal to 16 for Users''' – changes the Hangupcause for users in call reports from Answered to Failed if Hangupcause is not 16.&lt;br /&gt;
* '''Archive Calls older than''' – how old Calls should be archived?&lt;br /&gt;
* '''Archive Calls every day at''' – when Calls should be archive process started?&lt;br /&gt;
* '''Stop Archiving Calls at''' – when Calls should be archive process stopped ?&lt;br /&gt;
* '''Show Usernames on PDF/CSV Export Files in Last Calls''' – if checked, when particular User in Last Calls page search is selected, Last Calls PDF/CSV file name will be composed also from Name of selected User. If you are looking for All Users, no User Name will be used. (Name of User will be shown in Name of CSV/PDF file).&lt;br /&gt;
* '''Do not allow PREPAID User balance drop below zero (block them instead)'''&lt;br /&gt;
&amp;lt;!---from X5---&amp;gt;&lt;br /&gt;
* '''Do not block POSTPAID User when balance goes bellow zero on subscription count'''&lt;br /&gt;
* '''Allow identical email addresses to different Users''' – allows to create Users or Register users with identical email addresses. After checking this setting you will be not able to check '''Show forgot password''', because this functionality require unique email in all system. Setting can be unchecked if all emails are unique in system. &lt;br /&gt;
* '''Allow same IP and Port combinations in multiple Devices''' – allows to create Devices with the same IP and Port combination.&lt;br /&gt;
* '''Server free space limit''' – indicator when system should inform admin about low [[Multi_Server_support|server]] space. By default 20%. Notice will appear in [[Integrity Check]] and every hour will be send an email &amp;quot;Server low free space&amp;quot; template which can be found and edited in [[Emails]] page.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Tax ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Tax'''&lt;br /&gt;
&lt;br /&gt;
Settings are explained here: [[Multi-Tax system]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Backups ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Backups'''&lt;br /&gt;
&lt;br /&gt;
Configuration is explained here: [[Backup system]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== API ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; API'''&lt;br /&gt;
&lt;br /&gt;
* '''Allow API''' – enable/disable API.&lt;br /&gt;
* '''Allow GET API''' – enable/disable GET in API - use only for testing!&lt;br /&gt;
* '''API Secret Key''' – secret key for API. This will be used as a password for signing queries to MOR API, check [[MOR_API | MOR API documentation]] for more information&lt;br /&gt;
* '''XML API Extension''' – .NET does not follow standards (surprise!); enable this setting if you are using it to get XML starting with HTTP tags.&lt;br /&gt;
* '''Allow API Login Redirect''' – enable/disable&lt;br /&gt;
* '''API allow registration''' – enable/disable registration through API&lt;br /&gt;
* '''API allow Payments''' – enable/disable payments through API&lt;br /&gt;
* '''API Payment confirmation''' – enable/disable payments confirmation through API&lt;br /&gt;
* '''[[Balance_in_phone|Allow devices to check balance over HTTP]]''' – enable/disable device balance checking&lt;br /&gt;
* '''[[MOR_API_rate_get|Allow devices to check rate over HTTP]]''' – enable/disable device rate checking&lt;br /&gt;
* '''Disable hash checking''' – lets you skip hash parameter using API&lt;br /&gt;
* '''Uniquehash''' – shows your uniquehash &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===See also===&lt;br /&gt;
&lt;br /&gt;
[[MOR API]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Functionality ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Functionality'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===FAX===&lt;br /&gt;
&lt;br /&gt;
* '''Fax device enabled''' – enable/disable Fax device in MOR. When admin enables FAX, Functionality tab appears in Reseller's GUI configuration. He can then enable or disabled fax for his own users himself. &lt;br /&gt;
* '''Fax2Email From Sender''' – there is a field &amp;quot;From:&amp;quot; in an email form. When MOR sends Fax to Email, &amp;quot;Fax2Email From Sender&amp;quot; value is displayed in &amp;quot;From:&amp;quot; field.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===CSV===&lt;br /&gt;
&lt;br /&gt;
* '''CSV Column Separator''' – how columns are separated in imported/exported CSV files.&lt;br /&gt;
* '''CSV Decimal Separator''' – how decimal parts in numbers are separated in imported/exported CSV files.&lt;br /&gt;
* ''' Archive CSV file when size reaches''' – if CSV file reaches a certain size, the system will archive it to save time to download it (0 means to archive always)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Active Calls===&lt;br /&gt;
&lt;br /&gt;
* '''How many maximum [[Active_Calls|Active Calls]] to show in GUI''' – how many [[Active_Calls| Active Calls]] to show in GUI&lt;br /&gt;
* '''[[Active_Calls| Active Calls]] refresh interval''' – [[Active_Calls|Active Calls]] refresh interval in seconds&lt;br /&gt;
* '''Show [[Active_Calls|Active Calls]] for Users''' – tick if you want to allow users to see [[Active_Calls|Active Calls]]&lt;br /&gt;
* '''Show Servers in [[Active_Calls|Active Calls]]'''&lt;br /&gt;
* '''Show DIDs in [[Active_Calls|Active Calls]]'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Tariffs/Rates===&lt;br /&gt;
&lt;br /&gt;
* '''Show rates for users''' – allows users to see rates&lt;br /&gt;
* '''Show rates without Tax''' – shows rates without TAX&lt;br /&gt;
* '''Show [[Advanced_Rates|Advanced Rates]] for users''' – allows users to see [[Advanced_Rates|Advanced Rates]]&lt;br /&gt;
* '''Show zero rates in LCR tariff export:''' – shows zero rates in LCR tariff exported file.&lt;br /&gt;
NOTE: if [[Custom Rates]] and/or Tariff Rates are set for the user, only the custom rates will be shown in the details of destination rates. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Privacy==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Privacy'''&lt;br /&gt;
&lt;br /&gt;
Settings are explained here: [[Privacy_to_hide_Destination_ends|Privacy to hide Destination ends]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
== Visual ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Visual'''&lt;br /&gt;
&lt;br /&gt;
* '''Items per page''' – the number of items to display per one page&lt;br /&gt;
* '''[[Global_date_format| Default date format]]''' – System default date format&lt;br /&gt;
* '''Default Time Format''' – System default time format&lt;br /&gt;
* '''Number digits''' – how many digits to display after a comma&lt;br /&gt;
* '''Hide Quick Stats in Start page''' – hide Quick stats from start page&lt;br /&gt;
* '''Hide device passwords for users''' – do not display device passwords for users&lt;br /&gt;
* '''Hide HELP banner''' – hide HELP banner in GUI&lt;br /&gt;
* '''Hide &amp;quot;I want to&amp;quot; help links'''&lt;br /&gt;
* '''[[Remove_Manual_link_from_admin_GUI|Hide &amp;quot;Manual&amp;quot; link]]''' – hides &amp;quot;Manual&amp;quot; link&lt;br /&gt;
* '''Show logo on first page''' - untick to hide logo on the start page&lt;br /&gt;
* '''Show Full Source (CallerID Name and Number)'''&lt;br /&gt;
* '''Hide payment options for postpaid users''' - will hide the payment option for all postpaid users (including Resellers if they are postpaid).&lt;br /&gt;
* '''Hide non-completed payments for user''' – hides non-completed payments (the ones which are started in MOR, but are not completed in a payment gateway website)&lt;br /&gt;
* '''Show only main page''' – this is a very advanced feature for those who want to hide default MOR menu tree on the left so that they could build their own menu using advanced techniques without modifying MOR GUI sources.&lt;br /&gt;
* '''Show forgot password''' – turns on '''[[MOR_forgot_user_password | Forgot password]]''' functionality.&lt;br /&gt;
* '''Hide Recordings for all users''' – hides recordings for all system users from menu and device settings.&lt;br /&gt;
* '''Show recordings with zero billsec''' – shows recordings with zero billsec&lt;br /&gt;
* '''[[Last_Calls#Faster_Page_Loading|Count Last Calls total values only after click]]''' – select to load Total Values lines separately in order to dramatically improve Last calls and Old calls loading time. &lt;br /&gt;
* '''Default Number Decimal''' – with this option you can set default number decimal for all GUI&lt;br /&gt;
* '''Show user_billsec for Users instead of billsec''' – shows user_billsec instead of billsec in Users invoices and last calls.&lt;br /&gt;
&amp;lt;!--- from X5---&amp;gt;&lt;br /&gt;
* '''Show Calls statistics to User for last''' – number of Calls statistics to show in days. For example, if you enter 5 days, users will only see 5 days old calls, they will not be able to check older calls.  &lt;br /&gt;
* '''Show Device and it's CallerID in Last Calls''' – shows additional column in [[Last Calls]] page with Device and its CallerID information. Click to reach that Device settings page. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Server load ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Server load'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Settings for GUI Server and Database Server&lt;br /&gt;
&lt;br /&gt;
* '''HDD utilisation higher than''' – Percentage of CPU time during which I/O requests were issued to the device (bandwidth utilization for the device).&lt;br /&gt;
* '''CPU General Load higher than''' – CPU General load higher than – Percentage of the CPU for user processes.&lt;br /&gt;
* '''CPU Load Stats 1 higher than''' – average load per one minute on the system&lt;br /&gt;
* '''CPU MySQL process higher than''' –  Percentage of the CPU for MySQL process&lt;br /&gt;
* '''CPU Ruby process higher than''' –  Percentage of the CPU for Ruby process&lt;br /&gt;
* '''CPU Asterisk process (if present) higher than''' – Percentage of the CPU for Asterisk process&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Delete Server Load Stats older than''' – deletes internal servers load statistics older than defined number of days.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Server is overloaded]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_user_balance_get&amp;diff=19532</id>
		<title>MOR API user balance get</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_user_balance_get&amp;diff=19532"/>
		<updated>2015-05-18T13:50:25Z</updated>

		<summary type="html">&lt;p&gt;Rita: /* Request */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!---This functionality is available from MOR 10, but was also backported to MOR 9---&amp;gt; &lt;br /&gt;
=Description=&lt;br /&gt;
This feature enables you to check the balance over http.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Configuration=&lt;br /&gt;
&lt;br /&gt;
1. Go to '''SETTINGS –&amp;gt; Setup –&amp;gt; Settings'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
[[File:settings_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 12---&amp;gt;&lt;br /&gt;
2. In API tab check the marked option:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Settings_various_balance_over_http.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* From '''MOR X4''' call: '''/api/user_balance_get'''&lt;br /&gt;
* For Backwards-compatibility old name 'balance' is also usable. Call: '''/api/balance'''&lt;br /&gt;
* Methods: POST, GET(if allowed, not recomended)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Parametres===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash(if it is used):&lt;br /&gt;
&lt;br /&gt;
* username – username of user whose balance you want to get. '''Required'''.&lt;br /&gt;
* currency – currency code or value USER in which case balance will be returned in user's currency. '''Optional'''. &lt;br /&gt;
&lt;br /&gt;
'''Note that parameters are shown in the same order as they have to be when generating the hash. Last parameter in a row is API_Secret_Key'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Parameters which are '''not included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* [[MOR API hash construction | hash]] - SHA1 hash constructed using parameters above and API_Secret_Key ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&lt;br /&gt;
* user_currency = 1 –  in this case balance will be returned in user's currency with name of users currency. '''Optional'''. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE''' Without '''currency''' or '''user_currency''' parameters API request will return Balance in [[Currencies#Default_Currency|Default System Currency]]. If user_currency is used currency parameter will be ignored.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have username=USERNAME, API Secret Key = secret&lt;br /&gt;
&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/user_balance_get?username=USERNAME&amp;amp;hash=79e75e75f9cd6821e7b661250a45294b4579f262&lt;br /&gt;
&lt;br /&gt;
Optionaly you can specify currency, valid values are USER, in that case balance is returned in user's currency. And currency code(EUR, USD etc.) &lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/user_balance_get?username=USERNAME&amp;amp;currency={USER|CURRENCY_CODE}&amp;amp;hash=79e75e75f9cd6821e7j5h89f6a45294b45g8u9f5&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success''' returns balance of user.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
   &amp;lt;balance&amp;gt; user balance &amp;lt;/balance&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With user_currency = 1 parameter.&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
   &amp;lt;balance&amp;gt; user balance &amp;lt;/balance&amp;gt;&lt;br /&gt;
   &amp;lt;currency&amp;gt; user currency &amp;lt;/currency&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Errors'''&lt;br /&gt;
&lt;br /&gt;
When hash is incorrect.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;status&amp;gt;&lt;br /&gt;
   &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt;&lt;br /&gt;
 &amp;lt;/status&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When user is not found.&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
   &amp;lt;error&amp;gt;User was not found&amp;lt;/error&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When feature is off.&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
   &amp;lt;error&amp;gt;Feature disabled&amp;lt;/error&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See Also=&lt;br /&gt;
&lt;br /&gt;
* [[MOR API]]&lt;/div&gt;</summary>
		<author><name>Rita</name></author>
	</entry>
</feed>