{"id":269818,"date":"2015-12-07T23:39:02","date_gmt":"2015-12-07T20:39:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=269818"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=269818","title":{"rendered":"\u042d\u043c\u0438\u0442\u0430\u0446\u0438\u044f \u0440\u0430\u0446\u0438\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Freeswitch \u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u043e voip-\u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438"},"content":{"rendered":"<p>       \u0412\u043e\u0442 \u0434\u0430\u0436\u0435 \u0442\u0430\u043a\u043e\u0435 \u0431\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u043d\u0430\u0434\u043e \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u043a\u043e\u0433\u043e \u043c\u043e\u043d\u0441\u0442\u0440\u0430 \u043a\u0430\u043a Freeswitch \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043f\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 \u043e\u0431\u044b\u0447\u043d\u043e\u0439 \u0440\u0430\u0446\u0438\u0438. <br \/>  \u041e\u0434\u0438\u043d \u0433\u043e\u0432\u043e\u0440\u0438\u0442, \u0432\u0441\u0435 \u0441\u043b\u0443\u0448\u0430\u044e\u0442.<\/p>\n<p>  \u0410 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u043c \u0432 \u044d\u0442\u043e\u043c NodeJs \u0438 npm \u043c\u043e\u0434\u0443\u043b\u044c modesl \u0434\u043b\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 Freeswitch.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/f61\/91d\/6ef\/f6191d6ef9764269be9310ca4e034cc5.png\"\/><\/p>\n<p>  <a name=\"habracut\"><\/a><br \/>  \u0412 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043c\u043e\u043c\u0435\u043d\u0442 \u0443 \u043d\u0430\u0441 \u0432 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 \u0431\u043e\u043b\u044c\u0448\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0431\u0435\u0441\u043f\u0440\u043e\u0432\u043e\u0434\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438 \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a\u0443 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u044d\u043c\u0443\u043b\u044f\u0446\u0438\u044f \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0440\u0430\u0446\u0438\u0438 \u043f\u043e\u0432\u0435\u0440\u0445 voip-\u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0438\u0438. \u0417\u0430 \u043e\u0441\u043d\u043e\u0432\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0431\u044b\u043b \u0432\u0437\u044f\u0442 Freeswitch. \u0412 \u043e\u0431\u0449\u0435\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0441\u0432\u044f\u0437\u0438 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 mesh-\u0441\u0435\u0442\u0438 \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0435\u0442, \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0443\u0437\u043b\u0435 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0439 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 Freeswitch-\u0430, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438.<\/p>\n<h2>\u0417\u0430\u0434\u0430\u0447\u0430<\/h2>\n<p>  \u0412 \u0440\u0430\u0446\u0438\u0438 \u043a\u0430\u043a \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e \u0432\u0441\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e: \u043e\u0434\u0438\u043d \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u0438 \u0432\u0441\u0435 \u0441\u043b\u0443\u0448\u0430\u044e\u0442, \u0447\u0442\u043e \u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c. \u0422\u0430\u043a \u0436\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446-\u0441\u0432\u044f\u0437\u044c \u0434\u043b\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0445 \u0433\u0440\u0443\u043f\u043f, \u043f\u0440\u0438\u0447\u0435\u043c \u043b\u044e\u0431\u043e\u0439 \u0430\u0431\u043e\u043d\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0431\u044b\u0442\u044c \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0438\u0437 \u043d\u0438\u0445. \u0418 \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432 \u0441\u0435\u0442\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0430\u0434\u0440\u0435\u0441\u043d\u044b\u0435 \u0432\u044b\u0437\u043e\u0432\u044b.<br \/>  \u0412 \u0440\u0430\u0441\u043f\u043e\u0440\u044f\u0436\u0435\u043d\u0438\u0438 \u0435\u0441\u0442\u044c:<\/p>\n<ul>\n<li><a href=\"https:\/\/freeswitch.org\/\">Freeswitch<\/a> \u2014 user agent, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c \u043f\u043e\u0434\u0431\u043e\u0440\u043e\u043c \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0434\u0430\u0436\u0435 \u043a\u043e\u0444\u0435 \u0441\u0432\u0430\u0440\u0438\u0442\u044c \u0441\u043c\u043e\u0436\u0435\u0442.<\/li>\n<li><a href=\"https:\/\/www.npmjs.com\/package\/modesl\">modesl<\/a> \u2014 npm \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 Freeswitch \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f <a href=\"https:\/\/wiki.freeswitch.org\/wiki\/Event_Socket_Library\">Event Socket Library<\/a>.<\/li>\n<li><a href=\"https:\/\/freeswitch.org\/confluence\/display\/FREESWITCH\/mod_conference\">mod_conference<\/a> \u2014 \u043c\u043e\u0434\u0443\u043b\u044c\u044f FS \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u044b\u043c\u0438 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f\u043c\u0438.<\/li>\n<li><a href=\"https:\/\/freeswitch.org\/confluence\/display\/FREESWITCH\/mod_sofia\">mod_sofia<\/a> \u2014 \u043c\u043e\u0434\u0443\u043b\u044c\u044f FS \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 SIP.<\/li>\n<\/ul>\n<h2>\u041e\u0431\u0449\u0430\u044f \u0441\u0445\u0435\u043c\u0430<\/h2>\n<p>  \u041b\u043e\u0433\u0438\u043a\u0430 \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u0430\u044f \u0438 \u0437\u0430\u043f\u0443\u0442\u0430\u043d\u043d\u0430\u044f, \u043d\u043e \u0440\u0430\u0437 \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a \u043f\u0440\u043e\u0441\u0438\u0442, \u043d\u0430\u0434\u043e \u0434\u0435\u043b\u0430\u0442\u044c. \u041f\u0440\u0438\u043c\u0435\u0440\u043d\u0430\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041e\u0431\u0449\u0430\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0439 \u0441\u0432\u044f\u0437\u0438.<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/dcb\/eda\/1b0\/dcbeda1b0d064b32b688329bb5a5307b.png\"\/><\/div>\n<\/div>\n<p>  <b>Sip client<\/b> \u2014 \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438 <a href=\"https:\/\/freeswitch.org\/confluence\/display\/FREESWITCH\/mod_portaudio\">mod_portaudio<\/a> \u0438 linphone \u0438\u043b\u0438 \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 baresip.<\/p>\n<p>  <b>Local Conference<\/b> \u2014 \u044d\u0442\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0443\u0437\u043b\u0430, \u0437\u0430\u0434\u0430\u0447\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0445\u0438\u0442\u0440\u0443\u044e \u043b\u043e\u0433\u0438\u043a\u0443 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u044d\u043c\u0443\u043b\u044f\u0446\u0438\u0435\u0439 \u0440\u0430\u0446\u0438\u0438 \u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u043c\u0435\u0436\u0434\u0443 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f\u043c\u0438.<\/p>\n<p>  <b>Global Conference<\/b> \u2014 \u044d\u0442\u043e \u043e\u0431\u0449\u0430\u044f \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f, \u0438\u0445 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 \u0440\u0430\u0437\u043d\u044b\u0435 \u0433\u0440\u0443\u043f\u043f\u044b.<\/p>\n<h2>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430<\/h2>\n<p>  <\/p>\n<h3>\u041a\u0430\u043a \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c modesl<\/h3>\n<p>  \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c modesl \u043c\u043e\u0436\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:  <\/p>\n<pre><code class=\"javascript\">var esl = require( &quot;modesl&quot;); var localServer = &quot;localhost&quot;; var localServerPort = 8021; var localServerUser = &quot;ClueCon&quot;;  var connectionCallback = function() { \t\/\/\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \tconnection.on( &quot;esl::end&quot;, function( event) { \t\t\/\/\u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \t}); }  \/\/\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 var connection = new esl.Connection( localServer, localServerPort, localServerUser, connectionCallback);  connection.once( &quot;error&quot;, function() { \t\/\/\u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c \u043e\u0448\u0438\u0431\u043a\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f }); <\/code><\/pre>\n<p>  \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 Connection \u0432 modesl:  <\/p>\n<ul>\n<li>\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 \u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u043e\u0442 Freeswitch. \u0412\u043e\u0442 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 \u043d\u0430 \u0432\u0441\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f:\n<pre><code class=\"javascript\">connection.on( &quot;esl::event::**&quot;, function( event) {});<\/code><\/pre>\n<\/li>\n<li>\u0421\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u044b Freeswitch\n<pre><code class=\"javascript\">Connection.prototype.api = function(command, args, cb)<\/code><\/pre>\n<\/li>\n<li>\u0410\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u044b Freeswitch\n<pre><code class=\"javascript\">Connection.prototype.bgapi = function(command, args, jobid, cb)<\/code><\/pre>\n<\/li>\n<\/ul>\n<h3>\u041a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f\u043c\u0438 \u0432 Freeswitch<\/h3>\n<p>  \u041a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044e \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0432 \u0432\u0441\u0435 \u0432 xml \u043a\u043e\u043d\u0444\u0438\u0433\u0430\u0445, \u043b\u0438\u0431\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u044f \u0438\u0437 xml-\u043a\u043e\u043d\u0444\u0438\u0433\u043e\u0432 \u0432\u0441\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u0438 \u043f\u043e\u0440\u0442. \u041c\u044b \u0432\u044b\u0431\u0435\u0440\u0435\u043c 2\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442.<br \/>  \u0412 \u043a\u043e\u043d\u0444\u0438\u0433\u0430\u0445 Freeswitch \u0432 \u0444\u0430\u0439\u043b\u0435 dialplan\/public.xml \u043d\u0430\u0434\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043d\u0430\u043f\u043e\u0434\u043e\u0431\u0438\u0435:  <\/p>\n<pre><code class=\"xml\">        &lt;extension name=&quot;conference_server&quot;&gt;                 &lt;condition field=&quot;destination_number&quot; expression=&quot;^(5555)$&quot;&gt;                 &lt;action application=&quot;socket&quot; data=&quot;127.0.0.1:8087 async full&quot;\/&gt;                 &lt;\/condition&gt;         &lt;\/extension&gt; <\/code><\/pre>\n<p>  \u042d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442 \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u043f\u043e\u0437\u0432\u043e\u043d\u044f\u0442 \u043f\u043e \u043d\u043e\u043c\u0435\u0440\u0443 5555 \u0442\u043e \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 127.0.0.1:8087.<br \/>  \u0422\u0430\u043a \u0436\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438:  <\/p>\n<pre><code class=\"javascript\">var esl = require('modesl');  var esl_server = new esl.Server({port: 8087, myevents:true}, function(){ \tconsole.log(&quot;ConferenceServer server is up&quot;); });  esl_server.on( 'connection::ready', function( conn, id) { \tconsole.log( 'ConferenceServer new call', id); \t \tconn.execute( 'conference', 'ConfName@default', function( err, result){ \t\tconsole.log( arguments); \t});  \tconn.on('esl::end', function( evt, body) { \t\tconsole.log( &quot;ConferenceServer call ended &quot;, id); \t}); }); <\/code><\/pre>\n<h2>\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f<\/h2>\n<p>  <\/p>\n<h3>\u0412\u0445\u043e\u0434 \u0432 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044e<\/h3>\n<p>  \u041f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0443\u0437\u043b\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0437\u0432\u043e\u043d\u043e\u043a \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044e. \u0414\u043b\u044f \u0432\u0445\u043e\u0434\u0430 \u0432 \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u0438\u0437 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0439 \u0443\u0437\u0435\u043b \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442 \u0437\u0432\u043e\u043d\u043e\u043a \u0438\u0437 Local Conference \u0432 Global Conference. \u0412 Freeswitch \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c <a href=\"https:\/\/wiki.freeswitch.org\/wiki\/Mod_conference#dial\">\u0442\u0430\u043a<\/a>:<br \/>  fs_cli   <\/p>\n<pre><code class=\"bash\">conference [conference name] dial sofia\/internal\/[sip address] <\/code><\/pre>\n<p>  nodejs  <\/p>\n<pre><code class=\"javascript\">\tself.dial = function( sipAddress, callback){  \t\tself.connection.bgapi( &quot;conference&quot;, conferenceName + &quot; dial sofia\/internal\/&quot; + sipAddress, function( result){ \t \t\t\tvar resultId = result.getBody().indexOf( &quot;SUCCESS&quot;) \t\t\tif( resultId == -1){ \t\t\t\tvar body = result.getBody(); \t\t\t\tvar startIndex = body.indexOf( '['); \t\t\t\tvar result = body.substring( startIndex + 1, body.length - 2); \t\t\t\tcallbackHelper.call( callback, &quot;Conference call error: &quot; + result); \t\t\t} \t\t\telse                 \t\tcallbackHelper.call( callback, null); \t\t}); \t}; <\/code><\/pre>\n<p>  \u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0438 \u0443\u0434\u043e\u0431\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0430\u044f \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 \u0432 \u043e\u0434\u043d\u0443.<br \/>  \u0414\u0430\u043b\u044c\u0448\u0435 \u043c\u044b \u0434\u0435\u043b\u0430\u0435\u043c deaf \u0434\u043b\u044f \u044d\u0442\u043e\u0439 Global Conference \u0432\u043d\u0443\u0442\u0440\u0438 Local Conference ( \u044d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u044c \u043d\u0430\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u043d\u044b\u0435 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0445\u043e\u0434\u0438\u0442 \u0443\u0437\u0435\u043b, \u043d\u0435 \u0441\u043b\u044b\u0448\u0430\u043b\u0438 \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430).<br \/>  \u0421\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/wiki.freeswitch.org\/wiki\/Mod_conference#deaf\">\u0442\u0430\u043a<\/a>:<br \/>  fs_cli   <\/p>\n<pre><code class=\"bash\">conference [conference name] deaf [memberId] <\/code><\/pre>\n<p>  nodejs  <\/p>\n<pre><code class=\"javascript\">\tself.deaf = function( conferenceName, memberId, callback){ \t\tself.connection.bgapi( &quot;conference&quot;, conferenceName + &quot; deaf &quot; + memberId, function( result){ \t\t\tcallbackHelper.call( callback, null); \t\t}); \t}; <\/code><\/pre>\n<p>  \u041e\u0442\u043a\u0443\u0434\u0430 \u0432\u0437\u044f\u043b\u0441\u044f memberId, \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0432\u0448\u0438\u0441\u044c \u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 <b>conference_add_member<\/b>.<\/p>\n<h3>\u0420\u0430\u0437\u0433\u043e\u0432\u043e\u0440<\/h3>\n<p>  \u041d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0443\u0437\u043b\u0435 \u043f\u0435\u0440\u0435\u0434 \u043d\u0430\u0447\u0430\u043b\u043e\u043c \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440\u0430 Local Conference \u0438\u043c\u0435\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0432\u0438\u0434:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438.<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/a32\/309\/739\/a32309739bf446cc831dfd080b974f89.png\"\/><\/div>\n<\/div>\n<p>  \u0423\u0437\u0435\u043b \u0441\u043b\u044b\u0448\u0438\u0442 \u0432\u0441\u0435\u0445, \u0438 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 \u043d\u0435 \u0441\u043b\u044b\u0448\u0430\u0442 \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430.<br \/>  \u041a\u043e\u0433\u0434\u0430 \u0443\u0437\u043b\u0443 \u043d\u0443\u0436\u043d\u043e \u0447\u0442\u043e-\u0442\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u043e\u0434\u043d\u0443 \u0438\u0437 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0439, \u043d\u0430\u0434\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u0441\u0435\u0445 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u043c \u043a\u0440\u043e\u043c\u0435 \u0441\u0435\u0431\u044f <a href=\"https:\/\/wiki.freeswitch.org\/wiki\/Mod_conference#mute\">mute<\/a>. \u042d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u0431\u0435\u0436\u0430\u0432\u0448\u0438\u0441\u044c \u043f\u043e \u0441\u043f\u0438\u0441\u043a\u0443 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439  <\/p>\n<pre><code class=\"javascript\">\tself.mute = function( conferenceName, memberId, callback){ \t\tself.connection.bgapi( &quot;conference&quot;, conferenceName + &quot; mute &quot; + memberId, function( result){ \t\t\tcallbackHelper.call( callback, null); \t\t}); \t}; <\/code><\/pre>\n<p>.<br \/>  \u0417\u0430\u0442\u0435\u043c \u043d\u0430\u0434\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c <a href=\"https:\/\/wiki.freeswitch.org\/wiki\/Mod_conference#undeaf\">undeaf<\/a> \u0434\u043b\u044f \u0442\u043e\u0439 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 \u043a\u0443\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u0443\u0437\u0435\u043b  <\/p>\n<pre><code class=\"javascript\">\tself.undeaf = function( conferenceName, memberId, callback){ \t\tself.connection.bgapi( &quot;conference&quot;, conferenceName + &quot; undeaf &quot; + memberId, function( result){ \t\t\tcallbackHelper.call( callback, null); \t\t}); \t}; <\/code><\/pre>\n<p>.<br \/>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0441\u0445\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u0445\u0435\u043c\u0430 \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440\u0430.<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/93f\/f42\/55e\/93ff4255e73e4aceb89e0fb3d5db8b05.png\"\/><\/div>\n<\/div>\n<p>  \u0422\u0430\u043a \u043a\u0430\u043a \u0432\u0441\u0435\u043c \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u043c \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f\u043c \u0441\u0434\u0435\u043b\u0430\u043d mute, \u0430\u043a\u0442\u0438\u0432\u043d\u0430\u044f \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u0430\u044f \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f (\u0442\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0441\u0434\u0435\u043b\u0430\u043d undeaf) \u043d\u0435 \u0443\u0441\u043b\u044b\u0448\u0438\u0442 \u0434\u0440\u0443\u0433\u0438\u0435. \u041a\u043e\u0433\u0434\u0430 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0441\u044f \u043c\u044b \u0432\u0435\u0440\u043d\u0435\u043c \u0432\u0441\u0435 \u0432 \u043f\u0440\u0435\u0436\u043d\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0412\u043e\u0442 \u0442\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u043e\u0431\u0449\u0438\u0442\u044c \u043a\u043e\u0434 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c\u0438 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438.<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">function FsConferenceAPI( connection){ \tvar self = this;  \tself.connection = connection;  \tself.unmuteAll = function( conferenceName){ \t\tself.connection.bgapi( &quot;conference&quot;, conferenceName + &quot; unmute all&quot;, function( result){}); \t};\t  \tself.dial = function( sipAddress, callback){  \t\tself.connection.bgapi( &quot;conference&quot;, conferenceName + &quot; dial sofia\/internal\/&quot; + sipAddress, function( result){ \t \t\t\tvar resultId = result.getBody().indexOf( &quot;SUCCESS&quot;) \t\t\tif( resultId == -1){ \t\t\t\tvar body = result.getBody(); \t\t\t\tvar startIndex = body.indexOf( '['); \t\t\t\tvar result = body.substring( startIndex + 1, body.length - 2); \t\t\t\tcallbackHelper.call( callback, &quot;Conference call error: &quot; + result); \t\t\t}             else                 callbackHelper.call( callback, null); \t\t}); \t};  \tself.kick = function( conferenceName, memberId, callback){  \t\tself.connection.bgapi( &quot;conference&quot;, conferenceName + &quot; kick &quot; + memberId, function( result){ \t\t\tvar body = result.getBody(); \t\t\tif( body.indexOf( &quot;OK kicked &quot; + memberId) != -1) \t\t\t\tcallbackHelper.call( callback, null); \t\t\telse \t\t\t\tcallbackHelper.call( callback, body); \t\t}); \t};      self.kickAll = function( conferenceName, callback){  \t\tself.connection.bgapi( &quot;conference&quot;, conferenceName + &quot; kick all&quot;, function( result){ \t\t\tvar body = result.getBody(); \t\t\tif( body.indexOf( &quot;OK kicked&quot;) != -1) \t\t\t\tcallbackHelper.call( callback, null); \t\t\telse \t\t\t\tcallbackHelper.call( callback, body); \t\t}); \t};  \tself.deaf = function( conferenceName, memberId, callback){ \t\tself.connection.bgapi( &quot;conference&quot;, conferenceName + &quot; deaf &quot; + memberId, function( result){ \t\t\tcallbackHelper.call( callback, null); \t\t}); \t};  \tself.undeaf = function( conferenceName, memberId, callback){  \t\tself.connection.bgapi( &quot;conference&quot;, conferenceName + &quot; undeaf &quot; + memberId, function( result){ \t\t\tcallbackHelper.call( callback, null); \t\t}); \t};  \tself.mute = function( conferenceName, memberId, callback){  \t\tself.connection.bgapi( &quot;conference&quot;, conferenceName + &quot; mute &quot; + memberId, function( result){ \t\t\tcallbackHelper.call( callback, null); \t\t}); \t};  \tself.unmute = function( conferenceName, memberId, callback){  \t\tself.connection.bgapi( &quot;conference&quot;, conferenceName + &quot; unmute &quot; + memberId, function( result){ \t\t\tcallbackHelper.call( callback, null); \t\t}); \t}; } <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043a\u043e\u0433\u0434\u0430 \u0432\u0435\u0441\u044c \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0433\u043e\u0442\u043e\u0432, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0432\u044b\u0441\u043e\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u0443\u044e \u043b\u043e\u0433\u0438\u043a\u0443 \u0440\u0430\u0431\u043e\u0442\u044b. \u041d\u043e \u044d\u0442\u043e \u0443\u0436\u0435 \u0442\u0435\u043c\u0430 \u0434\u043b\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 :).<\/p>\n<h2>\u0412\u044b\u0432\u043e\u0434\u044b<\/h2>\n<p>  \u0421\u0445\u0435\u043c\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0438 \u0437\u0430\u043f\u0443\u0442\u0430\u043d\u043d\u0430\u044f. <br \/>  \u0420\u0435\u0448\u0438\u0442\u044c \u044d\u0442\u0443 \u0437\u0430\u0434\u0430\u0447\u0443 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0443\u0437\u043b\u0430 \u043c\u043e\u0436\u043d\u043e, \u043d\u043e \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0434\u0435\u043b\u0430\u0442\u044c \u0430\u0434\u0440\u0435\u0441\u043d\u044b\u0435 \u0432\u044b\u0437\u043e\u0432\u044b \u0432\u043e \u0432\u0441\u0435 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u044b \u0441\u0442\u043e\u043b\u043a\u043d\u0435\u043c\u0441\u044f \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439: sip-\u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0437\u0432\u043e\u043d\u043a\u0438 \u043d\u0430 \u0443\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0438 \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u043c\u0438 \u0437\u0432\u043e\u043d\u043a\u0430\u043c\u0438. \u0423 \u0442\u0430\u043a\u043e\u0439 \u0441\u0445\u0435\u043c\u044b \u0442\u043e\u0436\u0435 \u0431\u0443\u0434\u0443\u0442 \u0441\u0432\u043e\u0438 \u043f\u043b\u044e\u0441\u044b \u0438 \u043c\u0438\u043d\u0443\u0441\u044b.<br \/>  \u0412\u0430\u0436\u043d\u044b\u0439 \u0432\u044b\u0432\u043e\u0434 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e Freeswitch \u2014 \u044d\u0442\u043e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0430\u043c\u044b\u0435 \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u044b\u0435 \u0441\u0445\u0435\u043c\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0433\u043e\u043b\u043e\u0441\u043e\u043c.               <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/268773\/\"> http:\/\/habrahabr.ru\/post\/268773\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       \u0412\u043e\u0442 \u0434\u0430\u0436\u0435 \u0442\u0430\u043a\u043e\u0435 \u0431\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u043d\u0430\u0434\u043e \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u043a\u043e\u0433\u043e \u043c\u043e\u043d\u0441\u0442\u0440\u0430 \u043a\u0430\u043a Freeswitch \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043f\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 \u043e\u0431\u044b\u0447\u043d\u043e\u0439 \u0440\u0430\u0446\u0438\u0438. <br \/>  \u041e\u0434\u0438\u043d \u0433\u043e\u0432\u043e\u0440\u0438\u0442, \u0432\u0441\u0435 \u0441\u043b\u0443\u0448\u0430\u044e\u0442.<\/p>\n<p>  \u0410 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u043c \u0432 \u044d\u0442\u043e\u043c NodeJs \u0438 npm \u043c\u043e\u0434\u0443\u043b\u044c modesl \u0434\u043b\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 Freeswitch.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/f61\/91d\/6ef\/f6191d6ef9764269be9310ca4e034cc5.png\"\/><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-269818","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/269818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=269818"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/269818\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=269818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=269818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=269818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}