<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="cs">
		<id>https://wiki.freenetis.org/index.php?action=history&amp;feed=atom&amp;title=VoIP%28%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9%29</id>
		<title>VoIP(русский) - Historie editací</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.freenetis.org/index.php?action=history&amp;feed=atom&amp;title=VoIP%28%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9%29"/>
		<link rel="alternate" type="text/html" href="https://wiki.freenetis.org/index.php?title=VoIP(%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)&amp;action=history"/>
		<updated>2026-04-20T15:52:24Z</updated>
		<subtitle>Historie editací této stránky</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.freenetis.org/index.php?title=VoIP(%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)&amp;diff=2268&amp;oldid=prev</id>
		<title>Quimi: Quimi přesunul stránku VoIP(Ñ€ÑƒÑÑÐºÐ¸Ð¹) na VoIP(русский) bez založení přesměrování</title>
		<link rel="alternate" type="text/html" href="https://wiki.freenetis.org/index.php?title=VoIP(%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)&amp;diff=2268&amp;oldid=prev"/>
				<updated>2018-01-31T14:29:26Z</updated>
		
		<summary type="html">&lt;p&gt;Quimi přesunul stránku &lt;a href=&quot;/index.php?title=VoIP(%C3%91%E2%82%AC%C3%91%C6%92%C3%91%C2%81%C3%91%C2%81%C3%90%C2%BA%C3%90%C2%B8%C3%90%C2%B9)&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;VoIP(Ñ€ÑƒÑÑÐºÐ¸Ð¹) (stránka neexistuje)&quot;&gt;VoIP(Ñ€ÑƒÑÑÐºÐ¸Ð¹)&lt;/a&gt; na &lt;a href=&quot;/index.php/VoIP(%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)&quot; title=&quot;VoIP(русский)&quot;&gt;VoIP(русский)&lt;/a&gt; bez založení přesměrování&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;cs&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Starší verze&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Verze z 31. 1. 2018, 14:29&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;cs&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Žádný rozdíl)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Quimi</name></author>	</entry>

	<entry>
		<id>https://wiki.freenetis.org/index.php?title=VoIP(%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)&amp;diff=2050&amp;oldid=prev</id>
		<title>Sivosha v 10. 12. 2013, 07:50</title>
		<link rel="alternate" type="text/html" href="https://wiki.freenetis.org/index.php?title=VoIP(%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)&amp;diff=2050&amp;oldid=prev"/>
				<updated>2013-12-10T07:50:21Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;cs&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Starší verze&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Verze z 10. 12. 2013, 07:50&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Řádek 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Řádek 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[cs:VoIP]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[cs:VoIP]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[en:VoIP (english)]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;FreenetIS позволяет управлять VoIP счетами. Система может быть подключена к Asterisk (или [http://www.iptel.org/ser/ SER] и его производным), а затем к биллингу.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;FreenetIS позволяет управлять VoIP счетами. Система может быть подключена к Asterisk (или [http://www.iptel.org/ser/ SER] и его производным), а затем к биллингу.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sivosha</name></author>	</entry>

	<entry>
		<id>https://wiki.freenetis.org/index.php?title=VoIP(%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)&amp;diff=2048&amp;oldid=prev</id>
		<title>Sivosha v 10. 12. 2013, 07:45</title>
		<link rel="alternate" type="text/html" href="https://wiki.freenetis.org/index.php?title=VoIP(%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)&amp;diff=2048&amp;oldid=prev"/>
				<updated>2013-12-10T07:45:41Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;cs&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Starší verze&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Verze z 10. 12. 2013, 07:45&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Řádek 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Řádek 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[cs: VoIP &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;(čeština)&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[cs:VoIP]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;FreenetIS позволяет управлять VoIP счетами. Система может быть подключена к Asterisk (или [http://www.iptel.org/ser/ SER] и его производным), а затем к биллингу.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;FreenetIS позволяет управлять VoIP счетами. Система может быть подключена к Asterisk (или [http://www.iptel.org/ser/ SER] и его производным), а затем к биллингу.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sivosha</name></author>	</entry>

	<entry>
		<id>https://wiki.freenetis.org/index.php?title=VoIP(%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)&amp;diff=2047&amp;oldid=prev</id>
		<title>Sivosha v 10. 12. 2013, 07:45</title>
		<link rel="alternate" type="text/html" href="https://wiki.freenetis.org/index.php?title=VoIP(%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)&amp;diff=2047&amp;oldid=prev"/>
				<updated>2013-12-10T07:45:07Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;cs&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Starší verze&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Verze z 10. 12. 2013, 07:45&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Řádek 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Řádek 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[cs: VoIP (čeština)]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;FreenetIS позволяет управлять VoIP счетами. Система может быть подключена к Asterisk (или [http://www.iptel.org/ser/ SER] и его производным), а затем к биллингу.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;FreenetIS позволяет управлять VoIP счетами. Система может быть подключена к Asterisk (или [http://www.iptel.org/ser/ SER] и его производным), а затем к биллингу.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Общая информация == &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Общая информация == &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sivosha</name></author>	</entry>

	<entry>
		<id>https://wiki.freenetis.org/index.php?title=VoIP(%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)&amp;diff=2046&amp;oldid=prev</id>
		<title>Sivosha: Založena nová stránka: FreenetIS позволяет управлять VoIP счетами. Система может быть подключена к Asterisk (или [http://www.iptel.org/ser/ ...</title>
		<link rel="alternate" type="text/html" href="https://wiki.freenetis.org/index.php?title=VoIP(%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)&amp;diff=2046&amp;oldid=prev"/>
				<updated>2013-12-10T07:44:19Z</updated>
		
		<summary type="html">&lt;p&gt;Založena nová stránka: FreenetIS позволяет управлять VoIP счетами. Система может быть подключена к Asterisk (или [http://www.iptel.org/ser/ ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nová stránka&lt;/b&gt;&lt;/p&gt;&lt;div&gt;FreenetIS позволяет управлять VoIP счетами. Система может быть подключена к Asterisk (или [http://www.iptel.org/ser/ SER] и его производным), а затем к биллингу.&lt;br /&gt;
== Общая информация == &lt;br /&gt;
В системе FreenetIS каждый участник может зарегистрировать только один номер. Если вам нужны дополнительные платежи, требуется регистрация другого пользователя. Пользователь можете изменить информацию о счете VoIP такие как пароль и настройки голосовой почты. Если модуль биллинга активен, то можно отображать список звонков или погашений кредитов.&lt;br /&gt;
&lt;br /&gt;
== Установка == &lt;br /&gt;
Для корректной работы VoIP важно установить в FreenetIS диапазон номеров, которые пользователь может зарегистрировать. Кроме того, можно настроить SIP-прокси-сервер, который будет отображаться в учетной записи пользователя VoIP. Если любой из диапазона чисел не может быть предложен для регистрации, то он должен быть определен из пропущенных номеров.&lt;br /&gt;
&lt;br /&gt;
== Интеграция с Asterisk ==&lt;br /&gt;
&lt;br /&gt;
Установите необходимые пакеты (Debian и его производные).&lt;br /&gt;
&lt;br /&gt;
   apt-get install mysql asterisk asterisk-mysql&lt;br /&gt;
&lt;br /&gt;
Для интеграции с Asterisk создайте представление таблицы voip_sips:&lt;br /&gt;
&lt;br /&gt;
Прежде всего, необходимо создать базу данных для Asterisk:&lt;br /&gt;
&lt;br /&gt;
  MySQL&amp;gt; create database asterisk;&lt;br /&gt;
&lt;br /&gt;
А потом представление в базе данных FreenetIS:&lt;br /&gt;
&lt;br /&gt;
 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `asterisk`.`sip` AS select `freenetis`.`voip_sips`.`id` AS `id`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`name` AS  `name`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`amaflags` AS `amaflags`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`accountcode` AS `accountcode`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`callgroup` AS `callgroup`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`callerid` AS `callerid`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`canreinvite` AS `canreinvite`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`context` AS `context`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`defaultip` AS `defaultip`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`dtmfmode` AS `dtmfmode`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`fromuser` AS `fromuser`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`fromdomain` AS `fromdomain`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`fullcontact` AS `fullcontact`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`host` AS `host`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`insecure` AS `insecure`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`language` AS `language`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`mailbox` AS `mailbox`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`md5secret` AS `md5secret`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`nat` AS `nat`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`deny` AS `deny`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`permit` AS `permit`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`mask` AS `mask`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`pickupgroup` AS `pickupgroup`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`port` AS `port`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`qualify` AS `qualify`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`restrictcid` AS `restrictcid`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`rtptimeout` AS `rtptimeout`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`rtpholdtimeout` AS `rtpholdtimeout`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`secret` AS `secret`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`type` AS `type`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`username` AS `username`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`disallow` AS `disallow`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`allow` AS `allow`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`musiconhold` AS `musiconhold`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`regseconds` AS `regseconds`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`ipaddr` AS `ipaddr`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`regexten` AS `regexten`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`cancallforward` AS `cancallforward`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`setvar` AS `setvar`,&lt;br /&gt;
 `freenetis`.`voip_sips`.`auth` AS `auth` from `freenetis`.`voip_sips`;&lt;br /&gt;
&lt;br /&gt;
Кроме того, мы создаем представление для голосовой почты:&lt;br /&gt;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `asterisk`.`voicemail_users` AS select `freenetis`.`voip_voicemail_users`.`id` AS `uniqueid`,&lt;br /&gt;
 `freenetis`.`voip_voicemail_users`.`customer_id` AS `customer_id`,&lt;br /&gt;
 `freenetis`.`voip_voicemail_users`.`context` AS `context`,&lt;br /&gt;
 `freenetis`.`voip_voicemail_users`.`mailbox` AS `mailbox`,&lt;br /&gt;
 `freenetis`.`voip_voicemail_users`.`password` AS `password`,&lt;br /&gt;
 `freenetis`.`voip_voicemail_users`.`fullname` AS `fullname`,&lt;br /&gt;
 `freenetis`.`voip_voicemail_users`.`email` AS `email`,&lt;br /&gt;
 `freenetis`.`voip_voicemail_users`.`pager` AS `pager`,&lt;br /&gt;
 `freenetis`.`voip_voicemail_users`.`stamp` AS `stamp` from&lt;br /&gt;
 `freenetis`.`voip_voicemail_users` where (`freenetis`.`voip_voicemail_users`.`active` = _utf8'1');&lt;br /&gt;
&lt;br /&gt;
 === Конфигурация  MySQL ===&lt;br /&gt;
Asterisk может иметь непосредственный доступ к mysq.&lt;br /&gt;
&lt;br /&gt;
В '''/etc/asterisk/res_mysql.conf''' добавьте&lt;br /&gt;
&lt;br /&gt;
 [general]&lt;br /&gt;
 dbhost = localhost&lt;br /&gt;
 dbname = asterisk&lt;br /&gt;
 dbuser = username&lt;br /&gt;
 dbpass = password&lt;br /&gt;
 dbport = 3306&lt;br /&gt;
 dbsock = /var/run/mysqld/mysqld.sock&lt;br /&gt;
 &lt;br /&gt;
=== Конфигурация Asterisk ===&lt;br /&gt;
Все файлы находятся в  /etc/asterisk/&lt;br /&gt;
В '''extconfig.conf''' некоторые установки читаются из базы данных - они должны быть pre&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sippeers =&amp;gt; mysql,asterisk,sip&lt;br /&gt;
voicemail =&amp;gt; mysql,asterisk,voicemail_users&lt;br /&gt;
;extensions =&amp;gt; mysql,asterisk, extensions - not yet implemented in FreentIS!!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Для тестирования соединения с  MySQL подключитесь к консоли&lt;br /&gt;
 &lt;br /&gt;
 asterisk-rvvv&lt;br /&gt;
&lt;br /&gt;
и запустите &amp;lt;b&amp;gt;realtime mysql status&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 sip*CLI&amp;gt; realtime mysql status&lt;br /&gt;
 Connected to asterisk@localhost, port 3306 with username asterisk for 4 seconds.&lt;br /&gt;
&lt;br /&gt;
Мы протестировали функционирование соединения.&lt;br /&gt;
&lt;br /&gt;
Теперь asterisk интегрирован с FreentIS и после добавления VoIP аккаунта в FreenetIS вы можете подключаться к рабочему столу используя программное и техническое обеспечение клиентаt. Статус подключения может быть просмотрен в FreenetIS аккаунт в VoIP&lt;br /&gt;
&lt;br /&gt;
Затем мы делаем установки Asterisk в зависимости  от требований пользователя. Пример конфигурации для Prunk от NFX s.z.p.o.:&lt;br /&gt;
&lt;br /&gt;
[general]&lt;br /&gt;
 static=yes&lt;br /&gt;
 writeprotect=no&lt;br /&gt;
 userscontext=default&lt;br /&gt;
 &lt;br /&gt;
 [default]&lt;br /&gt;
&lt;br /&gt;
 ;контекст по умолчанию, он перекрывает все установки других контекстов&lt;br /&gt;
 exten =&amp;gt; s,1,Answer()&lt;br /&gt;
 exten =&amp;gt; s,n,Wait(2)&lt;br /&gt;
 exten =&amp;gt; s,n,Playback(slfree-cal-no-there)&lt;br /&gt;
 exten =&amp;gt; s,n,Hangup()&lt;br /&gt;
 &lt;br /&gt;
 [internal]&lt;br /&gt;
 ;контекст по умолчанию для наших номеров&lt;br /&gt;
&lt;br /&gt;
 ;Если мы вызываем 11 то мы попадаем на нашу почту&lt;br /&gt;
 exten =&amp;gt; 11,1,Goto(mailbox,s,1)&lt;br /&gt;
  &lt;br /&gt;
 ;Если мы вызываем экстренную линию то мы попадаем в экстренный контекст&lt;br /&gt;
 exten =&amp;gt; 112,1,Goto(emergency,${EXTEN},1)&lt;br /&gt;
 exten =&amp;gt; 150,1,Goto(emergency,${EXTEN},1)&lt;br /&gt;
 exten =&amp;gt; 155,1,Goto(emergency,${EXTEN},1)&lt;br /&gt;
 exten =&amp;gt; 158,1,Goto(emergency,${EXTEN},1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Billing API==&lt;br /&gt;
&lt;br /&gt;
Billing zapišťuje dobíjení kreditu, tarifikaci hovorů, výpis hovorů aj. Do FreenetISu bylo zaintegrováno LBilling API. LBilling API bylo vyvynuto pro potřeby NFX s.z.p.o. a jeho specifinace je dostupná na interních stránkách NFX. Samotný billing byl ale navržen tak, aby byl univerzální a pouze se měnil ovladač billungu.&lt;br /&gt;
&lt;br /&gt;
Aktuálně je implementován pouze driver pro Lbilling API NFX. Další API lze dle potřeby doprogramovat.&lt;br /&gt;
&lt;br /&gt;
=== Instalace synchronizačního skriptu ===&lt;br /&gt;
&lt;br /&gt;
Synchronizační skript zproztředkovává pro FreenetIS dobíjení kreditu a synchronizaci VoIP uživatelů.&lt;br /&gt;
&lt;br /&gt;
Před instalací zkontrolujte zda-li máte nainstalovaný na SIP serveru '''perl'''.&lt;br /&gt;
&lt;br /&gt;
1) Vytvořte MySQL pojmenovanou '''lbilling''' na stejném DB serveru jako máte databázi FreenetISu.&lt;br /&gt;
&lt;br /&gt;
2) Vytvořte pohledy do FreenetIS databáze (pokud se FreenetIS databáze nejmenuje freenetis, změňte všechny hodnoty '''`freenetis`''' na jméno Vaší databáze, popřípadě změňte i uživatele, který definuje pohledy).&lt;br /&gt;
&lt;br /&gt;
 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `transfers` AS select `freenetis`.`transfers`.`id` AS      `id`,`freenetis`.`transfers`.`origin_id` AS `origin_id`,`freenetis`.`transfers`.`destination_id` AS  `destination_id`,`freenetis`.`transfers`.`previous_transfer_id` AS `previous_transfer_id`,`freenetis`.`transfers`.`member_id` AS `member_id`,`freenetis`.`transfers`.`user_id` AS `user_id`,`freenetis`.`transfers`.`type` AS `type`,`freenetis`.`transfers`.`datetime` AS `datetime`,`freenetis`.`transfers`.`creation_datetime` AS `creation_datetime`,`freenetis`.`transfers`.`text` AS `text`,`freenetis`.`transfers`.`amount` AS `amount` from `freenetis`.`transfers`;&lt;br /&gt;
&lt;br /&gt;
 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `voip_lbilling_accounts` AS select `voip_lbilling_accounts`.`id` AS `id`,`voip_lbilling_accounts`.`userid` AS `userid`,`voip_lbilling_accounts`.`cid` AS `cid`,`voip_lbilling_accounts`.`state` AS `state`,`voip_lbilling_accounts`.`limit` AS `limit`,`voip_lbilling_accounts`.`tarif` AS `tarif`,`voip_lbilling_accounts`.`descr` AS `descr` from `freenetis`.`voip_lbilling_accounts`;&lt;br /&gt;
&lt;br /&gt;
 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `voip_lbilling_payments` AS select `voip_lbilling_payments`.`id` AS `id`,`voip_lbilling_payments`.`userid` AS `userid`,`voip_lbilling_payments`.`date` AS `date`,`voip_lbilling_payments`.`value` AS `value`,`voip_lbilling_payments`.`state` AS `state`,`voip_lbilling_payments`.`descr` AS `descr` from `freenetis`.`voip_lbilling_payments`;&lt;br /&gt;
&lt;br /&gt;
 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `voip_lbilling_users` AS select `voip_lbilling_users`.`id` AS `id`,`voip_lbilling_users`.`type` AS `type`,`voip_lbilling_users`.`state` AS `state`,`voip_lbilling_users`.`limit` AS `limit`,`voip_lbilling_users`.`currency` AS `currency`,`voip_lbilling_users`.`descr` AS `descr` from `freenetis`.`voip_lbilling_users`;&lt;br /&gt;
&lt;br /&gt;
2) Na SIP server umístěte následující soubory [[lbilling-synchronization.pl]] a [[html.tt]] do složky '''/usr/local/bin/lbilling/'''&lt;br /&gt;
&lt;br /&gt;
3) Nastavte práva pro synchronizační skript:&lt;br /&gt;
&lt;br /&gt;
 chmod a+x /usr/local/bin/lbilling/lbilling-synchronization.pl&lt;br /&gt;
&lt;br /&gt;
4) Nakonfigurujte proměnné ve skriptu [[lbilling-synchronization.pl]] (sekce configuration).&lt;br /&gt;
&lt;br /&gt;
 nano /usr/local/bin/lbilling/lbilling-synchronization.pl&lt;br /&gt;
&lt;br /&gt;
5) Přidejte synchronizační skript (následující řádky) do CRONu (/etc/crontab):&lt;br /&gt;
&lt;br /&gt;
 #lBilling synchronization&lt;br /&gt;
 30 22   * * * root perl /usr/local/bin/lbilling/lbilling-synchronization.pl -s&lt;br /&gt;
 */5 *  * * * root perl /usr/local/bin/lbilling/lbilling-synchronization.pl -p&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
?????А ДЕ ПЕРЕКЛАД “==Billing API==”???&lt;/div&gt;</summary>
		<author><name>Sivosha</name></author>	</entry>

	</feed>