<?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=Aisteb</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=Aisteb"/>
	<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php/Special:Contributions/Aisteb"/>
	<updated>2026-05-04T10:05:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=M4_Quick_Stats&amp;diff=20705</id>
		<title>M4 Quick Stats</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=M4_Quick_Stats&amp;diff=20705"/>
		<updated>2016-03-01T20:00:17Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Quick Stats lets you follow your incomes statistics of current month, current day and real time (Active Calls).&lt;br /&gt;
&lt;br /&gt;
These are stats for all Calls made in the system in mentioned periods:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:m2_admin_quick_stats.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Also uptime stats are shown for active servers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---Admin calls are counted same way as user calls, i.e. profit from then = user price - provider price.---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click on the Active Calls value to go to the '''Active Calls''' page for more details.&amp;lt;br&amp;gt;&lt;br /&gt;
Click on the Calls value to go to the '''Last Calls''' page for more details.&amp;lt;br&amp;gt;&lt;br /&gt;
Hold mouse pointer over chosen server line for more details.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See Also=&lt;br /&gt;
&lt;br /&gt;
* [[Active Calls]]&lt;br /&gt;
* [[Last Calls]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:M2_admin_quick_stats.png&amp;diff=20704</id>
		<title>File:M2 admin quick stats.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:M2_admin_quick_stats.png&amp;diff=20704"/>
		<updated>2016-03-01T19:58:49Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: uploaded a new version of &amp;quot;File:M2 admin quick stats.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Admin_quick_stats.png&amp;diff=20703</id>
		<title>File:Admin quick stats.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Admin_quick_stats.png&amp;diff=20703"/>
		<updated>2016-03-01T19:57:54Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: uploaded a new version of &amp;quot;File:Admin quick stats.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:M2_old_calls_in_file.png&amp;diff=20688</id>
		<title>File:M2 old calls in file.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:M2_old_calls_in_file.png&amp;diff=20688"/>
		<updated>2016-02-26T13:49:12Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Archived_Calls_in_Files&amp;diff=20685</id>
		<title>Archived Calls in Files</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Archived_Calls_in_Files&amp;diff=20685"/>
		<updated>2016-02-26T13:31:30Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
&lt;br /&gt;
[[Archived calls]] functionality helps to increase system stability, reliability and speed. Calls archivation into file allows to avoid growing database and lets to use archived calls data mor flexible.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
==Settings==&lt;br /&gt;
&lt;br /&gt;
Archiving options can be set in '''SETTINGS -&amp;gt; Setup -&amp;gt; Settings -&amp;gt; Calls''' tab:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:archived_calls_settings.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If ''Archive to File (TGZ)'' option is enabled, Calls will be archived to CSV files (max 50000 lines per file), then compressed to TGZ and stored in your Backup storage directory (http://wiki.kolmisoft.com/index.php/Backup_system#Configuration).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Files==&lt;br /&gt;
&lt;br /&gt;
Files with calls can be found at '''STATISTICS –&amp;gt; Calls –&amp;gt; Archived Calls -&amp;gt; Files'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:old_calls_in_file.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE''' Files can be reached and managed by '''admin''' only.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Bulk management===&lt;br /&gt;
&lt;br /&gt;
Files can be deleted one by one with click on [[Image:icon_delete.png]] icon in files list or few at a time by selecting period in [[image:icon_edit.png]]'''Bulk management'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:old_calls_in_file_bulk_management.png]]&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;
* [[Archived calls]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Old_calls_in_file_bulk_management.png&amp;diff=20684</id>
		<title>File:Old calls in file bulk management.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Old_calls_in_file_bulk_management.png&amp;diff=20684"/>
		<updated>2016-02-26T13:30:57Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Archived_Calls_in_Files&amp;diff=20683</id>
		<title>Archived Calls in Files</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Archived_Calls_in_Files&amp;diff=20683"/>
		<updated>2016-02-26T13:30:08Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
&lt;br /&gt;
[[Archived calls]] functionality helps to increase system stability, reliability and speed. Calls archivation into file allows to avoid growing database and lets to use archived calls data mor flexible.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
==Settings==&lt;br /&gt;
&lt;br /&gt;
Archiving options can be set in '''SETTINGS -&amp;gt; Setup -&amp;gt; Settings -&amp;gt; Calls''' tab:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:archived_calls_settings.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If ''Archive to File (TGZ)'' option is enabled, Calls will be archived to CSV files (max 50000 lines per file), then compressed to TGZ and stored in your Backup storage directory (http://wiki.kolmisoft.com/index.php/Backup_system#Configuration).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Files==&lt;br /&gt;
&lt;br /&gt;
Files with calls can be found '''STATISTICS –&amp;gt; Calls –&amp;gt; Archived Calls -&amp;gt; Files'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:old_calls_in_file.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE''' Files can be reached and managed by '''admin''' only.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Bulk management===&lt;br /&gt;
&lt;br /&gt;
Files can be deleted one by one with click on [[Image:icon_delete.png]] icon in files list or few at a time by selecting period in [[image:icon_edit.png]]'''Bulk management'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:old_calls_in_file_bulk_management.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
* [[Archived calls]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Old_calls_in_file.png&amp;diff=20682</id>
		<title>File:Old calls in file.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Old_calls_in_file.png&amp;diff=20682"/>
		<updated>2016-02-26T13:18:16Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Archived_Calls_in_Files&amp;diff=20681</id>
		<title>Archived Calls in Files</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Archived_Calls_in_Files&amp;diff=20681"/>
		<updated>2016-02-26T13:16:01Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: Created page with '=Description=  Archived calls functionality helps to increase system stability, reliability and speed. Calls archivation into file allows to avoid growing database and lets t…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
&lt;br /&gt;
[[Archived calls]] functionality helps to increase system stability, reliability and speed. Calls archivation into file allows to avoid growing database and lets to use archived calls data mor flexible.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
==Settings==&lt;br /&gt;
&lt;br /&gt;
Archiving options can be set in '''SETTINGS -&amp;gt; Setup -&amp;gt; Settings -&amp;gt; Calls''' tab:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:archived_calls_settings.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If ''Archive to File (TGZ)'' option is enabled, Calls will be archived to CSV files (max 50000 lines per file), then compressed to TGZ and stored in your Backup storage directory (http://wiki.kolmisoft.com/index.php/Backup_system#Configuration).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Files==&lt;br /&gt;
&lt;br /&gt;
Files with calls can be found '''STATISTICS –&amp;gt; Calls –&amp;gt; Archived Calls -&amp;gt; Files'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:old_calls_in_file.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE''' Files can be reached and managed by '''admin''' only.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
* [[Archived calls]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Archived_calls&amp;diff=20680</id>
		<title>Archived calls</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Archived_calls&amp;diff=20680"/>
		<updated>2016-02-26T12:56:34Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
&lt;br /&gt;
When there are many old calls that are no longer useful, they can be archived and moved to other place.  &lt;br /&gt;
&lt;br /&gt;
Such house-keeping increases system stability, reliability and speed. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
==Settings==&lt;br /&gt;
&lt;br /&gt;
Archiving options can be set in '''SETTINGS -&amp;gt; Setup -&amp;gt; Settings -&amp;gt; Calls''' tab:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:archived_calls_settings.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Archive to''' - choose where to store Archived Calls. By default Archived Calls are stored in another MySQL table ''mor.calls_old''. You can also choose to store [[Archived Calls in Files |Archived Calls in compressed CSV files]] by selecting ''File (TGZ)'' option. If ''File (TGZ)'' option is enabled, Calls will be archived to CSV files (max 50000 lines per file), then compressed to TGZ and stored in your Backup storage directory (http://wiki.kolmisoft.com/index.php/Backup_system#Configuration).&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Archive Calls older than''' – this is the number of days. When Call is older than the number you set, it will be archived and moved to Archived Calls.&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Archive only ANSWERED calls''' – check to archive only answered Calls. Failed, Busy and No Answer Calls will be deleted.&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Archive Calls every day at''' – when archiving process should be started? Call archiving requires a lot of system resources therefore it is advisable to start archiving when call traffic is low.&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Stop Archiving Calls at''' – when archiving process should be stopped? If is advisable to stop archiving before call traffic is increased. If time is not specified, Call archiving will be stopped when all Calls are archived.&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Delete Calls instead of Archiving''' - if you don't need Calls older than X days, you can delete them instead of archive.&amp;lt;br&amp;gt;&lt;br /&gt;
* '''Delete Archived Calls older than''' - this is the number of days. When '''archived''' Call is older than the number you set, it will be deleted.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''NOTE''': you can check the completion of calls archiving process and other information in [[Background_Tasks| Background Tasks]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Archived Calls==&lt;br /&gt;
&lt;br /&gt;
If calls are stored in another MySQL table ''mor.calls_old'' it can be found at '''STATISTICS –&amp;gt; Calls –&amp;gt; Archived Calls'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:old-calls.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you can see similar table to Last Calls, so you can check calls information at anytime you want. You can find more information about each field in [[Last Calls]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''NOTE''' Simple Users cannot see Archived Calls page.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= See also = &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--* Call Rerating--&amp;gt;&lt;br /&gt;
* [[Background_Tasks| Background Task]]&lt;br /&gt;
* [[Archived Calls in Files]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Call_list&amp;diff=20644</id>
		<title>Call list</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Call_list&amp;diff=20644"/>
		<updated>2016-02-18T08:10:29Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Go 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;
In window below click on the [[Image:icon_calls.png]] to see [[Last Calls]] of selected User.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Users_path_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Last Calls]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=M4_Quick_Stats&amp;diff=20632</id>
		<title>M4 Quick Stats</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=M4_Quick_Stats&amp;diff=20632"/>
		<updated>2016-02-17T07:48:40Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Quick Stats lets you follow your incomes statistics of current month, current day and real time (Active Calls).&lt;br /&gt;
&lt;br /&gt;
These are stats for all Calls made in the system in mentioned periods:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:m2_admin_quick_stats.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---Admin calls are counted same way as user calls, i.e. profit from then = user price - provider price.---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click on the Active Calls value to go to the '''Active Calls''' page for more details.&amp;lt;br&amp;gt;&lt;br /&gt;
Click on the Calls value to go to the '''Last Calls''' page for more details.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See Also=&lt;br /&gt;
&lt;br /&gt;
* [[Active Calls]]&lt;br /&gt;
* [[Last Calls]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=M4_Quick_Stats&amp;diff=20631</id>
		<title>M4 Quick Stats</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=M4_Quick_Stats&amp;diff=20631"/>
		<updated>2016-02-17T07:46:50Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: Created page with 'Quick Stats lets you follow your incomes statistics of current month, current day and real time (Active Calls).  These are stats for all Calls made in the system in mentioned per…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Quick Stats lets you follow your incomes statistics of current month, current day and real time (Active Calls).&lt;br /&gt;
&lt;br /&gt;
These are stats for all Calls made in the system in mentioned periods:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:m2_admin_quick_stats.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---Admin calls are counted same way as user calls, i.e. profit from then = user price - provider price.---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click on the Active Calls value to go to the '''Active Calls''' page for more details.&amp;lt;br&amp;gt;&lt;br /&gt;
Click on the Calls value to go to the '''Last Calls''' page for more details.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:M2_admin_quick_stats.png&amp;diff=20630</id>
		<title>File:M2 admin quick stats.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:M2_admin_quick_stats.png&amp;diff=20630"/>
		<updated>2016-02-17T07:46:34Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=M4_API_quickstats_get&amp;diff=20619</id>
		<title>M4 API quickstats get</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=M4_API_quickstats_get&amp;diff=20619"/>
		<updated>2016-02-11T17:26:21Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
&lt;br /&gt;
Retrieves today's [[Quick Stats]] and [[Active Calls]] count&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Data can be retrieved by '''Admin''' only&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* '''M2''' call: '''/api/quickstats_get'''&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;
===Parameters===  &lt;br /&gt;
&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''' (if setting '''Disable hash checking''' is not checked). &lt;br /&gt;
* u - username  for authentication. '''Required'''. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
If API Secret Key = secret&lt;br /&gt;
&lt;br /&gt;
You send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/quickstats_get?u=admin&amp;amp;hash=e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4&lt;br /&gt;
&lt;br /&gt;
'''* Note that username (u) is not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success:''' Everything is ok. You get the list of calls if there is any:&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;quickstats&amp;gt;&lt;br /&gt;
    &amp;lt;today&amp;gt;&lt;br /&gt;
      &amp;lt;calls&amp;gt; Calls count &amp;lt;/calls&amp;gt;&lt;br /&gt;
      &amp;lt;duration&amp;gt; billsec in seconds &amp;lt;/duration&amp;gt;&lt;br /&gt;
      &amp;lt;revenue&amp;gt; revenue today&amp;lt;/revenue&amp;gt;&lt;br /&gt;
      &amp;lt;self_cost&amp;gt; expenditure today&amp;lt;/self_cost&amp;gt;&lt;br /&gt;
      &amp;lt;profit&amp;gt; difference of revenue and expences&amp;lt;/profit&amp;gt;&lt;br /&gt;
    &amp;lt;/today&amp;gt;&lt;br /&gt;
    &amp;lt;active_calls&amp;gt;&lt;br /&gt;
      &amp;lt;total&amp;gt; Active Calls count &amp;lt;/total&amp;gt;&lt;br /&gt;
      &amp;lt;answered_calls&amp;gt; Answered Calls count &amp;lt;/answered_calls&amp;gt;&lt;br /&gt;
    &amp;lt;/active_calls&amp;gt;&lt;br /&gt;
  &amp;lt;/quickstats&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Errors:'''&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;error&amp;gt;API Requests are disabled&amp;lt;/error&amp;gt; – '''Allow API globally''' setting is unchecked&lt;br /&gt;
* &amp;lt;error&amp;gt;GET Requests are disabled&amp;lt;/error&amp;gt; – '''Allow GET API''' setting is unchecked&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt;  – user with such username cannot use this method&lt;br /&gt;
* &amp;lt;error&amp;gt;Bad login&amp;lt;/error&amp;gt; – such username does not exist in the database or it was not specified&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;Cannot connect to Elasticsearch&amp;lt;/error&amp;gt; – data is not reachable&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&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;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[M2 API]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=M4_API_quickstats_get&amp;diff=20618</id>
		<title>M4 API quickstats get</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=M4_API_quickstats_get&amp;diff=20618"/>
		<updated>2016-02-11T17:25:11Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: Created page with '=Description=  Retrieves today's Quick Stats and Active Calls count&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;  Data can be retrieved just by '''Admin'''  &amp;lt;br&amp;gt; =Usage=  * '''M2''' call: '''/api/quickstats_…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
&lt;br /&gt;
Retrieves today's [[Quick Stats]] and [[Active Calls]] count&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Data can be retrieved just by '''Admin'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* '''M2''' call: '''/api/quickstats_get'''&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;
===Parameters===  &lt;br /&gt;
&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''' (if setting '''Disable hash checking''' is not checked). &lt;br /&gt;
* u - username  for authentication. '''Required'''. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
If API Secret Key = secret&lt;br /&gt;
&lt;br /&gt;
You send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/quickstats_get?u=admin&amp;amp;hash=e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4&lt;br /&gt;
&lt;br /&gt;
'''* Note that username (u) is not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success:''' Everything is ok. You get the list of calls if there is any:&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;quickstats&amp;gt;&lt;br /&gt;
    &amp;lt;today&amp;gt;&lt;br /&gt;
      &amp;lt;calls&amp;gt; Calls count &amp;lt;/calls&amp;gt;&lt;br /&gt;
      &amp;lt;duration&amp;gt; billsec in seconds &amp;lt;/duration&amp;gt;&lt;br /&gt;
      &amp;lt;revenue&amp;gt; revenue today&amp;lt;/revenue&amp;gt;&lt;br /&gt;
      &amp;lt;self_cost&amp;gt; expenditure today&amp;lt;/self_cost&amp;gt;&lt;br /&gt;
      &amp;lt;profit&amp;gt; difference of revenue and expences&amp;lt;/profit&amp;gt;&lt;br /&gt;
    &amp;lt;/today&amp;gt;&lt;br /&gt;
    &amp;lt;active_calls&amp;gt;&lt;br /&gt;
      &amp;lt;total&amp;gt; Active Calls count &amp;lt;/total&amp;gt;&lt;br /&gt;
      &amp;lt;answered_calls&amp;gt; Answered Calls count &amp;lt;/answered_calls&amp;gt;&lt;br /&gt;
    &amp;lt;/active_calls&amp;gt;&lt;br /&gt;
  &amp;lt;/quickstats&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Errors:'''&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;error&amp;gt;API Requests are disabled&amp;lt;/error&amp;gt; – '''Allow API globally''' setting is unchecked&lt;br /&gt;
* &amp;lt;error&amp;gt;GET Requests are disabled&amp;lt;/error&amp;gt; – '''Allow GET API''' setting is unchecked&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt;  – user with such username cannot use this method&lt;br /&gt;
* &amp;lt;error&amp;gt;Bad login&amp;lt;/error&amp;gt; – such username does not exist in the database or it was not specified&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;Cannot connect to Elasticsearch&amp;lt;/error&amp;gt; – data is not reachable&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&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;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[M2 API]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=M4_API&amp;diff=20617</id>
		<title>M4 API</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=M4_API&amp;diff=20617"/>
		<updated>2016-02-11T17:06:23Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:api.png|right|alt=&amp;quot;api&amp;quot;|link=]]&lt;br /&gt;
&amp;lt;mkmeta&amp;gt;Application Program Interface for MOR Class 5 Softswitch&amp;lt;/mkmeta&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=About=&lt;br /&gt;
MOR API lets other software interact with MOR without knowing the internal structure of the database (DB) and other logic.&lt;br /&gt;
&lt;br /&gt;
MOR accepts requests by HTML POST and returns results in XML.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=MOR users that are allowed to use MOR API=&lt;br /&gt;
* Admin&lt;br /&gt;
* Manager - only by using Admin Hash and Secret key&lt;br /&gt;
* Simple User&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Functions=&lt;br /&gt;
&lt;br /&gt;
== API Related ==&lt;br /&gt;
* [[M2 API Configuration]] – configuration options for API.&lt;br /&gt;
* [[M2 API hash construction|Hash construction]] – how to construct hash to authenticate data over API.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Balance==&lt;br /&gt;
* [[M2 API user balance update | user_balance_update]] (change_user_balance) – changes User's Balance&lt;br /&gt;
Various methods to retrieve User balance&lt;br /&gt;
* [[M2 API user_balance_get|user_balance_get]] (balance) – retrieves a User Balance.&lt;br /&gt;
* [[M2 Balance in phone | user_simple_balance_get]] (simple_balance) – gets User's Balance&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Calls==&lt;br /&gt;
* [[M2 user calls get|user_calls_get]] (user_calls) – retrieves a list of calls in a selected time period for a user/device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Device==&lt;br /&gt;
* [[M2 API devices get | devices_get]] (device_list) – users device list&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Login==&lt;br /&gt;
* [[M2 API user_login|user_login]] (login) – logs user in to MOR.&lt;br /&gt;
* [[M2 API user_logout|user_logout]] (logout) – logs user out from MOR.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Rates==&lt;br /&gt;
* [[M2 API tariff rates get| tariff_rates_get]] (get_tariff) – get all tariff's rates&lt;br /&gt;
* [[M2 API tariff_wholesale_update | tariff_wholesale_update ]] (wholesale_tariff) – update or create wholesale tariff&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Statistics==&lt;br /&gt;
* [[M2 API quickstats_get | quickstats_get]] – gets today's [[Quick Stats]] and [[Active Calls]] count&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==User==&lt;br /&gt;
* [[M2 API user_details_get | user_details_get]] (user_details) – gets user details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
= Examples =&lt;br /&gt;
* [[MOR API PHP Examples]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=HTML POST=&lt;br /&gt;
All requests are in a similar format:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/&amp;lt;function&amp;gt;?u=username&lt;br /&gt;
&lt;br /&gt;
* username - the user name and password of the user who is asking for the data. &lt;br /&gt;
&lt;br /&gt;
If the user has 'admin' rights, he will get more results and  can perform more actions compared to a user who does not have such rights.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Useful to know=&lt;br /&gt;
&lt;br /&gt;
* All API methods returns data straight from database. It means that MOR GUI settings does not affect data, it will be returned as it is saved in database. For example:&lt;br /&gt;
** Value of money will be returned in Default System [[Currencies|Currency]].&lt;br /&gt;
** Date will not be affected of [[Configuration_from_GUI#Visual| Default date format]] setting.&lt;br /&gt;
** Value of money will not be affected of [[Configuration_from_GUI#Visual|Number digits]] setting.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also =&lt;br /&gt;
* [[M2 API Configuration]]&lt;br /&gt;
* [[MOR integration]]&lt;br /&gt;
* [[How to block access to some API functions]]&lt;br /&gt;
* [[API specification to be implemented in the future]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=User_Details&amp;diff=20599</id>
		<title>User Details</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=User_Details&amp;diff=20599"/>
		<updated>2016-02-04T15:46:27Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* General */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Where to find user details?=&lt;br /&gt;
&lt;br /&gt;
Go 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;
Here you can see list of all users. In brackets by the Accountant or Reseller you are able to see to which Permissions Group([[Reseller Permissions]] or [[Accountant permissions]]) they belong. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
[[File:Users_path_2.png]] &amp;lt;!---From MOR X4 some of cells are empty because reseller/accountant does not make calls anymore---&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
Select the [[image:icon_edit.png]] icon in window above and you will reach personal user settings page. In this window you will see a lot of options grouped into sections like General, Blocking, Warning Balance Email, Invoices, Payments, Details, Taxes, Registration Address, Recordings and Blacklists.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR X4---&amp;gt;&lt;br /&gt;
'''NOTE''' that admin is not shown in Users list. To see your own details go to '''PERSONAL MENU –&amp;gt; Details'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Details update = &lt;br /&gt;
Every User can update his own details in '''PERSONAL MENU –&amp;gt; Details'''.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To disallow users to change their details Admin/Reseller has to check setting &amp;quot;Do not allow users to change their Personal Details&amp;quot; in '''SETTINGS -&amp;gt; Setup -&amp;gt; Settings -&amp;gt; Various'''. After this User Details can only be updated by user's owner.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE''' that even if User is not allowed to update his own details, he still can see it in '''PERSONAL MENU –&amp;gt; Details''' as form with not editable options.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
&lt;br /&gt;
* Username – username for user to login to MOR GUI.&lt;br /&gt;
* Password – password for user to login to MOR GUI. Password must contain at least one numeric value, capital and lowercase symbol.&lt;br /&gt;
* [[Users#User_types | User type]] – by default it is &amp;quot;user&amp;quot;.&lt;br /&gt;
* [[LCR]] – LCR indicating which of the user's devices will be used to dial out.&lt;br /&gt;
* [[Tariffs | Tariff]] – prices for the user.  &lt;br /&gt;
* [[Balance and Credit | Balance]] – the user's balance.&lt;br /&gt;
* Daily credit limit – Total credit available for user per day. If User reaches this limit all User's calls will be dropped with hangupcause '211 Low balance for user'. This limit is reset each day at midnight (00:00:00).&lt;br /&gt;
* [[Balance and Credit | Credit]] – the user's credit, showing how low the user's balance can go.&lt;br /&gt;
* [[Minimum contract billing | Minimal Charge for Calls]] - minimum charge user pays for voice calls.&lt;br /&gt;
* [[Minimum contract billing | Minimal Charge for Calls Date]] - date since when the previous option is valid.&lt;br /&gt;
* Postpaid/Prepaid – type of user.&lt;br /&gt;
* [[Hide Users | Not Hidden/Hidden]] – is this user hidden?&lt;br /&gt;
* Primary device – the primary device for this user.&lt;br /&gt;
* [[Allow loss calls]] – should loss calls be allowed for this user?&lt;br /&gt;
* [[Simultaneous call limitation | Call Limit]] – how many simultaneous calls the user can make?&lt;br /&gt;
* Default [[Currencies | Currency]] – currency which will be used to show balance, rates and prices in Users' GUI and exported files. Notice that balance (also other values) will be saved in [[Currencies |default system currency]] in DB and converted on the fly using current exchange rate - e.g. balance can change when [[Currencies#Automatic_Currency_Update |exchange rate changes]]. So your user can be surprised when he does not make calls but balance fluctuates.&lt;br /&gt;
* [[GUI_time_zone | Time Zone]] – time zone which will be used to show dates and time in Users' GUI and exported files&lt;br /&gt;
* Responsible accountant – dropdown to choose accountant responsible for user's profit. &lt;br /&gt;
* Hide Non-Answered calls – with this option enabled simple user sees only answered calls in [[Last Calls]] and in Detailed Statistics page. &amp;lt;!-- veikia su x5_functionality_15 --&amp;gt; &lt;br /&gt;
* Ignore Global Alerts – check and User will be ignored on checking for [[Alerts]] &amp;lt;!---from x5---&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Blocking =&lt;br /&gt;
&lt;br /&gt;
Various options for [[User Blocking]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Warning Balance Email =&lt;br /&gt;
&lt;br /&gt;
If you want to send an email notification to a user (or take another action) when his balance drops lower than a certain amount, check this setting and enter the desired amount.&lt;br /&gt;
&lt;br /&gt;
More details: [[Warning balance]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Invoices =&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:user_invoice_details.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* Generate Invoice – should we generate an invoice for this user when we choose to generate invoices for a period?&lt;br /&gt;
* Invoice, Detailed, By CallerID, By Destinations and PDF/CSV show various types of invoices which should be showed in Users ''PERSONAL MENU –&amp;gt; Details –&amp;gt; Invoices'' and/or sent to the User as an email attachment.&lt;br /&gt;
* Show zero Calls – if the call price = 0, should such calls appear in the invoice or not?&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Payments =&lt;br /&gt;
&lt;br /&gt;
* Cyberplat - check this option if you want to allow the user to use this payment gateway.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Details =&lt;br /&gt;
&lt;br /&gt;
Self-explanatory.&lt;br /&gt;
&lt;br /&gt;
If Country of Taxation is in the EU, validation of TAX Registration Number will be checked from this website: http://ec.europa.eu/taxation_customs/vies/&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Taxes =&lt;br /&gt;
&lt;br /&gt;
Here tax parameters are entered for the user.&lt;br /&gt;
&lt;br /&gt;
The tax system is explained [[Multi-Tax system | here]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Registration Address =&lt;br /&gt;
&lt;br /&gt;
Self-explanatory.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Recordings = &lt;br /&gt;
&lt;br /&gt;
This section is available when the [[Recordings Addon]] is installed in the system.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Blacklists / Whitelists=&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:user_blacklists_details.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---FROM MOR X7---&amp;gt;&lt;br /&gt;
'''Enable static Source''' - enables static Blacklist or Whitelist&amp;lt;br&amp;gt;&lt;br /&gt;
* '''No''' - do not use any Blacklist or Whitelist&lt;br /&gt;
* '''Blacklist''' - choose [[Number Pool]] which will be used to block User from receiving and sending specific Source numbers. If User receives or sends number which is in selected [[Number Pool]] then call will be hangup with hangupcause ''262 - Source number is in blacklist''&lt;br /&gt;
* '''Whitelist''' - choose [[Number Pool]] which will be used to allow User to receive only specific Source numbers. If User receives number which is NOT in selected [[Number Pool]] then call will be hangup with hangupcause ''263 - Source number is not in whitelist''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---FROM MOR X5---&amp;gt;&lt;br /&gt;
'''Enable static Destination''' - enables static Blacklist or Whitelist&amp;lt;br&amp;gt;&lt;br /&gt;
* '''No''' - do not use any Blacklist or Whitelist&lt;br /&gt;
* '''Blacklist''' - choose [[Number Pool]] which will be used to block User from calling specific Destination numbers. If User calls number which is in selected [[Number Pool]] then call will be hangup with hangupcause ''255 - Destination is in blacklist''&lt;br /&gt;
* '''Whitelist''' - choose [[Number Pool]] which will be used to allow User to call only specific Destination numbers. If User calls number which is NOT in selected [[Number Pool]] then call will be hangup with hangupcause ''256 - Destination is not in whitelist''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Also you can manage '''[[Dynamic Blacklist Functionality]]''' settings for Single User. You are able to manage:&lt;br /&gt;
&lt;br /&gt;
'''Enable Dynamic Blacklist''' – enables dynamic Blacklist functionality for this user.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Blacklist LCR''' – [[LCR]] with Blacklist Providers.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Routing Threshold''' – sum of SRC, DST and RTP IP limit. If SRC, DST or RTP IP scores sum received during the call is bigger than Defaullt Threshold, call will be routed through selected Blacklist LCR. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose option '''Global''' if you want to apply [[ Monitorings_Addon#Monitorings_Settings | global settingas]] for this user.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Comment = &lt;br /&gt;
&lt;br /&gt;
Here you are able to write private comment about user.&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Provider-stats.png&amp;diff=20594</id>
		<title>File:Provider-stats.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Provider-stats.png&amp;diff=20594"/>
		<updated>2016-02-03T16:25:37Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: uploaded a new version of &amp;quot;File:Provider-stats.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Provider-stats.png&amp;diff=20593</id>
		<title>File:Provider-stats.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Provider-stats.png&amp;diff=20593"/>
		<updated>2016-02-03T16:21:00Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: uploaded a new version of &amp;quot;File:Provider-stats.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Invoices&amp;diff=20585</id>
		<title>Invoices</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Invoices&amp;diff=20585"/>
		<updated>2016-02-01T15:29:51Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: &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#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>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Emails&amp;diff=20584</id>
		<title>Emails</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Emails&amp;diff=20584"/>
		<updated>2016-02-01T15:29:20Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* Where I can find Emails? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What are Emails?=&lt;br /&gt;
&lt;br /&gt;
This function is used to send emails to your clients. It can be used to send commercials, notes about service unavailability or anything else – maybe Christmas greetings!&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Where I can find Emails?=&lt;br /&gt;
&lt;br /&gt;
This function can be found in '''SETTINGS –&amp;gt; Setup –&amp;gt; Emails''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:emails_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you see emails which are templates for emails about various system messages. The 'test' email is created for demo purposes for mass-mailing.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* '''registration_confirmation_for_user''' - User will get after he registers new account via [[Online registration]].&lt;br /&gt;
* '''registration_confirmation_for_admin''' - Admin will get after new User is registered.&lt;br /&gt;
* '''cyberplat_announce''' - will be sent after [[CyberPlat Payment Gateway | CuberPlat payment]] will be made.&lt;br /&gt;
* '''invoices''' - customer will get his [[Invoices|Invoice]] files when they are will be sent [[Invoices#Send_invoices_by_email_.28manual.29|manually]].&lt;br /&gt;
* '''calling_cards_data_to_paypal''' - will be sent after [[MOR API card from group sell | card_from_group_sell API method]] usege if email address will be given.&lt;br /&gt;
* '''warning_balance_email''' - User will get when balance becomes lower than [[Warning balance]].&lt;br /&gt;
* '''recording_new''' - will be sent after new recording is created.&lt;br /&gt;
* '''recording_delete''' - will be sent after recording is deleted.&lt;br /&gt;
* '''block_when_no_balance''' - will be sent after account is blocked due insufficient balance.&lt;br /&gt;
* '''payment_notification_integrations''' - will be sent after MOR has received a payment notification from [[PayPal| PayPal Standard]] which requires a confirmation in order to complete the transaction.&lt;br /&gt;
* '''payment_notification_regular''' - will be sent after MOR has received a payment notification from [[Payment_Gateway_Addon |Payment Gateway]] which requires a confirmation in order to complete the transaction.&lt;br /&gt;
* '''password_reminder''' - will be sent after MOR has received a [[MOR forgot user password|User password reminder]] request.&lt;br /&gt;
* '''warning_balance_email_local''' - Admin or/and Accountant gets warning when Users' balance becomes lower than [[Warning balance]].&lt;br /&gt;
* '''server_low_free_space''' - will be sent when free space is to low in some of Servers.&lt;br /&gt;
* '''device_changes_announcement''' - will be sent after each modification of Device if &amp;quot;Inform when Devices are created or updated&amp;quot; is checked in [[Configuration_from_GUI#Various|Various]] settings tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Next is how to [[Image:icon_edit.png]] edit email. Creating email and editing it are very similar processes. Here is how to edit:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:email2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The '''Name''' and '''Subject''' fields are simple. The most important field is '''Message text'''. Here you enter message for the user. Also, you can use the following [[Email_variables|variables]] here:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;%= server_ip %&amp;gt; - Server IP where your users should register their SIP/IAX2 devices.&lt;br /&gt;
 &amp;lt;%= device_type %&amp;gt; - Used on user registration - shows the device type the user has selected.&lt;br /&gt;
 &amp;lt;%= device_username %&amp;gt; - Used on user registration - shows the device's username.&lt;br /&gt;
 &amp;lt;%= device_password %&amp;gt; - Used on user registration - shows device's password.&lt;br /&gt;
 &amp;lt;%= login_url %&amp;gt; - GUI login url.&lt;br /&gt;
 &amp;lt;%= login_username %&amp;gt; - User's username to login to GUI.&lt;br /&gt;
 &amp;lt;%= login_password %&amp;gt; - User's password to login to GUI.&lt;br /&gt;
 &amp;lt;%= username %&amp;gt; - same as login_username.&lt;br /&gt;
 &amp;lt;%= first_name %&amp;gt; - First name of the user.&lt;br /&gt;
 &amp;lt;%= last_name %&amp;gt; - Last name of the user.&lt;br /&gt;
 &amp;lt;%= full_name %&amp;gt; - First name and last name of the user.&lt;br /&gt;
&lt;br /&gt;
 Click on '''Change''' to save any of these variables.&lt;br /&gt;
&lt;br /&gt;
'''Full list of MOR supported [[Email_variables|email variables]] can be found [[Email_variables|HERE]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the main window ('''SETTINGS –&amp;gt; Setup –&amp;gt; Emails'''), you can press on [[Image:icon_email.png]] icon to select to which recipients to send this email:&lt;br /&gt;
&lt;br /&gt;
[[Image:email3.png]]&lt;br /&gt;
&lt;br /&gt;
=Additional Notes=&lt;br /&gt;
* [[Configuration_from_GUI#Emails|Emails sending]] must be enabled to use this functionality&lt;br /&gt;
* Full list of MOR supported [[Email_variables|email variables]] can be found [[Email_variables|HERE]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Emails&amp;diff=20583</id>
		<title>Emails</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Emails&amp;diff=20583"/>
		<updated>2016-02-01T15:29:08Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* Where I can find Emails? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What are Emails?=&lt;br /&gt;
&lt;br /&gt;
This function is used to send emails to your clients. It can be used to send commercials, notes about service unavailability or anything else – maybe Christmas greetings!&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Where I can find Emails?=&lt;br /&gt;
&lt;br /&gt;
This function can be found in '''SETTINGS –&amp;gt; Setup –&amp;gt; Emails''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:emails_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you see emails which are templates for emails about various system messages. The 'test' email is created for demo purposes for mass-mailing.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* '''registration_confirmation_for_user''' - User will get after he registers new account via [[Online registration]].&lt;br /&gt;
* '''registration_confirmation_for_admin''' - Admin will get after new User is registered.&lt;br /&gt;
* '''cyberplat_announce''' - will be sent after [[CyberPlat Payment Gateway | CuberPlat payment]] will be made.&lt;br /&gt;
* '''invoices''' - customer will get his [[Invoices|Invoice]] files when they are will be sent .[[Invoices#Send_invoices_by_email_.28manual.29|manually]].&lt;br /&gt;
* '''calling_cards_data_to_paypal''' - will be sent after [[MOR API card from group sell | card_from_group_sell API method]] usege if email address will be given.&lt;br /&gt;
* '''warning_balance_email''' - User will get when balance becomes lower than [[Warning balance]].&lt;br /&gt;
* '''recording_new''' - will be sent after new recording is created.&lt;br /&gt;
* '''recording_delete''' - will be sent after recording is deleted.&lt;br /&gt;
* '''block_when_no_balance''' - will be sent after account is blocked due insufficient balance.&lt;br /&gt;
* '''payment_notification_integrations''' - will be sent after MOR has received a payment notification from [[PayPal| PayPal Standard]] which requires a confirmation in order to complete the transaction.&lt;br /&gt;
* '''payment_notification_regular''' - will be sent after MOR has received a payment notification from [[Payment_Gateway_Addon |Payment Gateway]] which requires a confirmation in order to complete the transaction.&lt;br /&gt;
* '''password_reminder''' - will be sent after MOR has received a [[MOR forgot user password|User password reminder]] request.&lt;br /&gt;
* '''warning_balance_email_local''' - Admin or/and Accountant gets warning when Users' balance becomes lower than [[Warning balance]].&lt;br /&gt;
* '''server_low_free_space''' - will be sent when free space is to low in some of Servers.&lt;br /&gt;
* '''device_changes_announcement''' - will be sent after each modification of Device if &amp;quot;Inform when Devices are created or updated&amp;quot; is checked in [[Configuration_from_GUI#Various|Various]] settings tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Next is how to [[Image:icon_edit.png]] edit email. Creating email and editing it are very similar processes. Here is how to edit:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:email2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The '''Name''' and '''Subject''' fields are simple. The most important field is '''Message text'''. Here you enter message for the user. Also, you can use the following [[Email_variables|variables]] here:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;%= server_ip %&amp;gt; - Server IP where your users should register their SIP/IAX2 devices.&lt;br /&gt;
 &amp;lt;%= device_type %&amp;gt; - Used on user registration - shows the device type the user has selected.&lt;br /&gt;
 &amp;lt;%= device_username %&amp;gt; - Used on user registration - shows the device's username.&lt;br /&gt;
 &amp;lt;%= device_password %&amp;gt; - Used on user registration - shows device's password.&lt;br /&gt;
 &amp;lt;%= login_url %&amp;gt; - GUI login url.&lt;br /&gt;
 &amp;lt;%= login_username %&amp;gt; - User's username to login to GUI.&lt;br /&gt;
 &amp;lt;%= login_password %&amp;gt; - User's password to login to GUI.&lt;br /&gt;
 &amp;lt;%= username %&amp;gt; - same as login_username.&lt;br /&gt;
 &amp;lt;%= first_name %&amp;gt; - First name of the user.&lt;br /&gt;
 &amp;lt;%= last_name %&amp;gt; - Last name of the user.&lt;br /&gt;
 &amp;lt;%= full_name %&amp;gt; - First name and last name of the user.&lt;br /&gt;
&lt;br /&gt;
 Click on '''Change''' to save any of these variables.&lt;br /&gt;
&lt;br /&gt;
'''Full list of MOR supported [[Email_variables|email variables]] can be found [[Email_variables|HERE]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the main window ('''SETTINGS –&amp;gt; Setup –&amp;gt; Emails'''), you can press on [[Image:icon_email.png]] icon to select to which recipients to send this email:&lt;br /&gt;
&lt;br /&gt;
[[Image:email3.png]]&lt;br /&gt;
&lt;br /&gt;
=Additional Notes=&lt;br /&gt;
* [[Configuration_from_GUI#Emails|Emails sending]] must be enabled to use this functionality&lt;br /&gt;
* Full list of MOR supported [[Email_variables|email variables]] can be found [[Email_variables|HERE]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Configuration_from_GUI&amp;diff=20582</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=20582"/>
		<updated>2016-02-01T15:28:29Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* 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;
&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;
* '''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. Notice that Billsec shows real Call duration, user_billsec shows Call duration after minimal time or increment applied. For example, if user tariff has 60 sec minimal time and user made a Call for 20 sec, then billsec will show 20 sec and user_billsec will show 60 sec (minimal time is applied).&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;
&lt;br /&gt;
== Calls ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Calls'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Archived calls]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Server is overloaded]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Emails&amp;diff=20581</id>
		<title>Emails</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Emails&amp;diff=20581"/>
		<updated>2016-02-01T15:28:12Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=What are Emails?=&lt;br /&gt;
&lt;br /&gt;
This function is used to send emails to your clients. It can be used to send commercials, notes about service unavailability or anything else – maybe Christmas greetings!&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Where I can find Emails?=&lt;br /&gt;
&lt;br /&gt;
This function can be found in '''SETTINGS –&amp;gt; Setup –&amp;gt; Emails''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:emails_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you see emails which are templates for emails about various system messages. The 'test' email is created for demo purposes for mass-mailing.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* '''registration_confirmation_for_user''' - User will get after he registers new account via [[Online registration]].&lt;br /&gt;
* '''registration_confirmation_for_admin''' - Admin will get after new User is registered.&lt;br /&gt;
* '''cyberplat_announce''' - will be sent after [[CyberPlat Payment Gateway | CuberPlat payment]] will be made.&lt;br /&gt;
* '''invoices''' - customer will get his [[Invoices|Invoice]] files when they are will be sent .[[Invoices_(MOR_X6)#Send_invoices_by_email_.28manual.29|manually]].&lt;br /&gt;
* '''calling_cards_data_to_paypal''' - will be sent after [[MOR API card from group sell | card_from_group_sell API method]] usege if email address will be given.&lt;br /&gt;
* '''warning_balance_email''' - User will get when balance becomes lower than [[Warning balance]].&lt;br /&gt;
* '''recording_new''' - will be sent after new recording is created.&lt;br /&gt;
* '''recording_delete''' - will be sent after recording is deleted.&lt;br /&gt;
* '''block_when_no_balance''' - will be sent after account is blocked due insufficient balance.&lt;br /&gt;
* '''payment_notification_integrations''' - will be sent after MOR has received a payment notification from [[PayPal| PayPal Standard]] which requires a confirmation in order to complete the transaction.&lt;br /&gt;
* '''payment_notification_regular''' - will be sent after MOR has received a payment notification from [[Payment_Gateway_Addon |Payment Gateway]] which requires a confirmation in order to complete the transaction.&lt;br /&gt;
* '''password_reminder''' - will be sent after MOR has received a [[MOR forgot user password|User password reminder]] request.&lt;br /&gt;
* '''warning_balance_email_local''' - Admin or/and Accountant gets warning when Users' balance becomes lower than [[Warning balance]].&lt;br /&gt;
* '''server_low_free_space''' - will be sent when free space is to low in some of Servers.&lt;br /&gt;
* '''device_changes_announcement''' - will be sent after each modification of Device if &amp;quot;Inform when Devices are created or updated&amp;quot; is checked in [[Configuration_from_GUI#Various|Various]] settings tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Next is how to [[Image:icon_edit.png]] edit email. Creating email and editing it are very similar processes. Here is how to edit:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:email2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The '''Name''' and '''Subject''' fields are simple. The most important field is '''Message text'''. Here you enter message for the user. Also, you can use the following [[Email_variables|variables]] here:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;%= server_ip %&amp;gt; - Server IP where your users should register their SIP/IAX2 devices.&lt;br /&gt;
 &amp;lt;%= device_type %&amp;gt; - Used on user registration - shows the device type the user has selected.&lt;br /&gt;
 &amp;lt;%= device_username %&amp;gt; - Used on user registration - shows the device's username.&lt;br /&gt;
 &amp;lt;%= device_password %&amp;gt; - Used on user registration - shows device's password.&lt;br /&gt;
 &amp;lt;%= login_url %&amp;gt; - GUI login url.&lt;br /&gt;
 &amp;lt;%= login_username %&amp;gt; - User's username to login to GUI.&lt;br /&gt;
 &amp;lt;%= login_password %&amp;gt; - User's password to login to GUI.&lt;br /&gt;
 &amp;lt;%= username %&amp;gt; - same as login_username.&lt;br /&gt;
 &amp;lt;%= first_name %&amp;gt; - First name of the user.&lt;br /&gt;
 &amp;lt;%= last_name %&amp;gt; - Last name of the user.&lt;br /&gt;
 &amp;lt;%= full_name %&amp;gt; - First name and last name of the user.&lt;br /&gt;
&lt;br /&gt;
 Click on '''Change''' to save any of these variables.&lt;br /&gt;
&lt;br /&gt;
'''Full list of MOR supported [[Email_variables|email variables]] can be found [[Email_variables|HERE]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the main window ('''SETTINGS –&amp;gt; Setup –&amp;gt; Emails'''), you can press on [[Image:icon_email.png]] icon to select to which recipients to send this email:&lt;br /&gt;
&lt;br /&gt;
[[Image:email3.png]]&lt;br /&gt;
&lt;br /&gt;
=Additional Notes=&lt;br /&gt;
* [[Configuration_from_GUI#Emails|Emails sending]] must be enabled to use this functionality&lt;br /&gt;
* Full list of MOR supported [[Email_variables|email variables]] can be found [[Email_variables|HERE]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Cron_actions&amp;diff=20580</id>
		<title>Cron actions</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Cron_actions&amp;diff=20580"/>
		<updated>2016-02-01T15:27:32Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* Generate Invoices and send by Email */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Descriptions=&lt;br /&gt;
Cron actions is MOR functionality which allows you to do some tasks at a specified time. Currently supported actions are these:&lt;br /&gt;
&lt;br /&gt;
* Change tariff  (for Users and/or LCRs) &lt;br /&gt;
&lt;br /&gt;
* Change LCR  (for Users) &lt;br /&gt;
&lt;br /&gt;
* Change provider tariff (for Providers)&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;!---This functionality is available from MOR X5---&amp;gt; Generate Invoice (for Users) &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE''' that currently only System Admin is allowed yo use this functionality.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Important notes on billing=&lt;br /&gt;
&lt;br /&gt;
MOR takes the call price before the call and uses it to calculate the final price after the call is finished.&lt;br /&gt;
&lt;br /&gt;
Example: User starts a call at 9:58 PM and is talking for 5 minutes, you have an action which changes tariff at 10:00 PM. When call will be finished MOR will bill user using older tariff. If user starts a call after tariff change - he will be charged using the new tariff assigned for him.&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; Setup  –&amp;gt; Settings  –&amp;gt; Cron actions''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Cron_actions_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you will find list of all Cron Actions&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Cron_settings_list.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Click [[Image:icon_add.png]]'''Add new Cron Action''' to create new Cron Action.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Change tariff==&lt;br /&gt;
&lt;br /&gt;
''Here is an example with an action '''Change tariff''' (applied for Users)''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Cron_actions_settings.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Name''' – enter here something that will help you to remember what this settings is about&lt;br /&gt;
&lt;br /&gt;
'''Action''' – what to do. To change Tariff for User, choose '''Change tariff'''&lt;br /&gt;
&lt;br /&gt;
'''For User''' – for which User/Users action has to be applied&lt;br /&gt;
&lt;br /&gt;
'''Where current Tariff is''' – for All Users and Location Rules where selected Tariff/Tariffs assigned.&lt;br /&gt;
&lt;br /&gt;
'''Change to Tariff''' – which tariff to set&lt;br /&gt;
&lt;br /&gt;
'''Periodic type''' – how often to perform the task&lt;br /&gt;
&lt;br /&gt;
'''Repeat forever''' – makes action never stop&lt;br /&gt;
&lt;br /&gt;
'''From''' – when to start doing the action&lt;br /&gt;
&lt;br /&gt;
'''Till''' – when to stop doing the action&lt;br /&gt;
&lt;br /&gt;
'''Description''' – you can use this field for your notes&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Generate Invoices and send by Email ==&lt;br /&gt;
&amp;lt;!---Functionality will be available only from MOR x6---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Here is an example with an action '''Generate Invoice''' (applied for Users)''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Cron_actions_settings2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''General'''&lt;br /&gt;
&lt;br /&gt;
* '''Name''' – enter here something that will help you to remember what this settings is about&lt;br /&gt;
&lt;br /&gt;
* '''Action''' – what to do. To generate Invoice for User, choose '''Generate Invoice'''&lt;br /&gt;
&lt;br /&gt;
'''Details''' – Invoice Details&lt;br /&gt;
&lt;br /&gt;
* '''User''' – for which User/Users action has to be applied&lt;br /&gt;
&lt;br /&gt;
* '''Currency'''  – currency which will be used for Invoice generation&lt;br /&gt;
&lt;br /&gt;
* '''From''' – day of the month which should be used as '''start of Invoice period'''&lt;br /&gt;
&lt;br /&gt;
* '''Till''' – day of the month which should be '''end of Invoice period'''&lt;br /&gt;
&lt;br /&gt;
* '''Send after Invoice is generated?''' – if email sending is enabled, you can choose to send Invoices after it is generated. &lt;br /&gt;
&lt;br /&gt;
'''Repeat''' – Cron Action repetition&lt;br /&gt;
&lt;br /&gt;
* '''Periodic type''' – how often to perform the task&lt;br /&gt;
&lt;br /&gt;
* '''Repeat forever''' – makes action never stop&lt;br /&gt;
&lt;br /&gt;
* '''From''' – when to start doing the action&lt;br /&gt;
&lt;br /&gt;
* '''Till''' – when to stop doing the action&lt;br /&gt;
&lt;br /&gt;
'''Description''' – you can use this field for your notes&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Background Tasks|Background task]] for [[Invoices#Invoice_generation|Invoice generation]] will be created 2 days after each end of selected Invoice period. Repetition period determines when tasks have to be created. &lt;br /&gt;
&lt;br /&gt;
For example, we want to generate Invoices every month for full month from 2015 October 1 until 2016 January 1. &lt;br /&gt;
&lt;br /&gt;
* In '''Details''' section we select '''From''' - 1 and '''Till''' - 31&lt;br /&gt;
* In '''Reapeat''' section we select '''Periodic type''' - monthly, '''From''' 2015 October 1 00 '''Till''' 2016 January 1 00&lt;br /&gt;
* When '''Create''' button is pressed at 2015 October 2 we will find Invoices of September&lt;br /&gt;
&lt;br /&gt;
'''NOTE''' If Repetition start date and time is over 48 hours after nearest end of selected Invoice period, first group of Incvoices will be generated more than after one month.&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;
* [[Users]]&lt;br /&gt;
* [[LCR]]&lt;br /&gt;
* [[Providers]]&lt;br /&gt;
* [[Tariffs]]&lt;br /&gt;
* [[Invoices]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Invoices&amp;diff=20577</id>
		<title>Invoices</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Invoices&amp;diff=20577"/>
		<updated>2016-02-01T15:25:49Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: moved Invoices (MOR X6) to Invoices&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>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Duplicate_value_in_Cell_Address_field&amp;diff=20576</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=20576"/>
		<updated>2016-02-01T15:25:14Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* See also */&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]]&lt;br /&gt;
* [[Invoice configuration]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_user_register&amp;diff=20557</id>
		<title>MOR API user register</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_user_register&amp;diff=20557"/>
		<updated>2016-01-25T11:00:14Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* Returns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 10---&amp;gt;&lt;br /&gt;
[[MOR API]] Create new user from params. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/user_register&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;
===Parameters===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* '''email''' - New user email. '''Required'''.&lt;br /&gt;
* '''id''' - User UNIQUEHASH in MOR database. '''Required'''. &amp;lt;u&amp;gt;If uniquehash is not used, user will end up at admin account&amp;lt;/u&amp;gt;.&lt;br /&gt;
Uniquehash can be found in SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; API tab (last setting) or after log out of MOR in the address field of the browser, for example:&lt;br /&gt;
 http://SERVERIP/billing/callc/login/kljsdfg54kl where kljsdfg54kl is the uniquehash.&lt;br /&gt;
* '''device_type''' - Device type [SIP, IAX2]. '''Required'''.&lt;br /&gt;
* '''username''' - New user username. '''Required'''.&lt;br /&gt;
* '''first_name''' - New user first name. '''Required'''.&lt;br /&gt;
* '''last_name''' - New user last name. '''Required'''.&lt;br /&gt;
* '''caller_id''' - CallerID for Device (It can include letters, numbers and signs. If empty value is passed CallerID will be used the same as in Default User settings. If empty in Default User settings and in request - it will not be used).&lt;br /&gt;
* '''state'''&lt;br /&gt;
* '''device_location_id'''&lt;br /&gt;
* '''lcr_id'''&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''' which are listed above. 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''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&amp;lt;br&amp;gt;&lt;br /&gt;
* '''password''' - New user password. '''Required'''.&lt;br /&gt;
* '''password2''' - New user password confirmation. '''Required'''.&lt;br /&gt;
* '''country_id''' - New user country (please check table below). '''Required'''.&lt;br /&gt;
* '''mob_phone''' - Mobile phone number.&lt;br /&gt;
* '''phone - Phone number. &lt;br /&gt;
* '''fax''' - Fax. &lt;br /&gt;
* '''client_id''' - Company/Personal ID.&lt;br /&gt;
* '''vat_number''' - TAX Registration Number.&lt;br /&gt;
* '''county'''&lt;br /&gt;
* '''city'''&lt;br /&gt;
* '''postcode''' - Postcode/ZIP.&lt;br /&gt;
* '''address'''&lt;br /&gt;
* '''usertype'''&lt;br /&gt;
* '''permission_group''' - Reseller or Accountant Permission Group (depending what usertype is sended)&lt;br /&gt;
* '''accounting_number''' - Accounting Number&lt;br /&gt;
* '''call_limit''' - Call limit (how many simultaneous Calls the new User can make by default?)&lt;br /&gt;
* '''credit_limit''' - Credit limit&lt;br /&gt;
* '''tariff''' - Tariff ID from database. &lt;br /&gt;
* '''currency_id''' - Currency ID from database.&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/user_register?id=kljsdfg54kl&amp;amp;username=username&amp;amp;password=pass&amp;amp;password2=pass&amp;amp;first_name=first&lt;br /&gt;
 &amp;amp;last_name=last&amp;amp;country_id=10&amp;amp;email=email@email.com&amp;amp;device_type=SIP&amp;amp;hash=sd5g16sd1g6s&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;
 &amp;lt;page&amp;gt;&lt;br /&gt;
   &amp;lt;status&amp;gt;&lt;br /&gt;
     &amp;lt;success&amp;gt;Registration successful&amp;lt;/success&amp;gt;&lt;br /&gt;
   &amp;lt;/status&amp;gt;&lt;br /&gt;
   &amp;lt;user_device_settings&amp;gt;&lt;br /&gt;
     &amp;lt;email&amp;gt;Registration email&amp;lt;/email&amp;gt; - If email sending enabled.&lt;br /&gt;
     &amp;lt;user_id&amp;gt; user id&amp;lt;/user_id&amp;gt; &amp;lt;!---This functionality is available from MOR 12---&amp;gt;&lt;br /&gt;
     &amp;lt;device_type&amp;gt; device type [SIP|IAX2]&amp;lt;/device_type&amp;gt;&lt;br /&gt;
     &amp;lt;device_id&amp;gt; device id &amp;lt;/device_id&amp;gt; &amp;lt;!---This functionality is available from MOR 12---&amp;gt;&lt;br /&gt;
     &amp;lt;username&amp;gt; device username &amp;lt;/username&amp;gt;&lt;br /&gt;
     &amp;lt;password&amp;gt; device password &amp;lt;/password&amp;gt;&lt;br /&gt;
     &amp;lt;pin&amp;gt; device pin &amp;lt;/pin&amp;gt;&lt;br /&gt;
     &amp;lt;server_ip&amp;gt; Asterisk Server IP &amp;lt;/server_ip&amp;gt;&lt;br /&gt;
     &amp;lt;registration_notice&amp;gt; Registration notice which is set in Settings &amp;lt;/registration_notice&amp;gt;&lt;br /&gt;
   &amp;lt;/user_device_settings&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;
'''Errors'''&lt;br /&gt;
&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;Registration over API is disabled&amp;lt;/error&amp;gt; - Setting: Settings-&amp;gt;API-&amp;gt;API allow Registration, is off. Turn on API allow Registration.&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - User with UNIQUEHASH not found or params id not send. Enter correct id.&lt;br /&gt;
* &amp;lt;error&amp;gt;Please enter username&amp;lt;/error&amp;gt; - Params username is not send. Enter correct username.&lt;br /&gt;
* &amp;lt;error&amp;gt;Enter device type&amp;lt;/error&amp;gt; - device_type is not send. Enter correct device_type.&lt;br /&gt;
* &amp;lt;error&amp;gt;Such username is already taken&amp;lt;/error&amp;gt; - Duplicate of username. Change username.&lt;br /&gt;
* &amp;lt;error&amp;gt;Passwords do not match&amp;lt;/error&amp;gt; - Enter correct passwords.&lt;br /&gt;
* &amp;lt;error&amp;gt;Password must be longer than (...) characters&amp;lt;/error&amp;gt; - Enter correct password.&lt;br /&gt;
* &amp;lt;error&amp;gt;Please enter first name&amp;lt;/error&amp;gt; - Enter first_name.&lt;br /&gt;
* &amp;lt;error&amp;gt;Please enter last name&amp;lt;/error&amp;gt; - Enter last_name.&lt;br /&gt;
* &amp;lt;error&amp;gt;Please select country&amp;lt;/error&amp;gt; - Enter country_id.&lt;br /&gt;
* &amp;lt;error&amp;gt;Please enter email&amp;lt;/error&amp;gt; - Email address is not valid or not send. Enter correct email.&lt;br /&gt;
* &amp;lt;error&amp;gt;This email address is already in use&amp;lt;/error&amp;gt; - Change email address.&lt;br /&gt;
* &amp;lt;error&amp;gt;User with mobile phone already exists&amp;lt;/error&amp;gt; - Change mobile phone.&lt;br /&gt;
* &amp;lt;error&amp;gt;User with phone already exists&amp;lt;/error&amp;gt; - Change phone.&lt;br /&gt;
* &amp;lt;error&amp;gt;User with fax already exists&amp;lt;/error&amp;gt; - Change fax.&lt;br /&gt;
* &amp;lt;error&amp;gt;Default user is not present&amp;lt;/error&amp;gt; - [[Default_user | Default User's]] settings are not saved in database. &lt;br /&gt;
* &amp;lt;error&amp;gt;LCR was not found&amp;lt;/error&amp;gt; - LCR id incorrect or does not exist&lt;br /&gt;
* &amp;lt;error&amp;gt;Location was not found&amp;lt;/error&amp;gt; - Location id incorrect or does not exist&lt;br /&gt;
* &amp;lt;error&amp;gt;Password must be longer than 7 characters or short passwords in Devices should be allowed&amp;lt;/error&amp;gt; - Use longer password or allow short passwords in devices&lt;br /&gt;
* &amp;lt;error&amp;gt;Password must contain at least one numeric value, capital and lowercase symbol - Use more secure password with at least one numeric value, capital and lowercase symbol&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== List of Country IDs ===&lt;br /&gt;
&lt;br /&gt;
1 - Afghanistan&lt;br /&gt;
&lt;br /&gt;
2 - Albania&lt;br /&gt;
&lt;br /&gt;
3 - Algeria&lt;br /&gt;
&lt;br /&gt;
4 - American Samoa&lt;br /&gt;
&lt;br /&gt;
5 - Andorra&lt;br /&gt;
&lt;br /&gt;
6 - Angola &lt;br /&gt;
&lt;br /&gt;
7 - Anguilla &lt;br /&gt;
&lt;br /&gt;
8 - Antarctica &lt;br /&gt;
&lt;br /&gt;
9 - Antigua And Barbuda&lt;br /&gt;
&lt;br /&gt;
10 - Argentina&lt;br /&gt;
&lt;br /&gt;
11 - Armenia&lt;br /&gt;
&lt;br /&gt;
12 - Aruba&lt;br /&gt;
&lt;br /&gt;
13 - Australia&lt;br /&gt;
&lt;br /&gt;
14 - Austria&lt;br /&gt;
&lt;br /&gt;
15 - Azerbaijan &lt;br /&gt;
&lt;br /&gt;
16 - Bahamas&lt;br /&gt;
&lt;br /&gt;
17 - Bahrain&lt;br /&gt;
&lt;br /&gt;
18 - Bangladesh &lt;br /&gt;
&lt;br /&gt;
19 - Barbados &lt;br /&gt;
&lt;br /&gt;
20 - Belarus&lt;br /&gt;
&lt;br /&gt;
21 - Belgium&lt;br /&gt;
&lt;br /&gt;
22 - Belize &lt;br /&gt;
&lt;br /&gt;
23 - Benin&lt;br /&gt;
&lt;br /&gt;
24 - Bermuda&lt;br /&gt;
&lt;br /&gt;
25 - Bhutan &lt;br /&gt;
&lt;br /&gt;
26 - Bolivia&lt;br /&gt;
&lt;br /&gt;
27 - Bosnia And Herzegovina &lt;br /&gt;
&lt;br /&gt;
28 - Botswana &lt;br /&gt;
&lt;br /&gt;
30 - Brazil &lt;br /&gt;
&lt;br /&gt;
32 - Brunei Darussalam&lt;br /&gt;
&lt;br /&gt;
33 - Bulgaria &lt;br /&gt;
&lt;br /&gt;
34 - Burkina Faso &lt;br /&gt;
&lt;br /&gt;
35 - Burundi&lt;br /&gt;
&lt;br /&gt;
36 - Cambodia &lt;br /&gt;
&lt;br /&gt;
37 - Cameroon &lt;br /&gt;
&lt;br /&gt;
38 - Canada &lt;br /&gt;
&lt;br /&gt;
39 - Cape Verde &lt;br /&gt;
&lt;br /&gt;
40 - Cayman Islands &lt;br /&gt;
&lt;br /&gt;
41 - Central African Republic &lt;br /&gt;
&lt;br /&gt;
42 - Chad &lt;br /&gt;
&lt;br /&gt;
43 - Chile&lt;br /&gt;
&lt;br /&gt;
44 - China&lt;br /&gt;
&lt;br /&gt;
45 - Christmas Island &lt;br /&gt;
&lt;br /&gt;
46 - Cocos (Keeling) Islands&lt;br /&gt;
&lt;br /&gt;
47 - Colombia &lt;br /&gt;
&lt;br /&gt;
48 - Comoros&lt;br /&gt;
&lt;br /&gt;
49 - Congo&lt;br /&gt;
&lt;br /&gt;
50 - Congo, The Democratic Republic Of The&lt;br /&gt;
&lt;br /&gt;
51 - Cook Islands &lt;br /&gt;
&lt;br /&gt;
52 - Costa Rica &lt;br /&gt;
&lt;br /&gt;
53 - Ivory Cost &lt;br /&gt;
&lt;br /&gt;
54 - Croatia&lt;br /&gt;
&lt;br /&gt;
55 - Cuba &lt;br /&gt;
&lt;br /&gt;
56 - Cyprus &lt;br /&gt;
&lt;br /&gt;
57 - Czech Republic &lt;br /&gt;
&lt;br /&gt;
58 - Denmark&lt;br /&gt;
&lt;br /&gt;
59 - Djibouti &lt;br /&gt;
&lt;br /&gt;
60 - Dominica &lt;br /&gt;
&lt;br /&gt;
61 - Dominican Republic &lt;br /&gt;
&lt;br /&gt;
62 - Ecuador&lt;br /&gt;
&lt;br /&gt;
63 - Egypt&lt;br /&gt;
&lt;br /&gt;
64 - El Salvador&lt;br /&gt;
&lt;br /&gt;
65 - Equatorial Guinea&lt;br /&gt;
&lt;br /&gt;
66 - Eritrea&lt;br /&gt;
&lt;br /&gt;
67 - Estonia&lt;br /&gt;
&lt;br /&gt;
68 - Ethiopia &lt;br /&gt;
&lt;br /&gt;
69 - Falkland Islands (Malvinas)&lt;br /&gt;
&lt;br /&gt;
70 - Faroe Islands&lt;br /&gt;
&lt;br /&gt;
71 - Fiji &lt;br /&gt;
&lt;br /&gt;
72 - Finland&lt;br /&gt;
&lt;br /&gt;
73 - France &lt;br /&gt;
&lt;br /&gt;
74 - French Guiana&lt;br /&gt;
&lt;br /&gt;
75 - French Polynesia &lt;br /&gt;
&lt;br /&gt;
77 - Gabon&lt;br /&gt;
&lt;br /&gt;
78 - Gambia &lt;br /&gt;
&lt;br /&gt;
79 - Georgia&lt;br /&gt;
&lt;br /&gt;
80 - Germany&lt;br /&gt;
&lt;br /&gt;
81 - Ghana&lt;br /&gt;
&lt;br /&gt;
82 - Gibraltar&lt;br /&gt;
&lt;br /&gt;
83 - Greece &lt;br /&gt;
&lt;br /&gt;
84 - Greenland&lt;br /&gt;
&lt;br /&gt;
85 - Grenada&lt;br /&gt;
&lt;br /&gt;
86 - Guadeloupe &lt;br /&gt;
&lt;br /&gt;
87 - Guam &lt;br /&gt;
&lt;br /&gt;
88 - Guatemala&lt;br /&gt;
&lt;br /&gt;
89 - Guinea &lt;br /&gt;
&lt;br /&gt;
90 - Guinea-Bissau&lt;br /&gt;
&lt;br /&gt;
91 - Guyana &lt;br /&gt;
&lt;br /&gt;
92 - Haiti&lt;br /&gt;
&lt;br /&gt;
94 - Vatican City &lt;br /&gt;
&lt;br /&gt;
95 - Honduras &lt;br /&gt;
&lt;br /&gt;
96 - Hong Kong&lt;br /&gt;
&lt;br /&gt;
97 - Hungary&lt;br /&gt;
&lt;br /&gt;
98 - Iceland&lt;br /&gt;
&lt;br /&gt;
99 - India&lt;br /&gt;
&lt;br /&gt;
100 - Indonesia&lt;br /&gt;
&lt;br /&gt;
101 - Iran &lt;br /&gt;
&lt;br /&gt;
102 - Iraq &lt;br /&gt;
&lt;br /&gt;
103 - Ireland&lt;br /&gt;
&lt;br /&gt;
104 - Israel &lt;br /&gt;
&lt;br /&gt;
105 - Italy&lt;br /&gt;
&lt;br /&gt;
106 - Jamaica&lt;br /&gt;
&lt;br /&gt;
107 - Japan&lt;br /&gt;
&lt;br /&gt;
108 - Jordan &lt;br /&gt;
&lt;br /&gt;
109 - Kazakhstan &lt;br /&gt;
&lt;br /&gt;
110 - Kenya&lt;br /&gt;
&lt;br /&gt;
111 - Kiribati &lt;br /&gt;
&lt;br /&gt;
112 - Korea, Democratic People's Republic Of &lt;br /&gt;
&lt;br /&gt;
113 - Korea, Republic of &lt;br /&gt;
&lt;br /&gt;
114 - Kuwait &lt;br /&gt;
&lt;br /&gt;
115 - Kyrgyzstan &lt;br /&gt;
&lt;br /&gt;
116 - Laos &lt;br /&gt;
&lt;br /&gt;
117 - Latvia &lt;br /&gt;
&lt;br /&gt;
118 - Lebanon&lt;br /&gt;
&lt;br /&gt;
119 - Lesotho&lt;br /&gt;
&lt;br /&gt;
120 - Liberia&lt;br /&gt;
&lt;br /&gt;
121 - Libyan Arab Jamahiriya &lt;br /&gt;
&lt;br /&gt;
122 - Liechtenstein&lt;br /&gt;
&lt;br /&gt;
123 - Lithuania&lt;br /&gt;
&lt;br /&gt;
124 - Luxembourg &lt;br /&gt;
&lt;br /&gt;
125 - Macao&lt;br /&gt;
&lt;br /&gt;
126 - Macedonia&lt;br /&gt;
&lt;br /&gt;
127 - Madagascar &lt;br /&gt;
&lt;br /&gt;
128 - Malawi &lt;br /&gt;
&lt;br /&gt;
129 - Malaysia &lt;br /&gt;
&lt;br /&gt;
130 - Maldives &lt;br /&gt;
&lt;br /&gt;
131 - Mali &lt;br /&gt;
&lt;br /&gt;
132 - Malta&lt;br /&gt;
&lt;br /&gt;
133 - Marshall islands &lt;br /&gt;
&lt;br /&gt;
134 - Martinique &lt;br /&gt;
&lt;br /&gt;
135 - Mauritania &lt;br /&gt;
&lt;br /&gt;
136 - Mauritius&lt;br /&gt;
&lt;br /&gt;
137 - Mayotte&lt;br /&gt;
&lt;br /&gt;
138 - Mexico &lt;br /&gt;
&lt;br /&gt;
139 - Micronesia &lt;br /&gt;
&lt;br /&gt;
140 - Moldova&lt;br /&gt;
&lt;br /&gt;
141 - Monaco &lt;br /&gt;
&lt;br /&gt;
142 - Mongolia &lt;br /&gt;
&lt;br /&gt;
143 - Montserrat &lt;br /&gt;
&lt;br /&gt;
144 - Morocco&lt;br /&gt;
&lt;br /&gt;
145 - Mozambique &lt;br /&gt;
&lt;br /&gt;
146 - Myanmar&lt;br /&gt;
&lt;br /&gt;
147 - Namibia&lt;br /&gt;
&lt;br /&gt;
148 - Nauru&lt;br /&gt;
&lt;br /&gt;
149 - Nepal&lt;br /&gt;
&lt;br /&gt;
150 - Netherlands&lt;br /&gt;
&lt;br /&gt;
151 - Netherlands Antilles &lt;br /&gt;
&lt;br /&gt;
152 - New Caledonia&lt;br /&gt;
&lt;br /&gt;
153 - New Zealand&lt;br /&gt;
&lt;br /&gt;
154 - Nicaragua&lt;br /&gt;
&lt;br /&gt;
155 - Niger&lt;br /&gt;
&lt;br /&gt;
156 - Nigeria&lt;br /&gt;
&lt;br /&gt;
157 - Niue &lt;br /&gt;
&lt;br /&gt;
158 - Norfolk Island &lt;br /&gt;
&lt;br /&gt;
159 - Northern Mariana Islands &lt;br /&gt;
&lt;br /&gt;
160 - Norway &lt;br /&gt;
&lt;br /&gt;
161 - Oman &lt;br /&gt;
&lt;br /&gt;
162 - Pakistan &lt;br /&gt;
&lt;br /&gt;
163 - Palau&lt;br /&gt;
&lt;br /&gt;
164 - Palestine&lt;br /&gt;
&lt;br /&gt;
165 - Panama &lt;br /&gt;
&lt;br /&gt;
166 - Papua New Guinea &lt;br /&gt;
&lt;br /&gt;
167 - Paraguay &lt;br /&gt;
&lt;br /&gt;
168 - Peru &lt;br /&gt;
&lt;br /&gt;
169 - Philippines&lt;br /&gt;
&lt;br /&gt;
171 - Poland &lt;br /&gt;
&lt;br /&gt;
172 - Portugal &lt;br /&gt;
&lt;br /&gt;
173 - Puerto Rico&lt;br /&gt;
&lt;br /&gt;
174 - Qatar&lt;br /&gt;
&lt;br /&gt;
175 - Reunion&lt;br /&gt;
&lt;br /&gt;
176 - Romania&lt;br /&gt;
&lt;br /&gt;
177 - Russian Federation &lt;br /&gt;
&lt;br /&gt;
178 - Rwanda &lt;br /&gt;
&lt;br /&gt;
179 - Saint Helena &lt;br /&gt;
&lt;br /&gt;
180 - Saint Kitts And Nevis&lt;br /&gt;
&lt;br /&gt;
181 - Saint Lucia&lt;br /&gt;
&lt;br /&gt;
182 - Saint Pierre And Miquelon&lt;br /&gt;
&lt;br /&gt;
183 - Saint Vincent And The Grenadines &lt;br /&gt;
&lt;br /&gt;
184 - Samoa&lt;br /&gt;
&lt;br /&gt;
185 - San Marino &lt;br /&gt;
&lt;br /&gt;
186 - Sao Tome And Principe&lt;br /&gt;
&lt;br /&gt;
187 - Saudi Arabia &lt;br /&gt;
&lt;br /&gt;
188 - Senegal&lt;br /&gt;
&lt;br /&gt;
189 - Seychelles &lt;br /&gt;
&lt;br /&gt;
190 - Sierra Leone &lt;br /&gt;
&lt;br /&gt;
191 - Singapore&lt;br /&gt;
&lt;br /&gt;
192 - Slovakia &lt;br /&gt;
&lt;br /&gt;
193 - Slovenia &lt;br /&gt;
&lt;br /&gt;
194 - Solomon Islands&lt;br /&gt;
&lt;br /&gt;
195 - Somalia&lt;br /&gt;
&lt;br /&gt;
196 - South Africa &lt;br /&gt;
&lt;br /&gt;
198 - Spain&lt;br /&gt;
&lt;br /&gt;
199 - Sri Lanka&lt;br /&gt;
&lt;br /&gt;
200 - Sudan&lt;br /&gt;
&lt;br /&gt;
201 - Suriname &lt;br /&gt;
&lt;br /&gt;
203 - Swaziland&lt;br /&gt;
&lt;br /&gt;
204 - Sweden &lt;br /&gt;
&lt;br /&gt;
205 - Switzerland&lt;br /&gt;
&lt;br /&gt;
206 - Syrian Arab Republic &lt;br /&gt;
&lt;br /&gt;
207 - Taiwan &lt;br /&gt;
&lt;br /&gt;
208 - Tajikistan &lt;br /&gt;
&lt;br /&gt;
209 - Tanzania &lt;br /&gt;
&lt;br /&gt;
210 - Thailand &lt;br /&gt;
&lt;br /&gt;
212 - Togo &lt;br /&gt;
&lt;br /&gt;
213 - Tokelau&lt;br /&gt;
&lt;br /&gt;
214 - Tonga&lt;br /&gt;
&lt;br /&gt;
215 - Trinidad And Tobago&lt;br /&gt;
&lt;br /&gt;
216 - Tunisia&lt;br /&gt;
&lt;br /&gt;
217 - Turkey &lt;br /&gt;
&lt;br /&gt;
218 - Turkmenistan &lt;br /&gt;
&lt;br /&gt;
219 - Turks And Caicos Islands &lt;br /&gt;
&lt;br /&gt;
220 - Tuvalu &lt;br /&gt;
&lt;br /&gt;
221 - Uganda &lt;br /&gt;
&lt;br /&gt;
222 - Ukraine&lt;br /&gt;
&lt;br /&gt;
223 - United Arab Emirates &lt;br /&gt;
&lt;br /&gt;
224 - United Kingdom &lt;br /&gt;
&lt;br /&gt;
225 - United States&lt;br /&gt;
&lt;br /&gt;
227 - Uruguay&lt;br /&gt;
&lt;br /&gt;
228 - Uzbekistan &lt;br /&gt;
&lt;br /&gt;
229 - Vanuatu&lt;br /&gt;
&lt;br /&gt;
230 - Venezuela&lt;br /&gt;
&lt;br /&gt;
231 - Vietnam&lt;br /&gt;
&lt;br /&gt;
232 - Virgin Islands, British&lt;br /&gt;
&lt;br /&gt;
233 - Virgin Islands, U.S. &lt;br /&gt;
&lt;br /&gt;
234 - Wallis And Futuna&lt;br /&gt;
&lt;br /&gt;
236 - Yemen&lt;br /&gt;
&lt;br /&gt;
238 - Zambia &lt;br /&gt;
&lt;br /&gt;
239 - Zimbabwe &lt;br /&gt;
&lt;br /&gt;
240 - Ascension Island &lt;br /&gt;
&lt;br /&gt;
241 - Diego Garcia &lt;br /&gt;
&lt;br /&gt;
242 - Inmarsat &lt;br /&gt;
&lt;br /&gt;
243 - East Timor &lt;br /&gt;
&lt;br /&gt;
246 - Iridium&lt;br /&gt;
&lt;br /&gt;
247 - Serbia and Montenegro&lt;br /&gt;
&lt;br /&gt;
250 - Emsat&lt;br /&gt;
&lt;br /&gt;
251 - Ellipso-3&lt;br /&gt;
&lt;br /&gt;
252 - Globalstar &lt;br /&gt;
&lt;br /&gt;
253 - Montenegro &lt;br /&gt;
&lt;br /&gt;
254 - Kosovo&lt;br /&gt;
&lt;br /&gt;
255 - South Sudan&lt;br /&gt;
&lt;br /&gt;
256 - Thuraya&lt;br /&gt;
&lt;br /&gt;
If you added new Direction you can find its ID in SETTINGS -&amp;gt; Billing -&amp;gt; Directions page '''Directions edit''' or '''Destinations list''' URL end:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:directions_id.png]]&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;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_user_details_get&amp;diff=20544</id>
		<title>MOR API user details get</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_user_details_get&amp;diff=20544"/>
		<updated>2016-01-19T08:59:54Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* Returns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
&lt;br /&gt;
[[MOR API]] user details&lt;br /&gt;
&lt;br /&gt;
'''Admin''' – can get any user details&amp;lt;br&amp;gt;&lt;br /&gt;
'''Reseller''' – can get his and his users details.&amp;lt;br&amp;gt;&lt;br /&gt;
'''User''' – can get his own details.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* From '''MOR X4''' call: '''/api/user_details_get'''&lt;br /&gt;
* For Backwards-compatibility old name 'user_details' is also usable. Call: '''/api/user_details'''&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:&lt;br /&gt;
&lt;br /&gt;
* '''user_id''' - Users ID in MOR database. '''Required if username is not used'''. Type: INTEGER&lt;br /&gt;
* '''username''' - Users Username in MOR database. '''Required if user_id is not used'''.&lt;br /&gt;
&lt;br /&gt;
You are able to use these parameter one by one or both at a time. If you use them both at a time '''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;
* '''[[MOR API hash construction | hash]]''' - SHA1 hash constructed using '''parameters''' which are listed above. You are able to use these parameter one by one or both at a time. If you use them both at a time 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''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&amp;lt;br&amp;gt;&lt;br /&gt;
* '''u''' - username for authentication. '''Required'''.&lt;br /&gt;
&lt;br /&gt;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have user_id = 123, API Secret Key = 456789&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_details_get?u=username&amp;amp;user_id=123&amp;amp;hash=f7c3bc1d808e04732adf679965ccc34ca7ae3441&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We have username = username, API Secret Key = 456789&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_details_get?u=username&amp;amp;username=username&amp;amp;hash=f7c3bc1d808e04732adf679965ccc34ca7ae3441&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We have user_id = 123, username = username, API Secret Key = 456789&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_details_get?u=username&amp;amp;user_id=123&amp;amp;username=username&amp;amp;hash=f7c3bc1d808e04732adf679965ccc34ca7ae3441&lt;br /&gt;
&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;
&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
  &amp;lt;pagename&amp;gt;Personal_details&amp;lt;/pagename&amp;gt;&lt;br /&gt;
  &amp;lt;language&amp;gt;en&amp;lt;/language&amp;gt;&lt;br /&gt;
  &amp;lt;userid&amp;gt; user id &amp;lt;/userid&amp;gt;&lt;br /&gt;
  &amp;lt;details&amp;gt;&lt;br /&gt;
    &amp;lt;main_detail&amp;gt;&lt;br /&gt;
      &amp;lt;account&amp;gt;Postpaid/Prepaid&amp;lt;/account&amp;gt;&lt;br /&gt;
      &amp;lt;balance&amp;gt; balance and currency &amp;lt;/balance&amp;gt;&lt;br /&gt;
      &amp;lt;balance_number&amp;gt; balance &amp;lt;/balance_number&amp;gt; &lt;br /&gt;
      &amp;lt;balance_currency&amp;gt; currency &amp;lt;/balance_currency&amp;gt;&lt;br /&gt;
      &amp;lt;credit&amp;gt; credit &amp;lt;/credit&amp;gt;&lt;br /&gt;
      &amp;lt;pbx_pool_id&amp;gt; id &amp;lt;/pbx_pool_id&amp;gt;&lt;br /&gt;
      &amp;lt;hide_non_answered_calls&amp;gt; 0 - off/1 - on &amp;lt;/hide_non_answered_calls&amp;gt;&lt;br /&gt;
    &amp;lt;/main_detail&amp;gt;&lt;br /&gt;
    &amp;lt;other_details&amp;gt;&lt;br /&gt;
      &amp;lt;username&amp;gt; username &amp;lt;/username&amp;gt;&lt;br /&gt;
      &amp;lt;first_name&amp;gt; first name &amp;lt;/first_name&amp;gt;&lt;br /&gt;
      &amp;lt;surname&amp;gt; last name &amp;lt;/surname&amp;gt;&lt;br /&gt;
      &amp;lt;personalid&amp;gt;&amp;lt;/personalid&amp;gt;&lt;br /&gt;
      &amp;lt;agreement_number&amp;gt; &amp;lt;/agreement_number&amp;gt;&lt;br /&gt;
      &amp;lt;agreement_date&amp;gt; &amp;lt;/agreement_date&amp;gt;&lt;br /&gt;
      &amp;lt;taxation_country&amp;gt; &amp;lt;/taxation_country&amp;gt;&lt;br /&gt;
      &amp;lt;vat_reg_number&amp;gt; &amp;lt;/vat_reg_number&amp;gt;&lt;br /&gt;
      &amp;lt;vat_percent&amp;gt; &amp;lt;/vat_percent&amp;gt;&lt;br /&gt;
      &amp;lt;call_limit&amp;gt; &amp;lt;/call_limit&amp;gt;&lt;br /&gt;
    &amp;lt;/other_details&amp;gt;&lt;br /&gt;
    &amp;lt;registration&amp;gt;&lt;br /&gt;
      &amp;lt;reg_address&amp;gt;&amp;lt;/reg_address&amp;gt;&lt;br /&gt;
      &amp;lt;reg_postcode&amp;gt;&amp;lt;/reg_postcode&amp;gt;&lt;br /&gt;
      &amp;lt;reg_city&amp;gt;&amp;lt;/reg_city&amp;gt;&lt;br /&gt;
      &amp;lt;reg_country&amp;gt;&amp;lt;/reg_country&amp;gt;&lt;br /&gt;
      &amp;lt;reg_state&amp;gt;&amp;lt;/reg_state&amp;gt;&lt;br /&gt;
      &amp;lt;reg_direction&amp;gt;&amp;lt;/reg_direction&amp;gt;&lt;br /&gt;
      &amp;lt;reg_phone&amp;gt;&amp;lt;/reg_phone&amp;gt;&lt;br /&gt;
      &amp;lt;reg_mobile&amp;gt;&amp;lt;/reg_mobile&amp;gt;&lt;br /&gt;
      &amp;lt;reg_fax&amp;gt;&amp;lt;/reg_fax&amp;gt;&lt;br /&gt;
      &amp;lt;reg_email&amp;gt;&amp;lt;/reg_email&amp;gt;&lt;br /&gt;
    &amp;lt;/registration&amp;gt;&lt;br /&gt;
  &amp;lt;/details&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;User was not found&amp;lt;/error&amp;gt; - User was not found using user_id and/or username. Use correct user_id and/or username.&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;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>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=User_Details&amp;diff=20541</id>
		<title>User Details</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=User_Details&amp;diff=20541"/>
		<updated>2016-01-14T17:29:05Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* General */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Where to find user details?=&lt;br /&gt;
&lt;br /&gt;
Go 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;
Here you can see list of all users. In brackets by the Accountant or Reseller you are able to see to which Permissions Group([[Reseller Permissions]] or [[Accountant permissions]]) they belong. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
[[File:Users_list.png]] &amp;lt;!---From MOR X4 some of cells are empty because reseller/accountant does not make calls anymore---&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
Select the [[image:icon_edit.png]] icon in window above and you will reach personal user settings page. In this window you will see a lot of options grouped into sections like General, Blocking, Warning Balance Email, Invoices, Payments, Details, Taxes, Registration Address, Recordings and Blacklists.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR X4---&amp;gt;&lt;br /&gt;
'''NOTE''' that admin is not shown in Users list. To see your own details go to '''PERSONAL MENU –&amp;gt; Details'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Details update = &lt;br /&gt;
Every User can update his own details in '''PERSONAL MENU –&amp;gt; Details'''.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To disallow users to change their details Admin/Reseller has to check setting &amp;quot;Do not allow users to change their Personal Details&amp;quot; in '''SETTINGS -&amp;gt; Setup -&amp;gt; Settings -&amp;gt; Various'''. After this User Details can only be updated by user's owner.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE''' that even if User is not allowed to update his own details, he still can see it in '''PERSONAL MENU –&amp;gt; Details''' as form with not editable options.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
&lt;br /&gt;
* Username – username for user to login to MOR GUI.&lt;br /&gt;
* Password – password for user to login to MOR GUI. Password must contain at least one numeric value, capital and lowercase symbol.&lt;br /&gt;
* [[Users#User_types | User type]] – by default it is &amp;quot;user&amp;quot;.&lt;br /&gt;
* [[LCR]] – LCR indicating which of the user's devices will be used to dial out.&lt;br /&gt;
* [[Tariffs | Tariff]] – prices for the user.  &lt;br /&gt;
* [[Balance and Credit | Balance]] – the user's balance.&lt;br /&gt;
* Daily credit limit – Total credit available for user per day. If User reaches this limit all User's calls will be dropped with hangupcause '211 Low balance for user'. This limit is reset each day at midnight (00:00:00).&lt;br /&gt;
* [[Balance and Credit | Credit]] – the user's credit, showing how low the user's balance can go.&lt;br /&gt;
* [[Minimum contract billing | Minimal Charge for Calls]] - minimum charge user pays for voice calls.&lt;br /&gt;
* [[Minimum contract billing | Minimal Charge for Calls Date]] - date since when the previous option is valid.&lt;br /&gt;
* Postpaid/Prepaid – type of user.&lt;br /&gt;
* [[Hide Users | Not Hidden/Hidden]] – is this user hidden?&lt;br /&gt;
* Primary device – the primary device for this user.&lt;br /&gt;
* [[Allow loss calls]] – should loss calls be allowed for this user?&lt;br /&gt;
* [[Simultaneous call limitation | Call Limit]] - how many simultaneous calls the user can make?&lt;br /&gt;
* Responsible accountant – dropdown to choose accountant responsible for user's profit. &lt;br /&gt;
* Hide Non-Answered calls – with this option enabled simple user sees only answered calls in [[Last Calls]] and in Detailed Statistics page. &amp;lt;!-- veikia su x5_functionality_15 --&amp;gt; &lt;br /&gt;
* Ignore Global Alerts – check and User will be ignored on checking for [[Alerts]] &amp;lt;!---from x5---&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Blocking =&lt;br /&gt;
&lt;br /&gt;
Various options for [[User Blocking]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Warning Balance Email =&lt;br /&gt;
&lt;br /&gt;
If you want to send an email notification to a user (or take another action) when his balance drops lower than a certain amount, check this setting and enter the desired amount.&lt;br /&gt;
&lt;br /&gt;
More details: [[Warning balance]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Invoices =&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:user_invoice_details.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* Generate Invoice – should we generate an invoice for this user when we choose to generate invoices for a period?&lt;br /&gt;
* Invoice, Detailed, By CallerID, By Destinations and PDF/CSV show various types of invoices which should be showed in Users ''PERSONAL MENU –&amp;gt; Details –&amp;gt; Invoices'' and/or sent to the User as an email attachment.&lt;br /&gt;
* Show zero Calls – if the call price = 0, should such calls appear in the invoice or not?&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Payments =&lt;br /&gt;
&lt;br /&gt;
* Cyberplat - check this option if you want to allow the user to use this payment gateway.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Details =&lt;br /&gt;
&lt;br /&gt;
Self-explanatory.&lt;br /&gt;
&lt;br /&gt;
If Country of Taxation is in the EU, validation of TAX Registration Number will be checked from this website: http://ec.europa.eu/taxation_customs/vies/&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Taxes =&lt;br /&gt;
&lt;br /&gt;
Here tax parameters are entered for the user.&lt;br /&gt;
&lt;br /&gt;
The tax system is explained [[Multi-Tax system | here]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Registration Address =&lt;br /&gt;
&lt;br /&gt;
Self-explanatory.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Recordings = &lt;br /&gt;
&lt;br /&gt;
This section is available when the [[Recordings Addon]] is installed in the system.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Blacklists / Whitelists=&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:user_blacklists_details.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!---FROM MOR X7---&amp;gt;&lt;br /&gt;
'''Enable static Source''' - enables static Blacklist or Whitelist&amp;lt;br&amp;gt;&lt;br /&gt;
* '''No''' - do not use any Blacklist or Whitelist&lt;br /&gt;
* '''Blacklist''' - choose [[Number Pool]] which will be used to block User from receiving and sending specific Source numbers. If User receives or sends number which is in selected [[Number Pool]] then call will be hangup with hangupcause ''262 - Source number is in blacklist''&lt;br /&gt;
* '''Whitelist''' - choose [[Number Pool]] which will be used to allow User to receive only specific Source numbers. If User receives number which is NOT in selected [[Number Pool]] then call will be hangup with hangupcause ''263 - Source number is not in whitelist''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---FROM MOR X5---&amp;gt;&lt;br /&gt;
'''Enable static Destination''' - enables static Blacklist or Whitelist&amp;lt;br&amp;gt;&lt;br /&gt;
* '''No''' - do not use any Blacklist or Whitelist&lt;br /&gt;
* '''Blacklist''' - choose [[Number Pool]] which will be used to block User from calling specific Destination numbers. If User calls number which is in selected [[Number Pool]] then call will be hangup with hangupcause ''255 - Destination is in blacklist''&lt;br /&gt;
* '''Whitelist''' - choose [[Number Pool]] which will be used to allow User to call only specific Destination numbers. If User calls number which is NOT in selected [[Number Pool]] then call will be hangup with hangupcause ''256 - Destination is not in whitelist''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Also you can manage '''[[Dynamic Blacklist Functionality]]''' settings for Single User. You are able to manage:&lt;br /&gt;
&lt;br /&gt;
'''Enable Dynamic Blacklist''' – enables dynamic Blacklist functionality for this user.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Blacklist LCR''' – [[LCR]] with Blacklist Providers.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Routing Threshold''' – sum of SRC, DST and RTP IP limit. If SRC, DST or RTP IP scores sum received during the call is bigger than Defaullt Threshold, call will be routed through selected Blacklist LCR. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose option '''Global''' if you want to apply [[ Monitorings_Addon#Monitorings_Settings | global settingas]] for this user.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Comment = &lt;br /&gt;
&lt;br /&gt;
Here you are able to write private comment about user.&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_did_details_update&amp;diff=20540</id>
		<title>MOR API did details update</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_did_details_update&amp;diff=20540"/>
		<updated>2016-01-14T17:06:50Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
&amp;lt;!---This functionality is available in MOR X5 and MOR X6---&amp;gt;&lt;br /&gt;
[[MOR API]] DID details update&lt;br /&gt;
&lt;br /&gt;
Please note that only admin, accountant(with device management) with permission and reseller can use this API. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/did_details_update&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;
Parameter which is '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* '''did_id''' – this is id of DID which have to be updated. '''Required'''.&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 '''did_id''' and API_Secret_Key ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&lt;br /&gt;
* '''u''' – username to login. '''Required'''.&lt;br /&gt;
* '''call_limit''' – call limit of did which will be updated. '''Optional'''&lt;br /&gt;
* &amp;lt;!--FROM MOR X6---&amp;gt;'''did_user_id''' –  User ID from database whom DID should be assigned. '''Just free DID can be assigned to User.''' DID can be assigned to Reseller or simple User. Set -1 to make DID free. '''Optional'''&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 API Secret Key = secret, did_id = 6511 &amp;lt;br&amp;gt;&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;server_ip&amp;gt;/billing/api/did_details_update?u=admin&amp;amp;did_id=6511&amp;amp;call_limit=999&amp;amp;hash=f7de355c9b4421ce6c705b4b32c89dbcaca51e46&lt;br /&gt;
&lt;br /&gt;
'''* Note that username is 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;
&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
  &amp;lt;status&amp;gt;&lt;br /&gt;
    &amp;lt;success&amp;gt;DID details successfully updated&amp;lt;/success&amp;gt;&lt;br /&gt;
  &amp;lt;/status&amp;gt;&lt;br /&gt;
 &amp;lt;/page&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''After successfully updating DID action log record is added.'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
'''Errors'''&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; – Specified username (u) does not exist or u is not admin, reseller or accountant with permission.&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;Call limit is incorrect format&amp;lt;/error&amp;gt; – Specified call limit has to be 0 or positive number.&lt;br /&gt;
* &amp;lt;error&amp;gt;DID is already assigned&amp;lt;/error&amp;gt; – DID is already assign to other User, Reseller or Dial Plan.&lt;br /&gt;
* &amp;lt;error&amp;gt;DID was not found&amp;lt;/error&amp;gt; – Specified did does not exist or it belongs to different username(u).&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>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Configuration_from_GUI&amp;diff=20537</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=20537"/>
		<updated>2016-01-13T14:49:50Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* Visual */&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;
* '''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. Notice that Billsec shows real Call duration, user_billsec shows Call duration after minimal time or increment applied. For example, if user tariff has 60 sec minimal time and user made a Call for 20 sec, then billsec will show 20 sec and user_billsec will show 60 sec (minimal time is applied).&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;
&lt;br /&gt;
== Calls ==&lt;br /&gt;
&lt;br /&gt;
'''SETTINGS –&amp;gt; Setup –&amp;gt; Settings –&amp;gt; Calls'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Archived calls]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Server is overloaded]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=LCR&amp;diff=20504</id>
		<title>LCR</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=LCR&amp;diff=20504"/>
		<updated>2016-01-07T10:54:48Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* Additional Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
&lt;br /&gt;
LCR (Least Cost Routing) is a set of Providers that should be used to send a call  when trying to dial any destination - for example, by the cheapest rate. &lt;br /&gt;
&lt;br /&gt;
The correct name for such a function is a Routing Table, because the function supports other ways of routing, not just finding the cheapest route.&lt;br /&gt;
&lt;br /&gt;
By default LCR supports fail-over. That is, if one provider fails, the next one is dialed. This is completely invisible for the caller and lets you increase the chances of the user reaching his destination. If one Provider is not capable of delivering a call, the system will try to use the remaining [[How_to_add_Provider_to_LCR | Providers]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Fail-over explanation==&lt;br /&gt;
&lt;br /&gt;
With such configuration:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[image:lcr_fo_case1.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
System will do following:&lt;br /&gt;
&lt;br /&gt;
* system tries to use &amp;quot;Kolmisoft PREMIUM&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
* if above fails, system tries to use &amp;quot;Kolmisoft STANDARD&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
* end.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
With such configuration:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[image:lcr_fo_case2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
System will do following:&lt;br /&gt;
* system tries to use &amp;quot;Kolmisoft PREMIUM&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
* end.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
With such configuration:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[image:lcr_fo_case3.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
System will do following:&lt;br /&gt;
* system tries to use &amp;quot;Kolmisoft PREMIUM&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
* if above fails, system tries to use &amp;quot;Kolmisoft STANDARD&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
* if above fails, system tries to use provider &amp;quot;112&amp;quot; even if its rate is higher than User rate;&lt;br /&gt;
&lt;br /&gt;
* end.&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; LCR'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:lcr_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you can see the list off all LCRs&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:lcr_main.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* Name – name of LCR.&lt;br /&gt;
* Order – type of routing mode.&lt;br /&gt;
* Providers – quantity of providers in LCR. Click on it to [[How_to_add_Provider_to_LCR | Add Providers to LCR]]&lt;br /&gt;
* [[Call_routing_per_destination_basis | By destination]]&lt;br /&gt;
* Usage Details – the list of Users and Card Groups where this LCR is used.&lt;br /&gt;
* [[LCR make tariff | Make Tariff from LCR Providers to CSV]] – feature that gets you a CSV with the MIN/MAX prices selected from the list of Providers in LCR. Click on the [[Image:excel.png]] icon and the download should start automatically. (De-activated provider will be taken into CSV. &amp;quot;by Destination&amp;quot; will not be taken into CSV)&lt;br /&gt;
* LCR copy – press on icon to make LCR copy.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Supported routing modes==&lt;br /&gt;
&lt;br /&gt;
* [[Call Routing by price|By Price]] - cheapest first (Least Cost Routing).&lt;br /&gt;
* [[Call Routing by priority (Manual LCR) | By priority]].&lt;br /&gt;
* [[Routing by Percent| By percent]] or Weight-based routing.&lt;br /&gt;
&lt;br /&gt;
The user has one base LCR, so that all his calls are routed by some preset rule.&lt;br /&gt;
&lt;br /&gt;
It is possible to route different destinations for a User using [[Call routing per destination basis]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Creation==&lt;br /&gt;
Press [[Image:icon_add.png]]'''New LCR''' to create LCR.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== VIDEO: How to create LCR ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
 &amp;lt;iframe width=&amp;quot;640&amp;quot; height=&amp;quot;360&amp;quot; src=&amp;quot;http://www.youtube.com/embed/7sCaBH35hXc&amp;quot; frameborder=&amp;quot;0&amp;quot;&amp;gt;&amp;lt;/iframe&amp;gt; &lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Additional Configuration==&lt;br /&gt;
&lt;br /&gt;
Go to LCRs list and press [[image:icon_edit.png]] icon. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:lcr_time_periods.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''First Providers percent limit''' - visable when order by Price is selected. If following Providers will have higher price by this percent compared to first Provider, these Providers will be skipped. 0 value disables use of this setting.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Minimal Rate Margin Percent''' - use only those Providers which generate profit (per minute) equal or higher than defined percentage value in this field. For example, if you pay to your Provider 1 EUR/min and your Minimal Rate Margin Percent is set to 50%, then only calls with user rate equal or higher than 1.5 EUR/min are allowed to call. After 1 min of call, you will pay 1 EUR to you provider and user will pay you 1.5 EUR. Your profit will be 0.5 EUR which is 50% more of what you paid to your Provider. If you Minimal Rate Margin is -30%, then you allow some losses in your calls. If you pay 1 EUR to your Provider after 1 minute of call, then user should pay you 0.7 EUR or more. You will pay 1 EUR and you will get 0.7 EUR which is 30% less of what you paid.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===LCR Time Periods===&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR X4---&amp;gt;&lt;br /&gt;
Sometimes there is such demand to change LCR for some time period. This functionality gives you an ability to do that. In LCR edit page time periods can be set. &lt;br /&gt;
&lt;br /&gt;
Time period defines the exact time period LCR will be active. There is a limit of five periods in one LCR. Rest of the time will be used main LCR.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Examples'''&lt;br /&gt;
&lt;br /&gt;
# Select '''Date''' from 1 of January to 28 of February and choose '''Hour : Minute''' from 09:00 to 18:59. Selected LCR will be used from 1 of January till 28 of February at time from 09:00 till 18:59.&lt;br /&gt;
# Select just '''Hour : Minute''' from 19:00 to 08:59 and selected LCR will be used every day at time from 19:00 till 08:59.&lt;br /&gt;
# Select '''Weekday''' from Monday to Friday and choose '''Hour : Minute''' from 13:00 to 15:59. Selected LCR will be used  every week from Monday till Friday at time from 13:00 till 15:59.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Copying LCRs between resellers==&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 12---&amp;gt;&lt;br /&gt;
Sometimes you need to make a LCR which takes quite a long time to make. If you have made a similar one before you can just copy it and change appropriate details. &lt;br /&gt;
&lt;br /&gt;
Go to '''SETTINGS''' -&amp;gt; '''Billing''' -&amp;gt; '''LCR''' -&amp;gt; '''Copy LCR'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:lcr_copy_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You will see this window:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:lcr_copy.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Choose ''Original LCR reseller'' and ''Cloned LCR reseller'' and click ''Clone'' button.&lt;br /&gt;
&lt;br /&gt;
Please note that LCR will not be allowed to copy if reseller B is not allowed to use Providers which are used by Reseller A.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[LCR Logic]]&lt;br /&gt;
* [[How to add Provider to LCR]]&lt;br /&gt;
* [[Call Routing by price]]&lt;br /&gt;
* [[Call Routing by priority (Manual LCR) | Call Routing by priority ]]&lt;br /&gt;
* [[Routing by Percent | Call Routing by percent]] or Weight-based routing&lt;br /&gt;
* [[Call routing per destination basis]]&lt;br /&gt;
* [[LCR/Tariff change based on call prefix]]&lt;br /&gt;
* [[Why call was not routed through other provider/trunk?|Why was a call not routed through another provider/trunk?]]&lt;br /&gt;
* [[LCR_make_tariff|Make Tariff from LCR Providers to CSV]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=LCR&amp;diff=20503</id>
		<title>LCR</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=LCR&amp;diff=20503"/>
		<updated>2016-01-07T10:54:31Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* Additional Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
&lt;br /&gt;
LCR (Least Cost Routing) is a set of Providers that should be used to send a call  when trying to dial any destination - for example, by the cheapest rate. &lt;br /&gt;
&lt;br /&gt;
The correct name for such a function is a Routing Table, because the function supports other ways of routing, not just finding the cheapest route.&lt;br /&gt;
&lt;br /&gt;
By default LCR supports fail-over. That is, if one provider fails, the next one is dialed. This is completely invisible for the caller and lets you increase the chances of the user reaching his destination. If one Provider is not capable of delivering a call, the system will try to use the remaining [[How_to_add_Provider_to_LCR | Providers]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Fail-over explanation==&lt;br /&gt;
&lt;br /&gt;
With such configuration:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[image:lcr_fo_case1.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
System will do following:&lt;br /&gt;
&lt;br /&gt;
* system tries to use &amp;quot;Kolmisoft PREMIUM&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
* if above fails, system tries to use &amp;quot;Kolmisoft STANDARD&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
* end.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
With such configuration:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[image:lcr_fo_case2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
System will do following:&lt;br /&gt;
* system tries to use &amp;quot;Kolmisoft PREMIUM&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
* end.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
With such configuration:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[image:lcr_fo_case3.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
System will do following:&lt;br /&gt;
* system tries to use &amp;quot;Kolmisoft PREMIUM&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
* if above fails, system tries to use &amp;quot;Kolmisoft STANDARD&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
* if above fails, system tries to use provider &amp;quot;112&amp;quot; even if its rate is higher than User rate;&lt;br /&gt;
&lt;br /&gt;
* end.&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; LCR'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:lcr_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you can see the list off all LCRs&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:lcr_main.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* Name – name of LCR.&lt;br /&gt;
* Order – type of routing mode.&lt;br /&gt;
* Providers – quantity of providers in LCR. Click on it to [[How_to_add_Provider_to_LCR | Add Providers to LCR]]&lt;br /&gt;
* [[Call_routing_per_destination_basis | By destination]]&lt;br /&gt;
* Usage Details – the list of Users and Card Groups where this LCR is used.&lt;br /&gt;
* [[LCR make tariff | Make Tariff from LCR Providers to CSV]] – feature that gets you a CSV with the MIN/MAX prices selected from the list of Providers in LCR. Click on the [[Image:excel.png]] icon and the download should start automatically. (De-activated provider will be taken into CSV. &amp;quot;by Destination&amp;quot; will not be taken into CSV)&lt;br /&gt;
* LCR copy – press on icon to make LCR copy.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Supported routing modes==&lt;br /&gt;
&lt;br /&gt;
* [[Call Routing by price|By Price]] - cheapest first (Least Cost Routing).&lt;br /&gt;
* [[Call Routing by priority (Manual LCR) | By priority]].&lt;br /&gt;
* [[Routing by Percent| By percent]] or Weight-based routing.&lt;br /&gt;
&lt;br /&gt;
The user has one base LCR, so that all his calls are routed by some preset rule.&lt;br /&gt;
&lt;br /&gt;
It is possible to route different destinations for a User using [[Call routing per destination basis]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Creation==&lt;br /&gt;
Press [[Image:icon_add.png]]'''New LCR''' to create LCR.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== VIDEO: How to create LCR ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
 &amp;lt;iframe width=&amp;quot;640&amp;quot; height=&amp;quot;360&amp;quot; src=&amp;quot;http://www.youtube.com/embed/7sCaBH35hXc&amp;quot; frameborder=&amp;quot;0&amp;quot;&amp;gt;&amp;lt;/iframe&amp;gt; &lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Additional Configuration==&lt;br /&gt;
&lt;br /&gt;
Go to LCRs list and press [[image:icon_edit.png]] icon. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:lcr_time_periods.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''First Providers percent limit''' - visable when order by Price is selected. If following Providers will have higher price by this percent compared to first Provider, these Providers will be skipped. 0 value disables use of this setting. ', WIDTH, -600, TITLE, 'First Providers percent limit.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Minimal Rate Margin Percent''' - use only those Providers which generate profit (per minute) equal or higher than defined percentage value in this field. For example, if you pay to your Provider 1 EUR/min and your Minimal Rate Margin Percent is set to 50%, then only calls with user rate equal or higher than 1.5 EUR/min are allowed to call. After 1 min of call, you will pay 1 EUR to you provider and user will pay you 1.5 EUR. Your profit will be 0.5 EUR which is 50% more of what you paid to your Provider. If you Minimal Rate Margin is -30%, then you allow some losses in your calls. If you pay 1 EUR to your Provider after 1 minute of call, then user should pay you 0.7 EUR or more. You will pay 1 EUR and you will get 0.7 EUR which is 30% less of what you paid.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===LCR Time Periods===&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR X4---&amp;gt;&lt;br /&gt;
Sometimes there is such demand to change LCR for some time period. This functionality gives you an ability to do that. In LCR edit page time periods can be set. &lt;br /&gt;
&lt;br /&gt;
Time period defines the exact time period LCR will be active. There is a limit of five periods in one LCR. Rest of the time will be used main LCR.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Examples'''&lt;br /&gt;
&lt;br /&gt;
# Select '''Date''' from 1 of January to 28 of February and choose '''Hour : Minute''' from 09:00 to 18:59. Selected LCR will be used from 1 of January till 28 of February at time from 09:00 till 18:59.&lt;br /&gt;
# Select just '''Hour : Minute''' from 19:00 to 08:59 and selected LCR will be used every day at time from 19:00 till 08:59.&lt;br /&gt;
# Select '''Weekday''' from Monday to Friday and choose '''Hour : Minute''' from 13:00 to 15:59. Selected LCR will be used  every week from Monday till Friday at time from 13:00 till 15:59.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Copying LCRs between resellers==&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 12---&amp;gt;&lt;br /&gt;
Sometimes you need to make a LCR which takes quite a long time to make. If you have made a similar one before you can just copy it and change appropriate details. &lt;br /&gt;
&lt;br /&gt;
Go to '''SETTINGS''' -&amp;gt; '''Billing''' -&amp;gt; '''LCR''' -&amp;gt; '''Copy LCR'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:lcr_copy_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You will see this window:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:lcr_copy.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Choose ''Original LCR reseller'' and ''Cloned LCR reseller'' and click ''Clone'' button.&lt;br /&gt;
&lt;br /&gt;
Please note that LCR will not be allowed to copy if reseller B is not allowed to use Providers which are used by Reseller A.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[LCR Logic]]&lt;br /&gt;
* [[How to add Provider to LCR]]&lt;br /&gt;
* [[Call Routing by price]]&lt;br /&gt;
* [[Call Routing by priority (Manual LCR) | Call Routing by priority ]]&lt;br /&gt;
* [[Routing by Percent | Call Routing by percent]] or Weight-based routing&lt;br /&gt;
* [[Call routing per destination basis]]&lt;br /&gt;
* [[LCR/Tariff change based on call prefix]]&lt;br /&gt;
* [[Why call was not routed through other provider/trunk?|Why was a call not routed through another provider/trunk?]]&lt;br /&gt;
* [[LCR_make_tariff|Make Tariff from LCR Providers to CSV]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=LCR&amp;diff=20502</id>
		<title>LCR</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=LCR&amp;diff=20502"/>
		<updated>2016-01-07T10:54:18Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
&lt;br /&gt;
LCR (Least Cost Routing) is a set of Providers that should be used to send a call  when trying to dial any destination - for example, by the cheapest rate. &lt;br /&gt;
&lt;br /&gt;
The correct name for such a function is a Routing Table, because the function supports other ways of routing, not just finding the cheapest route.&lt;br /&gt;
&lt;br /&gt;
By default LCR supports fail-over. That is, if one provider fails, the next one is dialed. This is completely invisible for the caller and lets you increase the chances of the user reaching his destination. If one Provider is not capable of delivering a call, the system will try to use the remaining [[How_to_add_Provider_to_LCR | Providers]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Fail-over explanation==&lt;br /&gt;
&lt;br /&gt;
With such configuration:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[image:lcr_fo_case1.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
System will do following:&lt;br /&gt;
&lt;br /&gt;
* system tries to use &amp;quot;Kolmisoft PREMIUM&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
* if above fails, system tries to use &amp;quot;Kolmisoft STANDARD&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
* end.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
With such configuration:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[image:lcr_fo_case2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
System will do following:&lt;br /&gt;
* system tries to use &amp;quot;Kolmisoft PREMIUM&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
* end.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
With such configuration:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[image:lcr_fo_case3.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
System will do following:&lt;br /&gt;
* system tries to use &amp;quot;Kolmisoft PREMIUM&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
* if above fails, system tries to use &amp;quot;Kolmisoft STANDARD&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
* if above fails, system tries to use provider &amp;quot;112&amp;quot; even if its rate is higher than User rate;&lt;br /&gt;
&lt;br /&gt;
* end.&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; LCR'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:lcr_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Here you can see the list off all LCRs&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:lcr_main.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
* Name – name of LCR.&lt;br /&gt;
* Order – type of routing mode.&lt;br /&gt;
* Providers – quantity of providers in LCR. Click on it to [[How_to_add_Provider_to_LCR | Add Providers to LCR]]&lt;br /&gt;
* [[Call_routing_per_destination_basis | By destination]]&lt;br /&gt;
* Usage Details – the list of Users and Card Groups where this LCR is used.&lt;br /&gt;
* [[LCR make tariff | Make Tariff from LCR Providers to CSV]] – feature that gets you a CSV with the MIN/MAX prices selected from the list of Providers in LCR. Click on the [[Image:excel.png]] icon and the download should start automatically. (De-activated provider will be taken into CSV. &amp;quot;by Destination&amp;quot; will not be taken into CSV)&lt;br /&gt;
* LCR copy – press on icon to make LCR copy.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Supported routing modes==&lt;br /&gt;
&lt;br /&gt;
* [[Call Routing by price|By Price]] - cheapest first (Least Cost Routing).&lt;br /&gt;
* [[Call Routing by priority (Manual LCR) | By priority]].&lt;br /&gt;
* [[Routing by Percent| By percent]] or Weight-based routing.&lt;br /&gt;
&lt;br /&gt;
The user has one base LCR, so that all his calls are routed by some preset rule.&lt;br /&gt;
&lt;br /&gt;
It is possible to route different destinations for a User using [[Call routing per destination basis]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Creation==&lt;br /&gt;
Press [[Image:icon_add.png]]'''New LCR''' to create LCR.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== VIDEO: How to create LCR ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
 &amp;lt;iframe width=&amp;quot;640&amp;quot; height=&amp;quot;360&amp;quot; src=&amp;quot;http://www.youtube.com/embed/7sCaBH35hXc&amp;quot; frameborder=&amp;quot;0&amp;quot;&amp;gt;&amp;lt;/iframe&amp;gt; &lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Additional Configuration==&lt;br /&gt;
&lt;br /&gt;
Go to LCRs list and press [[image:icon_edit.png]] icon. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:lcr_time_periods.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''First Providers percent limit''' - visable when order by Price is selected. If following Providers will have higher price by this percent compared to first Provider, these Providers will be skipped. 0 value disables use of this setting. ', WIDTH, -600, TITLE, 'First Providers percent limit.&lt;br /&gt;
'''Minimal Rate Margin Percent''' - use only those Providers which generate profit (per minute) equal or higher than defined percentage value in this field. For example, if you pay to your Provider 1 EUR/min and your Minimal Rate Margin Percent is set to 50%, then only calls with user rate equal or higher than 1.5 EUR/min are allowed to call. After 1 min of call, you will pay 1 EUR to you provider and user will pay you 1.5 EUR. Your profit will be 0.5 EUR which is 50% more of what you paid to your Provider. If you Minimal Rate Margin is -30%, then you allow some losses in your calls. If you pay 1 EUR to your Provider after 1 minute of call, then user should pay you 0.7 EUR or more. You will pay 1 EUR and you will get 0.7 EUR which is 30% less of what you paid.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===LCR Time Periods===&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR X4---&amp;gt;&lt;br /&gt;
Sometimes there is such demand to change LCR for some time period. This functionality gives you an ability to do that. In LCR edit page time periods can be set. &lt;br /&gt;
&lt;br /&gt;
Time period defines the exact time period LCR will be active. There is a limit of five periods in one LCR. Rest of the time will be used main LCR.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Examples'''&lt;br /&gt;
&lt;br /&gt;
# Select '''Date''' from 1 of January to 28 of February and choose '''Hour : Minute''' from 09:00 to 18:59. Selected LCR will be used from 1 of January till 28 of February at time from 09:00 till 18:59.&lt;br /&gt;
# Select just '''Hour : Minute''' from 19:00 to 08:59 and selected LCR will be used every day at time from 19:00 till 08:59.&lt;br /&gt;
# Select '''Weekday''' from Monday to Friday and choose '''Hour : Minute''' from 13:00 to 15:59. Selected LCR will be used  every week from Monday till Friday at time from 13:00 till 15:59.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
==Copying LCRs between resellers==&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR 12---&amp;gt;&lt;br /&gt;
Sometimes you need to make a LCR which takes quite a long time to make. If you have made a similar one before you can just copy it and change appropriate details. &lt;br /&gt;
&lt;br /&gt;
Go to '''SETTINGS''' -&amp;gt; '''Billing''' -&amp;gt; '''LCR''' -&amp;gt; '''Copy LCR'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:lcr_copy_path.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You will see this window:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:lcr_copy.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Choose ''Original LCR reseller'' and ''Cloned LCR reseller'' and click ''Clone'' button.&lt;br /&gt;
&lt;br /&gt;
Please note that LCR will not be allowed to copy if reseller B is not allowed to use Providers which are used by Reseller A.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[LCR Logic]]&lt;br /&gt;
* [[How to add Provider to LCR]]&lt;br /&gt;
* [[Call Routing by price]]&lt;br /&gt;
* [[Call Routing by priority (Manual LCR) | Call Routing by priority ]]&lt;br /&gt;
* [[Routing by Percent | Call Routing by percent]] or Weight-based routing&lt;br /&gt;
* [[Call routing per destination basis]]&lt;br /&gt;
* [[LCR/Tariff change based on call prefix]]&lt;br /&gt;
* [[Why call was not routed through other provider/trunk?|Why was a call not routed through another provider/trunk?]]&lt;br /&gt;
* [[LCR_make_tariff|Make Tariff from LCR Providers to CSV]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Lcr_fo_case3.png&amp;diff=20501</id>
		<title>File:Lcr fo case3.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Lcr_fo_case3.png&amp;diff=20501"/>
		<updated>2016-01-07T10:42:29Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: uploaded a new version of &amp;quot;File:Lcr fo case3.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Lcr_fo_case2.png&amp;diff=20500</id>
		<title>File:Lcr fo case2.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Lcr_fo_case2.png&amp;diff=20500"/>
		<updated>2016-01-07T10:42:15Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: uploaded a new version of &amp;quot;File:Lcr fo case2.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Lcr_fo_case1.png&amp;diff=20499</id>
		<title>File:Lcr fo case1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Lcr_fo_case1.png&amp;diff=20499"/>
		<updated>2016-01-07T10:41:54Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: uploaded a new version of &amp;quot;File:Lcr fo case1.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Lcr_time_periods.png&amp;diff=20498</id>
		<title>File:Lcr time periods.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Lcr_time_periods.png&amp;diff=20498"/>
		<updated>2016-01-07T10:31:29Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: uploaded a new version of &amp;quot;File:Lcr time periods.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API&amp;diff=20341</id>
		<title>MOR API</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API&amp;diff=20341"/>
		<updated>2015-12-01T15:58:51Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* Device */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:warning.png|100px|alt=&amp;quot;warning&amp;quot;|link=]]&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;IMPORTANT!!! API methods described here are for MOR X6. For previous versions please check appropriate [http://wiki.kolmisoft.com/index.php/MOR_Manual#Old_Manuals manual].&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
[[File:api.png|right|alt=&amp;quot;api&amp;quot;|link=]]&lt;br /&gt;
&amp;lt;mkmeta&amp;gt;Application Program Interface for MOR Class 5 Softswitch&amp;lt;/mkmeta&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=About=&lt;br /&gt;
MOR API lets other software interact with MOR without knowing the internal structure of the database (DB) and other logic.&lt;br /&gt;
&lt;br /&gt;
MOR accepts requests by HTML POST and returns results in XML.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=MOR users that are allowed to use MOR API=&lt;br /&gt;
* Admin&lt;br /&gt;
* Reseller&lt;br /&gt;
* Accountant - only by using Admin Hash and Secret key&lt;br /&gt;
* Simple User&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Functions=&lt;br /&gt;
&lt;br /&gt;
== API Related ==&lt;br /&gt;
* [[API Configuration]] – configuration options for API.&lt;br /&gt;
* [[MOR API hash construction|Hash construction]] – how to construct hash to authenticate data over API.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Balance==&lt;br /&gt;
* [[MOR API user balance update | user_balance_update]] (change_user_balance) – changes User's Balance&lt;br /&gt;
Various methods to retrieve User balance&lt;br /&gt;
* [[MOR API user_balance_get|user_balance_get]] (balance) – retrieves a User Balance.&lt;br /&gt;
* [[Balance in phone | user_simple_balance_get]] (simple_balance) – gets User's Balance&lt;br /&gt;
* [[MOR API user balance get by psw | user_balance_get_by_psw]] – gets User's Balance by his owned Device's Password&lt;br /&gt;
* [[MOR API User Balance get by Username | user_balance_get_by_username]] – gets User's Balance by his owned Device's Username&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Callback==&lt;br /&gt;
* [[MOR API callback init|callback_init]] (callback) – initiates callback.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Calling Cards==&lt;br /&gt;
* [[MOR API card_by_cli_update| card_by_cli_update]] (cc_by_cli) – creates and updates calling cards, including adding and transferring funds, by being identified according the Caller_ID.&lt;br /&gt;
* [[MOR API card_from_group_sell| card_from_group_sell]] (buy_card_from_callingroup) – sells cards from calling card group.&lt;br /&gt;
* [[MOR API card_group_get| card_group_get]] (show_calling_card_group) – show calling group info.&lt;br /&gt;
* [[MOR API card_balance_get| card_balance_get]] (card_balance_get) – show card's balance.&lt;br /&gt;
* [[MOR API card_payment_add| card_payment_add]] – add payment to the calling card.&lt;br /&gt;
* [[MOR_API_Calling_Cards_create| calling_cards_create]] – create Calling Cards.&lt;br /&gt;
* [[MOR_API_Calling_Card_update| calling_card_update]] – update Calling Card.&lt;br /&gt;
* [[MOR_API_Calling_Cards_get| calling_cards_get]] - get Calling Cards.&lt;br /&gt;
* [[MOR_API_Card_Group_create| cc_group_create]] – create Card Group.&lt;br /&gt;
* [[MOR_API_Card_Group_update| cc_group_update]] – update Card Group.&lt;br /&gt;
* [[MOR API Card Groups get| cc_groups_get]] – show Calling Cards Group info.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Calls==&lt;br /&gt;
* [[MOR API user calls get|user_calls_get]] (user_calls) – retrieves a list of calls in a selected time period for a user/device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Conflines==&lt;br /&gt;
* [[MOR API conflines update|conflines_update]] – changes settings for API, Default User or Default Device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Credit notes==&lt;br /&gt;
* [[MOR API credit_notes_get| credit_notes_get]] (credit_notes) – credit notes list.&lt;br /&gt;
* [[MOR API credit_note_update| credit_note_update]] – credit note update.&lt;br /&gt;
* [[MOR API credit_notes_create| credit_note_create]] – credit note create.&lt;br /&gt;
* [[MOR API credit_notes_delete| credit_note_delete]] – credit note delete.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Device==&lt;br /&gt;
&lt;br /&gt;
* [[MOR API device create| device_create]] – create device&lt;br /&gt;
* [[MOR_API_device_update | device_update]]  –  updates location_id of selected Device.&lt;br /&gt;
* [[MOR API device delete| device_delete]] (delete_device) – delete device&lt;br /&gt;
* [[MOR API devices get | devices_get]] (device_list) – users device list&lt;br /&gt;
* [[MOR API device details get | device_details_get]] – shows all information about specified device.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* [[MOR API device callflow get| device_callflow_get]] - returns information about specified device callflow state.&lt;br /&gt;
* [[MOR API device callflow update | device_callflow_update]] – updates information of specified device callflow state. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* [[MOR API CLI info get | cli_info_get]] (cli_get_info) – shows id of device where CLI belongs.&lt;br /&gt;
* [[MOR API CLI delete | cli_delete]] – deletes specified CLI. &lt;br /&gt;
* [[MOR API CLI add | cli_add]] – creates CLI and assigns it to the specified device.&lt;br /&gt;
* [[MOR API device clis get | device_clis_get]] – CLIs list by User and/or Device&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DID==&lt;br /&gt;
&lt;br /&gt;
* [[MOR API dids get| dids_get]] – get list of particular DIDs&lt;br /&gt;
* [[MOR API did_create| did_create]] – DID create&lt;br /&gt;
* [[MOR_API_did_device_assign| did_device_assign]] (did_assign_device) – Assign Device to DID&lt;br /&gt;
* [[MOR_API_did_device_unassign| did_device_unassign]] (did_unassign_device) – Unassign Device from DID&lt;br /&gt;
* [[MOR_API_did_details_update| did_details_update]] (did_details_update) – Update DID details &lt;br /&gt;
* [[MOR API did subscription stop|did_subscription_stop]] – STOP DID subscription&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Email==&lt;br /&gt;
* [[MOR API email send| email_send]] (send_email) – send Email.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Financial statements==&lt;br /&gt;
* [[MOR API financial_statements_get| financial_statements_get]] (financial_statements) – financial statements list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Invoices==&lt;br /&gt;
* [[MOR API invoices_get|invoices_get]] (invoices) – retrieves a list of invoices in a selected time period.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Login==&lt;br /&gt;
* [[MOR API user_login|user_login]] (login) – logs user in to MOR.&lt;br /&gt;
* [[MOR API user_logout|user_logout]] (logout) – logs user out from MOR.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Monitorings==&lt;br /&gt;
* [[MOR API ma_activate_api| ma_activate]] – turn on monitorings addon&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Payments==&lt;br /&gt;
* [[MOR API payment_create| payment_create]] (create_payment) – create payment.&lt;br /&gt;
* [[MOR API payments_get| payments_get]] (payments_list) – payments list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Phonebooks==&lt;br /&gt;
* [[MOR API phonebooks_get| phonebooks_get]] (phonebooks_api ) – phonebooks list.&lt;br /&gt;
* [[MOR API phonebook_edit| phonebook_edit]] (phonebook_edit_api) – edit phonebook.&lt;br /&gt;
* [[MOR API phonebook_record_create| phonebook_record_create]]  – create phonebook.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Quickforwards==&lt;br /&gt;
* [[MOR API Quickforwards get| quickforwards_dids_get]] (quickforwards_dids_get) – get Quickforwards.&lt;br /&gt;
* [[MOR API Quickforwards update| quickforwards_did_update]] (quickforwards_did_update) – update Quickforwards.&lt;br /&gt;
* [[MOR API Quickforwards delete| quickforwards_did_delete]] (quickforwards_did_delete) – delete Quickforwards.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Rates==&lt;br /&gt;
* [[MOR API rate get|rate_get]] (rate) – check user rate by prefix&lt;br /&gt;
* [[MOR API tariff rates get| tariff_rates_get]] (get_tariff) – get all tariff's rates&lt;br /&gt;
* [[MOR API tariff_retail_import | tariff_retail_import ]] (import_relail_tariff) – import xml retail tariff&lt;br /&gt;
* [[MOR API tariff_wholesale_update | tariff_wholesale_update ]] (wholesale_tariff) – update or create wholesale tariff&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Services==&lt;br /&gt;
* [[MOR API Service create| service_create]] – create Service.&lt;br /&gt;
* [[MOR API Service delete| service_delete]] – delete Service.&lt;br /&gt;
* [[MOR API Services get| services_get]] – get Services.&lt;br /&gt;
* [[MOR API Service update| service_update]] – update Service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SMS==&lt;br /&gt;
* [[MOR API sms send| sms_send]] (send_sms) – send SMS.&lt;br /&gt;
* [[MOR_API_user_sms_service_subscribe | user_sms_service_subscribe ]] – User subscription to SMS Service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Subscriptions==&lt;br /&gt;
* [[MOR API subscription delete|subscription_delete]] - Subscription delete.&lt;br /&gt;
* [[MOR API Subscriptions get|subscriptions_get]] - Subscriptions get.&lt;br /&gt;
* [[MOR API subscription create|subscription_create]] - Subscription create.&lt;br /&gt;
* [[MOR API subscription update|subscription_update]] - Subscription delete.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==User==&lt;br /&gt;
&lt;br /&gt;
* [[MOR API user_register| user_register]] – create new user from params.&lt;br /&gt;
* [[MOR API user_details_get | user_details_get]] (user_details) – gets user details.&lt;br /&gt;
* [[MOR_API_user_details_update| user_details_update]] (user_update_api) – update user from params.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resellers ==&lt;br /&gt;
* [[MOR API reseller group create]] - create new Reseller Group&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Version==&lt;br /&gt;
* [[MOR API system version get| system_version_get]] (get_version) – get MOR version number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
= Examples =&lt;br /&gt;
* [[MOR API PHP Examples]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=HTML POST=&lt;br /&gt;
All requests are in a similar format:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/&amp;lt;function&amp;gt;?u=username&lt;br /&gt;
&lt;br /&gt;
* username - the user name and password of the user who is asking for the data. &lt;br /&gt;
&lt;br /&gt;
If the user has 'admin' rights, he will get more results and  can perform more actions compared to a user who does not have such rights.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Useful to know=&lt;br /&gt;
&lt;br /&gt;
* All API methods returns data straight from database. It means that MOR GUI settings does not affect data, it will be returned as it is saved in database. For example:&lt;br /&gt;
** Value of money will be returned in Default System [[Currencies|Currency]].&lt;br /&gt;
** Date will not be affected of [[Configuration_from_GUI#Visual| Default date format]] setting.&lt;br /&gt;
** Value of money will not be affected of [[Configuration_from_GUI#Visual|Number digits]] setting.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also =&lt;br /&gt;
* [[API Configuration]]&lt;br /&gt;
* [[MOR integration]]&lt;br /&gt;
* [[How to block access to some API functions]]&lt;br /&gt;
* [[API specification to be implemented in the future]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API&amp;diff=20340</id>
		<title>MOR API</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API&amp;diff=20340"/>
		<updated>2015-12-01T15:57:57Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* Device */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:warning.png|100px|alt=&amp;quot;warning&amp;quot;|link=]]&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;IMPORTANT!!! API methods described here are for MOR X6. For previous versions please check appropriate [http://wiki.kolmisoft.com/index.php/MOR_Manual#Old_Manuals manual].&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
[[File:api.png|right|alt=&amp;quot;api&amp;quot;|link=]]&lt;br /&gt;
&amp;lt;mkmeta&amp;gt;Application Program Interface for MOR Class 5 Softswitch&amp;lt;/mkmeta&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=About=&lt;br /&gt;
MOR API lets other software interact with MOR without knowing the internal structure of the database (DB) and other logic.&lt;br /&gt;
&lt;br /&gt;
MOR accepts requests by HTML POST and returns results in XML.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=MOR users that are allowed to use MOR API=&lt;br /&gt;
* Admin&lt;br /&gt;
* Reseller&lt;br /&gt;
* Accountant - only by using Admin Hash and Secret key&lt;br /&gt;
* Simple User&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Functions=&lt;br /&gt;
&lt;br /&gt;
== API Related ==&lt;br /&gt;
* [[API Configuration]] – configuration options for API.&lt;br /&gt;
* [[MOR API hash construction|Hash construction]] – how to construct hash to authenticate data over API.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Balance==&lt;br /&gt;
* [[MOR API user balance update | user_balance_update]] (change_user_balance) – changes User's Balance&lt;br /&gt;
Various methods to retrieve User balance&lt;br /&gt;
* [[MOR API user_balance_get|user_balance_get]] (balance) – retrieves a User Balance.&lt;br /&gt;
* [[Balance in phone | user_simple_balance_get]] (simple_balance) – gets User's Balance&lt;br /&gt;
* [[MOR API user balance get by psw | user_balance_get_by_psw]] – gets User's Balance by his owned Device's Password&lt;br /&gt;
* [[MOR API User Balance get by Username | user_balance_get_by_username]] – gets User's Balance by his owned Device's Username&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Callback==&lt;br /&gt;
* [[MOR API callback init|callback_init]] (callback) – initiates callback.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Calling Cards==&lt;br /&gt;
* [[MOR API card_by_cli_update| card_by_cli_update]] (cc_by_cli) – creates and updates calling cards, including adding and transferring funds, by being identified according the Caller_ID.&lt;br /&gt;
* [[MOR API card_from_group_sell| card_from_group_sell]] (buy_card_from_callingroup) – sells cards from calling card group.&lt;br /&gt;
* [[MOR API card_group_get| card_group_get]] (show_calling_card_group) – show calling group info.&lt;br /&gt;
* [[MOR API card_balance_get| card_balance_get]] (card_balance_get) – show card's balance.&lt;br /&gt;
* [[MOR API card_payment_add| card_payment_add]] – add payment to the calling card.&lt;br /&gt;
* [[MOR_API_Calling_Cards_create| calling_cards_create]] – create Calling Cards.&lt;br /&gt;
* [[MOR_API_Calling_Card_update| calling_card_update]] – update Calling Card.&lt;br /&gt;
* [[MOR_API_Calling_Cards_get| calling_cards_get]] - get Calling Cards.&lt;br /&gt;
* [[MOR_API_Card_Group_create| cc_group_create]] – create Card Group.&lt;br /&gt;
* [[MOR_API_Card_Group_update| cc_group_update]] – update Card Group.&lt;br /&gt;
* [[MOR API Card Groups get| cc_groups_get]] – show Calling Cards Group info.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Calls==&lt;br /&gt;
* [[MOR API user calls get|user_calls_get]] (user_calls) – retrieves a list of calls in a selected time period for a user/device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Conflines==&lt;br /&gt;
* [[MOR API conflines update|conflines_update]] – changes settings for API, Default User or Default Device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Credit notes==&lt;br /&gt;
* [[MOR API credit_notes_get| credit_notes_get]] (credit_notes) – credit notes list.&lt;br /&gt;
* [[MOR API credit_note_update| credit_note_update]] – credit note update.&lt;br /&gt;
* [[MOR API credit_notes_create| credit_note_create]] – credit note create.&lt;br /&gt;
* [[MOR API credit_notes_delete| credit_note_delete]] – credit note delete.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Device==&lt;br /&gt;
&lt;br /&gt;
* [[MOR API device create| device_create]] – create device&lt;br /&gt;
* [[MOR_API_device_update | device_update]]  –  updates location_id of selected Device.&lt;br /&gt;
* [[MOR API device delete| device_delete]] (delete_device) – delete device&lt;br /&gt;
* [[MOR API devices get | devices_get]] (device_list) – users device list&lt;br /&gt;
* [[MOR API device details get | device_details_get]] – shows all information about specified device.&lt;br /&gt;
&lt;br /&gt;
* [[MOR API device callflow get| device_callflow_get]] - returns information about specified device callflow state.&lt;br /&gt;
* [[MOR API device callflow update | device_callflow_update]] – updates information of specified device callflow state. &lt;br /&gt;
&lt;br /&gt;
* [[MOR API CLI info get | cli_info_get]] (cli_get_info) – shows id of device where CLI belongs.&lt;br /&gt;
* [[MOR API CLI delete | cli_delete]] – deletes specified CLI. &lt;br /&gt;
* [[MOR API CLI add | cli_add]] – creates CLI and assigns it to the specified device.&lt;br /&gt;
* [[MOR API device clis get | device_clis_get]] – CLIs list by User and/or Device&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DID==&lt;br /&gt;
&lt;br /&gt;
* [[MOR API dids get| dids_get]] – get list of particular DIDs&lt;br /&gt;
* [[MOR API did_create| did_create]] – DID create&lt;br /&gt;
* [[MOR_API_did_device_assign| did_device_assign]] (did_assign_device) – Assign Device to DID&lt;br /&gt;
* [[MOR_API_did_device_unassign| did_device_unassign]] (did_unassign_device) – Unassign Device from DID&lt;br /&gt;
* [[MOR_API_did_details_update| did_details_update]] (did_details_update) – Update DID details &lt;br /&gt;
* [[MOR API did subscription stop|did_subscription_stop]] – STOP DID subscription&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Email==&lt;br /&gt;
* [[MOR API email send| email_send]] (send_email) – send Email.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Financial statements==&lt;br /&gt;
* [[MOR API financial_statements_get| financial_statements_get]] (financial_statements) – financial statements list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Invoices==&lt;br /&gt;
* [[MOR API invoices_get|invoices_get]] (invoices) – retrieves a list of invoices in a selected time period.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Login==&lt;br /&gt;
* [[MOR API user_login|user_login]] (login) – logs user in to MOR.&lt;br /&gt;
* [[MOR API user_logout|user_logout]] (logout) – logs user out from MOR.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Monitorings==&lt;br /&gt;
* [[MOR API ma_activate_api| ma_activate]] – turn on monitorings addon&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Payments==&lt;br /&gt;
* [[MOR API payment_create| payment_create]] (create_payment) – create payment.&lt;br /&gt;
* [[MOR API payments_get| payments_get]] (payments_list) – payments list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Phonebooks==&lt;br /&gt;
* [[MOR API phonebooks_get| phonebooks_get]] (phonebooks_api ) – phonebooks list.&lt;br /&gt;
* [[MOR API phonebook_edit| phonebook_edit]] (phonebook_edit_api) – edit phonebook.&lt;br /&gt;
* [[MOR API phonebook_record_create| phonebook_record_create]]  – create phonebook.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Quickforwards==&lt;br /&gt;
* [[MOR API Quickforwards get| quickforwards_dids_get]] (quickforwards_dids_get) – get Quickforwards.&lt;br /&gt;
* [[MOR API Quickforwards update| quickforwards_did_update]] (quickforwards_did_update) – update Quickforwards.&lt;br /&gt;
* [[MOR API Quickforwards delete| quickforwards_did_delete]] (quickforwards_did_delete) – delete Quickforwards.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Rates==&lt;br /&gt;
* [[MOR API rate get|rate_get]] (rate) – check user rate by prefix&lt;br /&gt;
* [[MOR API tariff rates get| tariff_rates_get]] (get_tariff) – get all tariff's rates&lt;br /&gt;
* [[MOR API tariff_retail_import | tariff_retail_import ]] (import_relail_tariff) – import xml retail tariff&lt;br /&gt;
* [[MOR API tariff_wholesale_update | tariff_wholesale_update ]] (wholesale_tariff) – update or create wholesale tariff&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Services==&lt;br /&gt;
* [[MOR API Service create| service_create]] – create Service.&lt;br /&gt;
* [[MOR API Service delete| service_delete]] – delete Service.&lt;br /&gt;
* [[MOR API Services get| services_get]] – get Services.&lt;br /&gt;
* [[MOR API Service update| service_update]] – update Service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SMS==&lt;br /&gt;
* [[MOR API sms send| sms_send]] (send_sms) – send SMS.&lt;br /&gt;
* [[MOR_API_user_sms_service_subscribe | user_sms_service_subscribe ]] – User subscription to SMS Service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Subscriptions==&lt;br /&gt;
* [[MOR API subscription delete|subscription_delete]] - Subscription delete.&lt;br /&gt;
* [[MOR API Subscriptions get|subscriptions_get]] - Subscriptions get.&lt;br /&gt;
* [[MOR API subscription create|subscription_create]] - Subscription create.&lt;br /&gt;
* [[MOR API subscription update|subscription_update]] - Subscription delete.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==User==&lt;br /&gt;
&lt;br /&gt;
* [[MOR API user_register| user_register]] – create new user from params.&lt;br /&gt;
* [[MOR API user_details_get | user_details_get]] (user_details) – gets user details.&lt;br /&gt;
* [[MOR_API_user_details_update| user_details_update]] (user_update_api) – update user from params.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resellers ==&lt;br /&gt;
* [[MOR API reseller group create]] - create new Reseller Group&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Version==&lt;br /&gt;
* [[MOR API system version get| system_version_get]] (get_version) – get MOR version number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
= Examples =&lt;br /&gt;
* [[MOR API PHP Examples]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=HTML POST=&lt;br /&gt;
All requests are in a similar format:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/&amp;lt;function&amp;gt;?u=username&lt;br /&gt;
&lt;br /&gt;
* username - the user name and password of the user who is asking for the data. &lt;br /&gt;
&lt;br /&gt;
If the user has 'admin' rights, he will get more results and  can perform more actions compared to a user who does not have such rights.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Useful to know=&lt;br /&gt;
&lt;br /&gt;
* All API methods returns data straight from database. It means that MOR GUI settings does not affect data, it will be returned as it is saved in database. For example:&lt;br /&gt;
** Value of money will be returned in Default System [[Currencies|Currency]].&lt;br /&gt;
** Date will not be affected of [[Configuration_from_GUI#Visual| Default date format]] setting.&lt;br /&gt;
** Value of money will not be affected of [[Configuration_from_GUI#Visual|Number digits]] setting.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also =&lt;br /&gt;
* [[API Configuration]]&lt;br /&gt;
* [[MOR integration]]&lt;br /&gt;
* [[How to block access to some API functions]]&lt;br /&gt;
* [[API specification to be implemented in the future]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=M4_Users&amp;diff=20331</id>
		<title>M4 Users</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=M4_Users&amp;diff=20331"/>
		<updated>2015-11-17T11:51:29Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* General */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Where to find user details?=&lt;br /&gt;
&lt;br /&gt;
Go to '''SETTINGS –&amp;gt; Users'''&lt;br /&gt;
&lt;br /&gt;
Here you can see list of all users. &lt;br /&gt;
&lt;br /&gt;
Select the [[image:icon_edit.png]] icon in window above and you will reach personal User settings page. In this window you will see a lot of options grouped into sections.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---This functionality is available from MOR X4---&amp;gt;&lt;br /&gt;
'''NOTE''' that admin is not shown in Users list. To see your own details go to '''PERSONAL MENU –&amp;gt; Details'''.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Details update = &lt;br /&gt;
&lt;br /&gt;
Every User can update his own details in '''PERSONAL MENU –&amp;gt; Details'''.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To disallow users to change their details Admin/Reseller has to check setting &amp;quot;Do not allow users to change their Personal Details&amp;quot; in '''SETTINGS -&amp;gt; Setup -&amp;gt; Settings -&amp;gt; Various'''. After this User Details can only be updated by user's owner.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''NOTE''' that even if User is not allowed to update his own details, he still can see it in '''PERSONAL MENU –&amp;gt; Details''' as form with not editable options.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= General =&lt;br /&gt;
&lt;br /&gt;
* '''Username''' – username for user to login to MOR GUI.&lt;br /&gt;
* '''Password''' – password for user to login to MOR GUI.&lt;br /&gt;
* '''[[Balance and Credit | Balance]]''' – the user's balance.&lt;br /&gt;
* '''Balance range''' – minimal and maximal balance which User will be able to have.&lt;br /&gt;
* '''[[Minimum contract billing | Minimal Charge for Calls]]''' – minimum charge user pays for voice calls.&lt;br /&gt;
* '''[[Minimum contract billing | Minimal Charge for Calls Date]]''' – date since when the previous option is valid.&lt;br /&gt;
* '''[[Hide Users | Not Hidden/Hidden]]''' – is this user hidden?&lt;br /&gt;
* '''[[Simultaneous call limitation | Call Limit]]''' – how many simultaneous calls the user can make?&lt;br /&gt;
* '''Default Currency''' – User's default Currency&lt;br /&gt;
* '''Time Zone''' –  User's native Time Zone&lt;br /&gt;
* '''Responsible accountant''' – dropdown to choose accountant responsible for User's Profit. &lt;br /&gt;
* '''PBX Pool''' – PBX pool assigned to User&lt;br /&gt;
* '''Hide Non-Answered calls''' – with this option enabled simple user sees only answered calls in [[Last Calls]] and in Detailed Statistics page. &amp;lt;!-- veikia su x5_functionality_15 --&amp;gt; &lt;br /&gt;
* '''Ignore Global Alerts''' – check and User will be ignored on checking for [[M2_Alerts | Alerts]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Blocking =&lt;br /&gt;
&lt;br /&gt;
Various options for [[User Blocking]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Warning Balance Email =&lt;br /&gt;
&lt;br /&gt;
If you want to get and email notification or send it to a User and Accountant (or take another action) when his balance drops lower than a certain amount, check this setting and enter the desired amount.&lt;br /&gt;
&lt;br /&gt;
More details: [[M2 Warning Balance | Warning Balance]]&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;
* '''Generate Invoice''' – should we generate Invoices for this User?&lt;br /&gt;
* '''Billing Period''' – select period for which Invoice should be generated.&lt;br /&gt;
* '''Grace Period''' – select period for which Invoice should be paid by User. For example, if you generate Invoice for January 1-31, and you set Grace Period 15 days, then User will see Due Date February 15 (15 days after Invoice period end).&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;
Self-explanatory.&lt;br /&gt;
&lt;br /&gt;
If Country of Taxation is in the EU, validation of TAX Registration Number will be checked from this website: http://ec.europa.eu/taxation_customs/vies/&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Company Emails =&lt;br /&gt;
&lt;br /&gt;
Self-explanatory:&lt;br /&gt;
&lt;br /&gt;
* '''Main email'''&lt;br /&gt;
* '''NOC email'''&lt;br /&gt;
* '''Billing email'''&lt;br /&gt;
* '''Rates email'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Taxes =&lt;br /&gt;
&lt;br /&gt;
Here tax parameters are entered for the user.&lt;br /&gt;
&lt;br /&gt;
The tax system is explained [[Multi-Tax system | here]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
= Registration Address =&lt;br /&gt;
&lt;br /&gt;
Self-explanatory.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Blacklists / Whitelists=&lt;br /&gt;
&lt;br /&gt;
'''Enable static Source''' - enables static Blacklist or Whitelist&amp;lt;br&amp;gt;&lt;br /&gt;
* '''No''' - do not use any Blacklist or Whitelist&lt;br /&gt;
* '''Blacklist''' - choose [[Number Pool]] which will be used to block User from receiving specific Source numbers. If User receives number which is in selected [[Number Pool]] then call will be hangup with hangupcause ''334 - Source number is in blacklist''&lt;br /&gt;
* '''Whitelist''' - choose [[Number Pool]] which will be used to allow User to receive only specific Source numbers. If User receives number which is NOT in selected [[Number Pool]] then call will be hangup with hangupcause ''335 - Source number is not in whitelist''&lt;br /&gt;
&lt;br /&gt;
'''Enable static Destination''' - enables static Blacklist or Whitelist&amp;lt;br&amp;gt;&lt;br /&gt;
* '''No''' - do not use any Blacklist or Whitelist&lt;br /&gt;
* '''Blacklist''' - choose [[Number Pool]] which will be used to block User from calling specific Destination numbers. If User calls number which is in selected [[Number Pool]] then call will be hangup with hangupcause ''325 - Destination is in blacklist''&lt;br /&gt;
* '''Whitelist''' - choose [[Number Pool]] which will be used to allow User to call only specific Destination numbers. If User calls number which is NOT in selected [[Number Pool]] then call will be hangup with hangupcause ''326 - Destination is not in whitelist''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API&amp;diff=20328</id>
		<title>MOR API</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API&amp;diff=20328"/>
		<updated>2015-11-13T15:57:37Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* Calling Cards */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:warning.png|100px|alt=&amp;quot;warning&amp;quot;|link=]]&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;IMPORTANT!!! API methods described here are for MOR X6. For previous versions please check appropriate [http://wiki.kolmisoft.com/index.php/MOR_Manual#Old_Manuals manual].&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
[[File:api.png|right|alt=&amp;quot;api&amp;quot;|link=]]&lt;br /&gt;
&amp;lt;mkmeta&amp;gt;Application Program Interface for MOR Class 5 Softswitch&amp;lt;/mkmeta&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=About=&lt;br /&gt;
MOR API lets other software interact with MOR without knowing the internal structure of the database (DB) and other logic.&lt;br /&gt;
&lt;br /&gt;
MOR accepts requests by HTML POST and returns results in XML.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=MOR users that are allowed to use MOR API=&lt;br /&gt;
* Admin&lt;br /&gt;
* Reseller&lt;br /&gt;
* Accountant - only by using Admin Hash and Secret key&lt;br /&gt;
* Simple User&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Functions=&lt;br /&gt;
&lt;br /&gt;
== API Related ==&lt;br /&gt;
* [[API Configuration]] – configuration options for API.&lt;br /&gt;
* [[MOR API hash construction|Hash construction]] – how to construct hash to authenticate data over API.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Balance==&lt;br /&gt;
* [[MOR API user balance update | user_balance_update]] (change_user_balance) – changes User's Balance&lt;br /&gt;
Various methods to retrieve User balance&lt;br /&gt;
* [[MOR API user_balance_get|user_balance_get]] (balance) – retrieves a User Balance.&lt;br /&gt;
* [[Balance in phone | user_simple_balance_get]] (simple_balance) – gets User's Balance&lt;br /&gt;
* [[MOR API user balance get by psw | user_balance_get_by_psw]] – gets User's Balance by his owned Device's Password&lt;br /&gt;
* [[MOR API User Balance get by Username | user_balance_get_by_username]] – gets User's Balance by his owned Device's Username&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Callback==&lt;br /&gt;
* [[MOR API callback init|callback_init]] (callback) – initiates callback.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Calling Cards==&lt;br /&gt;
* [[MOR API card_by_cli_update| card_by_cli_update]] (cc_by_cli) – creates and updates calling cards, including adding and transferring funds, by being identified according the Caller_ID.&lt;br /&gt;
* [[MOR API card_from_group_sell| card_from_group_sell]] (buy_card_from_callingroup) – sells cards from calling card group.&lt;br /&gt;
* [[MOR API card_group_get| card_group_get]] (show_calling_card_group) – show calling group info.&lt;br /&gt;
* [[MOR API card_balance_get| card_balance_get]] (card_balance_get) – show card's balance.&lt;br /&gt;
* [[MOR API card_payment_add| card_payment_add]] – add payment to the calling card.&lt;br /&gt;
* [[MOR_API_Calling_Cards_create| calling_cards_create]] – create Calling Cards.&lt;br /&gt;
* [[MOR_API_Calling_Card_update| calling_card_update]] – update Calling Card.&lt;br /&gt;
* [[MOR_API_Calling_Cards_get| calling_cards_get]] - get Calling Cards.&lt;br /&gt;
* [[MOR_API_Card_Group_create| cc_group_create]] – create Card Group.&lt;br /&gt;
* [[MOR_API_Card_Group_update| cc_group_update]] – update Card Group.&lt;br /&gt;
* [[MOR API Card Groups get| cc_groups_get]] – show Calling Cards Group info.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Calls==&lt;br /&gt;
* [[MOR API user calls get|user_calls_get]] (user_calls) – retrieves a list of calls in a selected time period for a user/device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Conflines==&lt;br /&gt;
* [[MOR API conflines update|conflines_update]] – changes settings for API, Default User or Default Device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Credit notes==&lt;br /&gt;
* [[MOR API credit_notes_get| credit_notes_get]] (credit_notes) – credit notes list.&lt;br /&gt;
* [[MOR API credit_note_update| credit_note_update]] – credit note update.&lt;br /&gt;
* [[MOR API credit_notes_create| credit_note_create]] – credit note create.&lt;br /&gt;
* [[MOR API credit_notes_delete| credit_note_delete]] – credit note delete.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Device==&lt;br /&gt;
* [[MOR API device create| device_create]] – create device&lt;br /&gt;
* [[MOR API device delete| device_delete]] (delete_device) – delete device&lt;br /&gt;
* [[MOR API devices get | devices_get]] (device_list) – users device list&lt;br /&gt;
* [[MOR API device callflow get| device_callflow_get]] - returns information about specified device callflow state.&lt;br /&gt;
* [[MOR API device callflow update | device_callflow_update]] – updates information of specified device callflow state. &lt;br /&gt;
* [[MOR API CLI info get | cli_info_get]] (cli_get_info) – shows id of device where CLI belongs.&lt;br /&gt;
* [[MOR API CLI delete | cli_delete]] – deletes specified CLI. &lt;br /&gt;
* [[MOR API CLI add | cli_add]] – creates CLI and assigns it to the specified device.&lt;br /&gt;
* [[MOR API device clis get | device_clis_get]] – CLIs list by User and/or Device&lt;br /&gt;
* [[MOR API device details get | device_details_get]] – shows all information about specified device.&lt;br /&gt;
* [[MOR_API_device_update | device_update]]  –  updates location_id of selected Device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DID==&lt;br /&gt;
&lt;br /&gt;
* [[MOR API dids get| dids_get]] – get list of particular DIDs&lt;br /&gt;
* [[MOR API did_create| did_create]] – DID create&lt;br /&gt;
* [[MOR_API_did_device_assign| did_device_assign]] (did_assign_device) – Assign Device to DID&lt;br /&gt;
* [[MOR_API_did_device_unassign| did_device_unassign]] (did_unassign_device) – Unassign Device from DID&lt;br /&gt;
* [[MOR_API_did_details_update| did_details_update]] (did_details_update) – Update DID details &lt;br /&gt;
* [[MOR API did subscription stop|did_subscription_stop]] – STOP DID subscription&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Email==&lt;br /&gt;
* [[MOR API email send| email_send]] (send_email) – send Email.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Financial statements==&lt;br /&gt;
* [[MOR API financial_statements_get| financial_statements_get]] (financial_statements) – financial statements list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Invoices==&lt;br /&gt;
* [[MOR API invoices_get|invoices_get]] (invoices) – retrieves a list of invoices in a selected time period.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Login==&lt;br /&gt;
* [[MOR API user_login|user_login]] (login) – logs user in to MOR.&lt;br /&gt;
* [[MOR API user_logout|user_logout]] (logout) – logs user out from MOR.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Monitorings==&lt;br /&gt;
* [[MOR API ma_activate_api| ma_activate]] – turn on monitorings addon&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Payments==&lt;br /&gt;
* [[MOR API payment_create| payment_create]] (create_payment) – create payment.&lt;br /&gt;
* [[MOR API payments_get| payments_get]] (payments_list) – payments list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Phonebooks==&lt;br /&gt;
* [[MOR API phonebooks_get| phonebooks_get]] (phonebooks_api ) – phonebooks list.&lt;br /&gt;
* [[MOR API phonebook_edit| phonebook_edit]] (phonebook_edit_api) – edit phonebook.&lt;br /&gt;
* [[MOR API phonebook_record_create| phonebook_record_create]]  – create phonebook.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Quickforwards==&lt;br /&gt;
* [[MOR API Quickforwards get| quickforwards_dids_get]] (quickforwards_dids_get) – get Quickforwards.&lt;br /&gt;
* [[MOR API Quickforwards update| quickforwards_did_update]] (quickforwards_did_update) – update Quickforwards.&lt;br /&gt;
* [[MOR API Quickforwards delete| quickforwards_did_delete]] (quickforwards_did_delete) – delete Quickforwards.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Rates==&lt;br /&gt;
* [[MOR API rate get|rate_get]] (rate) – check user rate by prefix&lt;br /&gt;
* [[MOR API tariff rates get| tariff_rates_get]] (get_tariff) – get all tariff's rates&lt;br /&gt;
* [[MOR API tariff_retail_import | tariff_retail_import ]] (import_relail_tariff) – import xml retail tariff&lt;br /&gt;
* [[MOR API tariff_wholesale_update | tariff_wholesale_update ]] (wholesale_tariff) – update or create wholesale tariff&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Services==&lt;br /&gt;
* [[MOR API Service create| service_create]] – create Service.&lt;br /&gt;
* [[MOR API Service delete| service_delete]] – delete Service.&lt;br /&gt;
* [[MOR API Services get| services_get]] – get Services.&lt;br /&gt;
* [[MOR API Service update| service_update]] – update Service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SMS==&lt;br /&gt;
* [[MOR API sms send| sms_send]] (send_sms) – send SMS.&lt;br /&gt;
* [[MOR_API_user_sms_service_subscribe | user_sms_service_subscribe ]] – User subscription to SMS Service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Subscriptions==&lt;br /&gt;
* [[MOR API subscription delete|subscription_delete]] - Subscription delete.&lt;br /&gt;
* [[MOR API Subscriptions get|subscriptions_get]] - Subscriptions get.&lt;br /&gt;
* [[MOR API subscription create|subscription_create]] - Subscription create.&lt;br /&gt;
* [[MOR API subscription update|subscription_update]] - Subscription delete.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==User==&lt;br /&gt;
&lt;br /&gt;
* [[MOR API user_register| user_register]] – create new user from params.&lt;br /&gt;
* [[MOR API user_details_get | user_details_get]] (user_details) – gets user details.&lt;br /&gt;
* [[MOR_API_user_details_update| user_details_update]] (user_update_api) – update user from params.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resellers ==&lt;br /&gt;
* [[MOR API reseller group create]] - create new Reseller Group&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Version==&lt;br /&gt;
* [[MOR API system version get| system_version_get]] (get_version) – get MOR version number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
= Examples =&lt;br /&gt;
* [[MOR API PHP Examples]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=HTML POST=&lt;br /&gt;
All requests are in a similar format:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/&amp;lt;function&amp;gt;?u=username&lt;br /&gt;
&lt;br /&gt;
* username - the user name and password of the user who is asking for the data. &lt;br /&gt;
&lt;br /&gt;
If the user has 'admin' rights, he will get more results and  can perform more actions compared to a user who does not have such rights.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Useful to know=&lt;br /&gt;
&lt;br /&gt;
* All API methods returns data straight from database. It means that MOR GUI settings does not affect data, it will be returned as it is saved in database. For example:&lt;br /&gt;
** Value of money will be returned in Default System [[Currencies|Currency]].&lt;br /&gt;
** Date will not be affected of [[Configuration_from_GUI#Visual| Default date format]] setting.&lt;br /&gt;
** Value of money will not be affected of [[Configuration_from_GUI#Visual|Number digits]] setting.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also =&lt;br /&gt;
* [[API Configuration]]&lt;br /&gt;
* [[MOR integration]]&lt;br /&gt;
* [[How to block access to some API functions]]&lt;br /&gt;
* [[API specification to be implemented in the future]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_Card_Groups_get&amp;diff=20326</id>
		<title>MOR API Card Groups get</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_Card_Groups_get&amp;diff=20326"/>
		<updated>2015-11-13T15:56:45Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: moved MOR API cc groups get to MOR API Card Groups get&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= NOTE: Available from MOR X7 =&lt;br /&gt;
&lt;br /&gt;
=Description=&lt;br /&gt;
[[MOR API]] Calling Cards Groups get&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* From '''MOR X7''' Calling Cards Groups: '''/api/cc_groups_get'''&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.&lt;br /&gt;
* cc_group_id - Calling Cards Group ID.&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;
&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: API Secret Key = secret&lt;br /&gt;
&lt;br /&gt;
We send:&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/cc_groups_get?u=admin&amp;amp;cc_group_id=1&amp;amp;hash=e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4&lt;br /&gt;
'''NOTE that username is not included in hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Success'''&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;page&amp;gt;&lt;br /&gt;
  &amp;lt;cc_groups&amp;gt;&lt;br /&gt;
   &amp;lt;cc_group&amp;gt;&lt;br /&gt;
    &amp;lt;group_id&amp;gt;1&amp;lt;/group_id&amp;gt;&lt;br /&gt;
    &amp;lt;group_image&amp;gt;example.jpg&amp;lt;/group_image&amp;gt;&lt;br /&gt;
    &amp;lt;group_name&amp;gt;Test_cardgroup&amp;lt;/group_name&amp;gt;&lt;br /&gt;
    &amp;lt;group_description&amp;gt;Test_cardgroup description&amp;lt;/group_description&amp;gt;&lt;br /&gt;
    &amp;lt;group_number_pin_length&amp;gt;10/4&amp;lt;/group_number_pin_length&amp;gt;&lt;br /&gt;
    &amp;lt;group_tarrif&amp;gt;Test Tariff for Users&amp;lt;/group_tarrif&amp;gt;&lt;br /&gt;
    &amp;lt;group_lcr&amp;gt;Primary&amp;lt;/group_lcr&amp;gt;&lt;br /&gt;
    &amp;lt;group_price&amp;gt;10.0840&amp;lt;/group_price&amp;gt;&lt;br /&gt;
    &amp;lt;group_price_without_tax&amp;gt;10.0840&amp;lt;/group_price_without_tax&amp;gt;&lt;br /&gt;
    &amp;lt;group_cards_count&amp;gt;21&amp;lt;/group_cards_count&amp;gt;&lt;br /&gt;
   &amp;lt;/cc_group&amp;gt;&lt;br /&gt;
  &amp;lt;/cc_groups&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;
* &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;You are not authorized to use this functionality&amp;lt;/error&amp;gt; - User does not have rights to manage Calling Cards.&lt;br /&gt;
* &amp;lt;error&amp;gt;Access Denied&amp;lt;/error&amp;gt; - User does not have access to Calling Cards.&lt;br /&gt;
* &amp;lt;error&amp;gt;Wrong calling cards group ID&amp;lt;/error&amp;gt; - User supplied wrong Calling Cards group ID.&lt;br /&gt;
* &amp;lt;error&amp;gt;Calling cards groups were not found&amp;lt;/error&amp;gt; - Calling cards groups were not found.&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>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=Profit_Stats&amp;diff=20324</id>
		<title>Profit Stats</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=Profit_Stats&amp;diff=20324"/>
		<updated>2015-11-12T10:59:16Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;It is important to know at any moment what profit your system is generating for you. &lt;br /&gt;
&lt;br /&gt;
The profit can be seen in '''STATISTICS – Finances – Profit''':&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:profit_stats.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You can check your Profit by period, selected User and Responsible Accountant. &lt;br /&gt;
&lt;br /&gt;
All fields are self-explanatory. &lt;br /&gt;
&lt;br /&gt;
Total Call Price percentage always 100%. Total Call Self Price and Calls Profit percentage value is calculated from Total Call Price. &lt;br /&gt;
&lt;br /&gt;
The PDF report shows the same information.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [[Billing Concepts]]&lt;br /&gt;
* [[DID Billing]]&lt;br /&gt;
* [[Provider Billing Addon]]&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=File:Profit_stats.png&amp;diff=20323</id>
		<title>File:Profit stats.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=File:Profit_stats.png&amp;diff=20323"/>
		<updated>2015-11-12T10:55:33Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: uploaded a new version of &amp;quot;File:Profit stats.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_Card_Group_create&amp;diff=20322</id>
		<title>MOR API Card Group create</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_Card_Group_create&amp;diff=20322"/>
		<updated>2015-11-11T15:24:23Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
[[MOR API]] Card Group create&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* From '''MOR X7''' Calling Card: '''/api/cc_group_create'''&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;
===Parameters===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* name - name of a Card Group '''Required'''.&lt;br /&gt;
&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 the '''parameters''' which are listed above. Note that the parameters are shown in the same order as they need to be when generating the hash. The last parameter in a row is '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&amp;lt;br&amp;gt;&lt;br /&gt;
* '''u''' - username for authentication. '''Required'''.&lt;br /&gt;
* '''description''' - description for Card Group.&lt;br /&gt;
* '''price_with_vat''' - price with TAX for Card Group.&lt;br /&gt;
* '''setup_fee''' - setup fee for Card Group.&lt;br /&gt;
* '''ghost_min_perc''' - ghost min percent for Card Group.&lt;br /&gt;
* '''daily_charge''' - daily charge for Card Group.&lt;br /&gt;
* '''tariff_id''' - Card Group Tariff ID.&lt;br /&gt;
* '''lcr_id''' - Card Group LCR id.&lt;br /&gt;
* '''date_from''' - Card Group valid from date (timestamp).&lt;br /&gt;
* '''date_till''' - Card Group valid till date (timestamp).&lt;br /&gt;
* '''number_length''' - Card Group number length.&lt;br /&gt;
* '''pin_length''' - Card Group PIN length.&lt;br /&gt;
* '''location_id''' - Card Group Location ID.&lt;br /&gt;
* '''tax_id''' - Card Group TAX ID.&lt;br /&gt;
* '''valid_after_first_use''' - number of days, after which Card Group gets valid.&lt;br /&gt;
* '''ghost_balance_perc''' - Card Group ghost balance percent.&lt;br /&gt;
* '''use_external_function''' - enable or disable use of external script [0-no, 1-yes].&lt;br /&gt;
* '''allow_loss_calls''' - Allow Loss Calls for Card Group [0-off, 1-on].&lt;br /&gt;
* '''tell_cents''' - tell cents for Card Group [0-off, 1-on].&lt;br /&gt;
* '''tell_balance_in_currency''' - Card Group Balance/Rate Currency [0-off, 1-on].&lt;br /&gt;
* '''solo_pinless''' - Deny to double-use a Card with Pinless dialing, when Card is assigned to some CallerID [0-no, 1-yes].&lt;br /&gt;
* '''disable_voucher''' - enable or disable voucher [0-off, 1-on].&lt;br /&gt;
* '''callerid_leave''' -  Leave CallerID assigned to Card when balance is empty [0-no, 1-yes].&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 u = admin, API Secret Key = secret&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/cc_group_create?u=admin&amp;amp;name=card_group_test&amp;amp;hash=7e112ededcfee097cce21b6201c6d2a00dda1f4c&lt;br /&gt;
&lt;br /&gt;
* Now we can find 1 newly created Card Group.'''&amp;lt;br&amp;gt;&lt;br /&gt;
'''* Note that if not passing optional parameters, default values will be used.'''&amp;lt;br&amp;gt;&lt;br /&gt;
'''* Note that a Username and a Password are not included into hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&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;status&amp;gt;&lt;br /&gt;
     &amp;lt;success&amp;gt;Card Group was successfully created&amp;lt;/success&amp;gt;&lt;br /&gt;
   &amp;lt;/status&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;Access Denied&amp;lt;/error&amp;gt; - User is not authorized or is a Simple User. Only Admin, Reseller or Accounant can use this API method. &lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - hash is not correct. Check API_Secret_Key and order or parameters while concatenating a hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorized to use this functionality&amp;lt;/error&amp;gt; - User has no permissions to manage Calling Cards.  &lt;br /&gt;
* &amp;lt;error&amp;gt;Card Group must have name&amp;lt;/error&amp;gt; - Card Group name is not given. Name is required parameter.&lt;br /&gt;
* &amp;lt;error&amp;gt;Use external function is incorrect format&amp;lt;/error&amp;gt; - use external script parameter can only be: 1  - enabled, 0 - disabled.&lt;br /&gt;
* &amp;lt;error&amp;gt;Allow loss calls is incorrect format&amp;lt;/error&amp;gt; - allow loss calls parameter can only be: 1  - enabled, 0 - disabled.&lt;br /&gt;
* &amp;lt;error&amp;gt;Tell cents is incorrect format&amp;lt;/error&amp;gt; - tell cents parameter can only be: 1  - enabled, 0 - disabled.&lt;br /&gt;
* &amp;lt;error&amp;gt;Solo pinless is incorrect format&amp;lt;/error&amp;gt; - solo pinless parameter can only be: 1  - enabled, 0 - disabled.&lt;br /&gt;
* &amp;lt;error&amp;gt;Disable voucher is incorrect format&amp;lt;/error&amp;gt; - voucher parameter can only be: 1  - enabled, 0 - disabled.&lt;br /&gt;
* &amp;lt;error&amp;gt;CallerID leave is incorrect format&amp;lt;/error&amp;gt; - Caller ID leave parameter can only be: 1  - enabled, 0 - disabled.&lt;br /&gt;
* &amp;lt;error&amp;gt;Invalid date from&amp;lt;/error&amp;gt; - UNIX time stamp date not correct.&lt;br /&gt;
* &amp;lt;error&amp;gt;Invalid date till&amp;lt;/error&amp;gt; - UNIX time stamp date not correct.&lt;br /&gt;
* &amp;lt;error&amp;gt;Date from is greater than date till&amp;lt;/error&amp;gt; - valid from is greater than valid till.&lt;br /&gt;
* &amp;lt;error&amp;gt;Tariff was not found&amp;lt;/error&amp;gt; - Tariff id is not correct. There is no such Tariff.&lt;br /&gt;
* &amp;lt;error&amp;gt;LCR was not found&amp;lt;/error&amp;gt; - LCR ID is not correct. There is no such LCR.&lt;br /&gt;
* &amp;lt;error&amp;gt;Location was not found&amp;lt;/error&amp;gt; - Location ID is not correct. There is no such Location.&lt;br /&gt;
* &amp;lt;error&amp;gt;Currency was not found&amp;lt;/error&amp;gt; - Currency ID is not correct. There is no such Currency.&lt;br /&gt;
* &amp;lt;error&amp;gt;Invalid Price with TAX&amp;lt;/error&amp;gt; - price is not correct, can not be negative.&lt;br /&gt;
&lt;br /&gt;
Example:&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;status&amp;gt;&lt;br /&gt;
     &amp;lt;error&amp;gt;Invalid solo pinless parameter, should be: 0 or 1&amp;lt;/error&amp;gt;&lt;br /&gt;
   &amp;lt;/status&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>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_Card_Group_update&amp;diff=20321</id>
		<title>MOR API Card Group update</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_Card_Group_update&amp;diff=20321"/>
		<updated>2015-11-11T15:23:17Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
[[MOR API]] Card Group update&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* From '''MOR X7''' Calling Card: '''/api/cc_group_update'''&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;
===Parameters===&lt;br /&gt;
&lt;br /&gt;
Parameters which are '''included''' into hash:&lt;br /&gt;
&lt;br /&gt;
* cc_Group_id - id of a Card Group '''Required'''.&lt;br /&gt;
&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 the '''parameters''' which are listed above. Note that the parameters are shown in the same order as they need to be when generating the hash. The last parameter in a row is '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&amp;lt;br&amp;gt;&lt;br /&gt;
* '''u''' - username for authentication. '''Required'''.&lt;br /&gt;
* '''name''' - name of Card Group.&lt;br /&gt;
* '''description''' - description of Card Group.&lt;br /&gt;
* '''price_with_vat''' - price with TAX of Card Group.&lt;br /&gt;
* '''setup_fee''' - setup fee of Card Group.&lt;br /&gt;
* '''use_external_function''' - use of external script [0-no, 1-yes].&lt;br /&gt;
* '''ghost_min_perc''' - ghost min percent of Card Group.&lt;br /&gt;
* '''ghost_balance_perc''' - ghost balance percent of Card Group.&lt;br /&gt;
* '''daily_charge''' - daily charge of Card Group.&lt;br /&gt;
* '''tell_cents''' - usage of tell cents [0-no, 1-yes].&lt;br /&gt;
* '''tell_balance_in_currency''' - Card Group Balance/Rate Currency.&lt;br /&gt;
* '''tariff_id''' - tariff if of Card Group&lt;br /&gt;
* '''lcr_id''' - LCR id of Card Group&lt;br /&gt;
* '''location_id''' - Card Group location id.&lt;br /&gt;
* '''date_from''' - Card Group valid from date (timestamp).&lt;br /&gt;
* '''date_till''' - Card Group valid till date (timestamp).&lt;br /&gt;
* '''valid_after_first_use''' - number of days, after which Card Group gets valid.&lt;br /&gt;
* '''allow_loss_calls''' - Allow Loss Calls for Card Group [0-off, 1-on].&lt;br /&gt;
* '''solo_pinless''' - Deny to double-use a Card with Pinless dialing, when Card is assigned to some CallerID [0-no, 1-yes].&lt;br /&gt;
* '''disable_voucher''' - disable Voucher with same Number as Card if Card is used [0-off, 1-on].&lt;br /&gt;
* '''callerid_leave''' - Leave CallerID assigned to Card when balance is empty [0-no, 1-yes].&lt;br /&gt;
* '''tax2_enabled''' - [0-no, 1-yes].&lt;br /&gt;
* '''tax3_enabled''' - [0-no, 1-yes].&lt;br /&gt;
* '''tax4_enabled''' - [0-no, 1-yes].&lt;br /&gt;
* '''compound_tax''' - [0-no, 1-yes].&lt;br /&gt;
* '''tax1_name''' - name of the first tax.&lt;br /&gt;
* '''tax2_name''' - name of the second tax.&lt;br /&gt;
* '''tax3_name''' - name of the third tax.&lt;br /&gt;
* '''tax4_name''' - name of the fourth tax.&lt;br /&gt;
* '''total_tax_name''' - name of total taxes.&lt;br /&gt;
* '''tax1_value''' - value of the first tax.&lt;br /&gt;
* '''tax2_value''' - value of the second tax.&lt;br /&gt;
* '''tax3_value''' - value of the third tax.&lt;br /&gt;
* '''tax4_value''' - value of the fourth tax.&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;
===Request===&lt;br /&gt;
&lt;br /&gt;
We have u = admin, API Secret Key = secret&lt;br /&gt;
We send:&lt;br /&gt;
&lt;br /&gt;
 HTML POST: http://&amp;lt;SERVER_IP&amp;gt;/billing/api/cc_group_update?u=admin&amp;amp;cc_Group_id=1&amp;amp;hash=7e112ededcfee097cce21b6201c6d2a00dda1f4c&lt;br /&gt;
&lt;br /&gt;
* Now we can find 1 updated Card Group.'''&amp;lt;br&amp;gt;&lt;br /&gt;
'''* Note that a Username and a Password are not included into hash'''&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===Returns===&lt;br /&gt;
&lt;br /&gt;
'''Success'''&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;status&amp;gt;&lt;br /&gt;
     &amp;lt;success&amp;gt;Card Group was successfully updated&amp;lt;/success&amp;gt;&lt;br /&gt;
   &amp;lt;/status&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;Access Denied&amp;lt;/error&amp;gt; - User is not authorized or is a Simple User. Only Admin, Reseller or Accounant can use this API method. &lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - hash is not correct. Check API_Secret_Key and order or parameters while concatenating a hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorized to use this functionality&amp;lt;/error&amp;gt; - User has no permissions to manage Calling Cards. &lt;br /&gt;
* &amp;lt;error&amp;gt;Card Group was not found&amp;lt;/error&amp;gt; - There is no such Card Group id or user is not authorized to manage this Card Group.&lt;br /&gt;
* &amp;lt;error&amp;gt;Use external function is incorrect format&amp;lt;/error&amp;gt; - Use external script parameter can only be: 1  - enabled, 0 - disabled.&lt;br /&gt;
* &amp;lt;error&amp;gt;Tell cents is incorrect format&amp;lt;/error&amp;gt; - Tell cents parameter can only be: 1  - enabled, 0 - disabled.&lt;br /&gt;
* &amp;lt;error&amp;gt;Currency was not found&amp;lt;/error&amp;gt; - Currency id is not correct. There is no such Currency.&lt;br /&gt;
* &amp;lt;error&amp;gt;Tariff was not found&amp;lt;/error&amp;gt; -  There is no such Tariff.&lt;br /&gt;
* &amp;lt;error&amp;gt;LCR was not found&amp;lt;/error&amp;gt; - LCR id is not correct. There is no such LCR.&lt;br /&gt;
* &amp;lt;error&amp;gt;Location was not found&amp;lt;/error&amp;gt; - Location id is not correct. There is no such Location.&lt;br /&gt;
* &amp;lt;error&amp;gt;Date from is incorrect format&amp;lt;/error&amp;gt; - Valid from is incorrect format.&lt;br /&gt;
* &amp;lt;error&amp;gt;Time till is incorrect format&amp;lt;/error&amp;gt; - Valid till is incorrect format.&lt;br /&gt;
* &amp;lt;error&amp;gt;Date from is greater than date till&amp;lt;/error&amp;gt; - Valid from is greater than valid till.&lt;br /&gt;
* &amp;lt;error&amp;gt;Valid after is incorrect format&amp;lt;/error&amp;gt; - Valid after maximum value can be 9999.&lt;br /&gt;
* &amp;lt;error&amp;gt;Allow loss calls is incorrect format&amp;lt;/error&amp;gt; - Allow loss calls parameter can only be: 1  - enabled, 0 - disabled.&lt;br /&gt;
* &amp;lt;error&amp;gt;Solo pinless is incorrect format&amp;lt;/error&amp;gt; - Solo pinless parameter can only be: 1  - enabled, 0 - disabled.&lt;br /&gt;
* &amp;lt;error&amp;gt;Disable voucher is incorrect format&amp;lt;/error&amp;gt; - Voucher parameter can only be: 1  - enabled, 0 - disabled.&lt;br /&gt;
* &amp;lt;error&amp;gt;CallerID leave is incorrect format&amp;lt;/error&amp;gt; - Caller id leave parameter can only be: 1  - enabled, 0 - disabled.&lt;br /&gt;
* &amp;lt;error&amp;gt;Compound TAX enabling value is incorrect format&amp;lt;/error&amp;gt; - Compound parameter can only be: 1  - enabled, 0 - disabled.&lt;br /&gt;
* &amp;lt;error&amp;gt;TAX 2 enabling value is incorrect format&amp;lt;/error&amp;gt; - TAX 2 enabling value parameter can only be: 1  - enabled, 0 - disabled.&lt;br /&gt;
* &amp;lt;error&amp;gt;TAX 3 enabling value is incorrect format&amp;lt;/error&amp;gt; - TAX 3 enabling value parameter can only be: 1  - enabled, 0 - disabled.&lt;br /&gt;
* &amp;lt;error&amp;gt;TAX 4 enabling value is incorrect format&amp;lt;/error&amp;gt; - TAX 4 enabling value parameter can only be: 1  - enabled, 0 - disabled.&lt;br /&gt;
Example:&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;status&amp;gt;&lt;br /&gt;
     &amp;lt;error&amp;gt;Invalid Price with TAX&amp;lt;/error&amp;gt;&lt;br /&gt;
   &amp;lt;/status&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>Aisteb</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmisoft.com/index.php?title=MOR_API_Calling_Cards_get&amp;diff=20320</id>
		<title>MOR API Calling Cards get</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmisoft.com/index.php?title=MOR_API_Calling_Cards_get&amp;diff=20320"/>
		<updated>2015-11-11T15:20:25Z</updated>

		<summary type="html">&lt;p&gt;Aisteb: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Description=&lt;br /&gt;
[[MOR API]] Returns the list of Calling Cards with respect to provided search parameters. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=Usage=&lt;br /&gt;
&lt;br /&gt;
* Call: /api/calling_cards_get '''(from MOR X7)'''&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;
===Parameters===&lt;br /&gt;
&lt;br /&gt;
* '''[[MOR API hash construction | hash]]''' - SHA1 hash constructed using the required '''parameters''' (in this case none of the parameters is required). The hash will contain only an '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.&amp;lt;br&amp;gt;&lt;br /&gt;
* '''u''' - username for authentication. '''Required'''.&lt;br /&gt;
* number - Calling Card's number.&lt;br /&gt;
* name - Calling Card's name&lt;br /&gt;
* pin - Calling Card's PIN code.&lt;br /&gt;
* batch_number - Calling Card's batch number.&lt;br /&gt;
* min_balance - lower boundary of the Calling Card's balance range.&lt;br /&gt;
* max_balance - upper boundary of the Calling Card's balance range.&lt;br /&gt;
* callerid - Calling Card's CallerID for &amp;quot;pinless&amp;quot; dialing.&lt;br /&gt;
* language - Calling Card's language.&lt;br /&gt;
* sold - determines whether a Calling Card is sold or not (send yes/no/all and recognize Card is sold or no by 1 - sold, 0 - not sold).&lt;br /&gt;
* distributor - Calling Card's distributor's (User's) id.&lt;br /&gt;
&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 u = admin, 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/calling_cards_get?u=admin&amp;amp;number=1111111119&amp;amp;name=test_card&amp;amp;pin=2668&amp;amp;min_balance=10&amp;amp;max_balance=50&amp;amp;language=en&amp;amp;callerid=3&amp;amp;sold=0&amp;amp;distributor=2&amp;amp;hash=e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4&lt;br /&gt;
&lt;br /&gt;
* Now we get a search result containing the Calling Cards with the specified attributes data.&amp;lt;br&amp;gt;&lt;br /&gt;
'''* Note that a Username and a Password are not included into 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;
&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;cards&amp;gt;&lt;br /&gt;
     &amp;lt;card&amp;gt;&lt;br /&gt;
       &amp;lt;card_id&amp;gt;26&amp;lt;/card_id&amp;gt;&lt;br /&gt;
       &amp;lt;card_number&amp;gt;1111111119&amp;lt;/card_number&amp;gt;&lt;br /&gt;
       &amp;lt;card_name&amp;gt;test_card&amp;lt;/card_name&amp;gt;&lt;br /&gt;
       &amp;lt;card_pin&amp;gt;2668&amp;lt;/card_pin&amp;gt;&lt;br /&gt;
       &amp;lt;card_batch_number&amp;gt;5&amp;lt;/card_batch_number&amp;gt;&lt;br /&gt;
       &amp;lt;card_callerid&amp;gt;3&amp;lt;/card_callerid&amp;gt;&lt;br /&gt;
       &amp;lt;card_balance&amp;gt;10.0840336134454&amp;lt;/card_balance&amp;gt;&lt;br /&gt;
       &amp;lt;card_minimal_balance&amp;gt;20.0&amp;lt;/card_minimal_balance&amp;gt;&lt;br /&gt;
       &amp;lt;card_first_use/&amp;gt;&lt;br /&gt;
       &amp;lt;card_daily_charge_paid_till&amp;gt;2015-11-05 02:00:00 +0200&amp;lt;/card_daily_charge_paid_till&amp;gt;&lt;br /&gt;
       &amp;lt;card_sold&amp;gt;0&amp;lt;/card_sold&amp;gt;&lt;br /&gt;
       &amp;lt;card_language&amp;gt;en&amp;lt;/card_language&amp;gt;&lt;br /&gt;
       &amp;lt;card_distributor&amp;gt;Test User #1&amp;lt;/card_distributor&amp;gt;&lt;br /&gt;
     &amp;lt;/card&amp;gt;&lt;br /&gt;
   &amp;lt;/cards&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;Access Denied&amp;lt;/error&amp;gt; - User is not authorized or is a Simple User. Only Admin, Reseller or Accounant can use this API method. &lt;br /&gt;
* &amp;lt;error&amp;gt;Incorrect hash&amp;lt;/error&amp;gt; - hash is not correct. Check API_Secret_Key and order or parameters while concatenating a hash_string.&lt;br /&gt;
* &amp;lt;error&amp;gt;You are not authorized to use this functionality&amp;lt;/error&amp;gt; - User has no permissions to manage Calling Cards.&lt;br /&gt;
* &amp;lt;error&amp;gt;Cards were not found&amp;lt;/error&amp;gt; - no Cards were found with provided search parameters.&lt;br /&gt;
&lt;br /&gt;
Example:&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;status&amp;gt;&lt;br /&gt;
     &amp;lt;error&amp;gt;Cards were not found&amp;lt;/error&amp;gt;&lt;br /&gt;
   &amp;lt;/status&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>Aisteb</name></author>
	</entry>
</feed>