<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://asterisk-pbx.ru/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel>
        <title>IP АТС Asterisk freeswitch:api</title>
        <description></description>
        <link>https://asterisk-pbx.ru/wiki/</link>
        <lastBuildDate>Wed, 28 Oct 2026 14:36:02 +0300</lastBuildDate>
        <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
        <image>
            <url>https://asterisk-pbx.ru/wiki/lib/tpl/bootstrap3/images/favicon.ico</url>
            <title>IP АТС Asterisk</title>
            <link>https://asterisk-pbx.ru/wiki/</link>
        </image>
        <item>
            <title>Freeswitch ESL: callcenter</title>
            <link>https://asterisk-pbx.ru/wiki/freeswitch/api/callcenter</link>
            <description>Freeswitch ESL: callcenter

callcenter_config

callcenter_config &lt;tab&gt;


   [agent]   [queue]	[tier]


agent

callcenter_config agent &lt;tab&gt;


   [add]    [del]    [get]    [list]    [reload]    [set]


add


fs_cli&gt; callcenter_config agent add AGENT_FOO Callback
+OK

2019-09-17 14:10:37.079770 [DEBUG] mod_callcenter.c:907 Adding Agent AGENT_FOO with type Callback with default status Logged Out</description>
        <category>freeswitch:api</category>
            <pubDate>Fri, 20 Sep 2019 10:12:25 +0300</pubDate>
        </item>
        <item>
            <title>mod_dptools:Chat</title>
            <link>https://asterisk-pbx.ru/wiki/freeswitch/api/chat</link>
            <description>mod_dptools:Chat

Отправить текстовое сообщение.

Использование


&lt;action application=&quot;chat&quot; data=&quot;protocol | from_jid | to_jid | message | [&lt;content_type&gt;]&quot;/&gt;


	*  protocol - sip, verto или jingle
	*  from_jid</description>
        <category>freeswitch</category>
        <category>chat</category>
        <category>verto</category>
        <category>sip</category>
        <category>sofia</category>
        <category>sms</category>
        <category>message</category>
            <pubDate>Tue, 18 Jan 2022 17:52:30 +0300</pubDate>
        </item>
        <item>
            <title>Freeswitch: fsapi - Json</title>
            <link>https://asterisk-pbx.ru/wiki/freeswitch/api/json</link>
            <description>Freeswitch: fsapi - Json

JSON API


	SWITCH_ADD_API(commands_api_interface, &quot;json&quot;, &quot;JSON API&quot;, json_function, &quot;JSON&quot;);
	SWITCH_ADD_JSON_API(json_api_interface, &quot;mediaStats&quot;, &quot;JSON Media Stats&quot;, json_stats_function, &quot;&quot;);
	SWITCH_ADD_JSON_API(json_api_interface, &quot;status&quot;, &quot;JSON status API&quot;, json_status_function, &quot;&quot;);
	SWITCH_ADD_JSON_API(json_api_interface, &quot;fsapi&quot;, &quot;JSON FSAPI Gateway&quot;, json_api_function, &quot;&quot;);
	SWITCH_ADD_JSON_API(json_api_interface, &quot;execute&quot;, &quot;JSON session execute application…</description>
        <category>freeswitch</category>
        <category>json</category>
        <category>api</category>
        <category>jsapi</category>
        <category>fsapi</category>
            <pubDate>Thu, 22 Aug 2019 10:56:02 +0300</pubDate>
        </item>
        <item>
            <title>Freeswitch ESL Luamod install</title>
            <link>https://asterisk-pbx.ru/wiki/freeswitch/api/luamod_install</link>
            <description>Freeswitch ESL Luamod install


 apt-get install lua5.2
 git clone https://github.com/signalwire/freeswitch.git -bv1.10 /usr/src/freeswitch.git
 cd /usr/src/freeswitch.git
 ./bootstrap.sh
 ./configure
 make -j
 cd /usr/src/freeswitch.git/libs/esl
 make luamod
 mkdir -p /usr/local/lib/lua/5.2
 cp lua/ESL.so /usr/local/lib/lua/5.2/ESL.so</description>
        <category>freeswitch</category>
        <category>api</category>
        <category>esl</category>
        <category>lua</category>
            <pubDate>Fri, 20 Mar 2020 17:14:27 +0300</pubDate>
        </item>
        <item>
            <title>FreeSwitch: ESL phpmod install</title>
            <link>https://asterisk-pbx.ru/wiki/freeswitch/api/php-esl_install</link>
            <description>FreeSwitch: ESL phpmod install

Скачайте исходники FreeSwitch


cd /usr/src/
git clone https://freeswitch.org/stash/scm/fs/freeswitch.git -bv1.8 freeswitch



apt-get install gcc autoconf libtool libtool-bin libjpeg libjpeg-dev pkg-config sqlite3 libsqlite3-dev libcurl4-openssl-dev libpcre3-dev libspeex-dev libspeexdsp-dev libedit-dev libtiff-dev libqdbm-dev libonig-dev libdb-dev

apt-get install libldns-dev</description>
        <category>freeswitch</category>
        <category>esl</category>
        <category>php</category>
        <category>mod</category>
            <pubDate>Fri, 29 Mar 2019 13:39:06 +0300</pubDate>
        </item>
        <item>
            <title>Freeswitch ESL: regex</title>
            <link>https://asterisk-pbx.ru/wiki/freeswitch/api/regex</link>
            <description>Freeswitch ESL: regex

Evaluate a regex (regular expression).

Usage: 


       regex &lt;data&gt;|&lt;pattern&gt;[|&lt;subst string&gt;][|(n|b)]
       regex m:/&lt;data&gt;/&lt;pattern&gt;[/&lt;subst string&gt;][/(n|b)]
       regex m:~&lt;data&gt;~&lt;pattern&gt;[~&lt;subst string&gt;][~(n|b)]


This command behaves differently depending upon whether or not a substitution string and optional flag is supplied:</description>
        <category>freeswitch</category>
        <category>esl</category>
        <category>regex</category>
        <category>api</category>
            <pubDate>Wed, 25 Sep 2019 11:11:19 +0300</pubDate>
        </item>
        <item>
            <title>Restful API при помощи mod_verto</title>
            <link>https://asterisk-pbx.ru/wiki/freeswitch/api/restful_verto</link>
            <description>Restful API при помощи mod_verto

Реализация Restful API с использованием mod_verto, как встроенного HTTP сервера

Чтобы использовать HTTP интерфейс, разместите следующий код в профиле</description>
        <category>freeswitch</category>
        <category>api</category>
        <category>verto</category>
        <category>lua</category>
        <category>http</category>
            <pubDate>Sun, 15 Sep 2019 14:18:12 +0300</pubDate>
        </item>
        <item>
            <title>Freeswitch: Fsapi - xml_locate</title>
            <link>https://asterisk-pbx.ru/wiki/freeswitch/api/xml_locate</link>
            <description>Freeswitch: Fsapi - xml_locate

Выводит древо активных параметров XML.

Использование: 

xml_locate [root | &lt;section&gt; | &lt;section&gt; &lt;tag&gt; &lt;tag_attr_name&gt; &lt;tag_attr_val&gt;]

xml_locate root - вернет полную XML конфигурацию FreeSWITCH</description>
        <category>freeswitch</category>
        <category>api</category>
        <category>esl</category>
        <category>xml_locate</category>
            <pubDate>Thu, 05 Mar 2020 11:36:24 +0300</pubDate>
        </item>
    </channel>
</rss>
