{"id":174125,"date":"2013-03-25T09:55:03","date_gmt":"2013-03-25T05:55:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=174125"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=174125","title":{"rendered":"<span class=\"post_title\">Asterisk. \u041f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u043d\u043e\u043c\u0435\u0440 \u0437\u0432\u043e\u043d\u044f\u0449\u0435\u0433\u043e \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0438 \u043d\u0430 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0421\u041c\u0421<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/7d5\/2a8\/f98\/7d52a8f98ce670260dcc6445382944a0.png\"\/><\/p>\n<p>  \u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435 \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0435 \u0445\u0430\u0431\u0440\u043e\u0432\u0447\u0430\u043d\u0435 \u0438 \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 Asterisk. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043e\u043f\u044b\u0442\u043e\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438. \u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0438 \u0437\u0432\u043e\u043d\u043a\u043e\u0432 \u0441 \u043e\u0434\u043d\u043e\u0433\u043e \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e\/\u0433\u043e\u0440\u043e\u0434\u0441\u043a\u043e\u0433\u043e \u043d\u043e\u043c\u0435\u0440\u0430 \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u043c\u044b \u0432\u0438\u0434\u0435\u043b\u0438 \u043d\u043e\u043c\u0435\u0440 \u0437\u0432\u043e\u043d\u044f\u0449\u0435\u0433\u043e, \u0430 \u043d\u0435 \u043d\u0430\u0448 \u0433\u043e\u0440\u043e\u0434\u0441\u043a\u043e\u0439 \u043d\u043e\u043c\u0435\u0440. \u041d\u043e \u0434\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0441\u0432\u044f\u0437\u0438 \u043d\u0435 \u0434\u0430\u0434\u0443\u0442 \u043d\u0430\u043c \u0442\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u0432\u043e\u0438 \u043d\u043e\u043c\u0435\u0440\u0430 \u043f\u0440\u0438 \u0437\u0432\u043e\u043d\u043a\u0435 \u0447\u0435\u0440\u0435\u0437 \u0438\u0445 \u0441\u0435\u0442\u0438 (\u0418 \u043f\u0440\u0430\u0432\u0434\u0430, \u044d\u0442\u043e \u0431\u044b\u043b \u0431\u044b \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u0431\u0430\u0440\u0434\u0430\u043a). \u041d\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0435\u0439 \u0435\u0433\u043e \u0447\u0435\u0440\u0435\u0437 \u0421\u041c\u0421 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435.<br \/>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u0427\u0442\u043e \u0438\u043c\u0435\u0435\u043c: <br \/>  \u0421\u0435\u0440\u0432\u0435\u0440 \u0441 FreePBX Distro FreePBX 2.11.0.0beta2.5 (\u0410\u0441\u0442\u0435\u0440\u0438\u0441\u043a 1.8), \u043c\u043e\u0434\u0435\u043c Huawei E171, \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0445 \u0433\u043e\u0440\u043e\u0434\u0441\u043a\u0438\u0445 \u043b\u0438\u043d\u0438\u0439, \u0434\u0438\u0430\u043b\u043f\u043b\u0430\u043d \u0441 \u043f\u0435\u0440\u0435\u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0435\u0439.<\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043c\u043e\u0434\u0435\u043c, \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043c \u0435\u0433\u043e \u0432 \u043d\u0443\u0436\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c, \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0421\u041c\u0421 \u2014 Gnokii. \u0417\u0434\u0435\u0441\u044c \u0438 \u0434\u0430\u043b\u0435\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0434\u043b\u044f CentOS.<\/p>\n<p>  1. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0442\u0430\u0432\u0438\u043c \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438:<\/p>\n<pre><code class=\"bash\">yum install usbutils libusb-devel tcl <\/code><\/pre>\n<p>  2. \u0412\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043c\u043e\u0434\u0435\u043c \u0438 \u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u043e\u043d \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0441\u044f:<\/p>\n<pre><code class=\"bash\">lsusb Bus 002 Device 007: ID 12d1:14fe Huawei Technologies Co., Ltd. <\/code><\/pre>\n<p> \u0422\u0430\u043a \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u0442\u0440\u043e\u043a\u0430.<\/p>\n<p>  3. \u0412 \u043c\u043e\u0435\u043c \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0435 \u043d\u0435 \u0431\u044b\u043b\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432. \u0421\u0442\u0430\u0432\u0438\u043c Development Tools.<\/p>\n<pre><code class=\"bash\">yum groupinstall &quot;Development Tools&quot; <\/code><\/pre>\n<p>  4. \u041a\u0430\u0447\u0430\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0440\u0435\u0436\u0438\u043c\u043e\u0432 \u043c\u043e\u0434\u0435\u043c\u0430. \u041f\u0430\u043a\u0435\u0442\u044b usb-modeswitch usb-modeswitch-data \u0431\u0435\u0440\u0435\u043c <a href=\"http:\/\/www.draisberghof.de\/usb_modeswitch\/\">\u043e\u0442\u0441\u044e\u0434\u0430<\/a>.<\/p>\n<p>  5. \u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043e\u0431\u0430 \u0430\u0440\u0445\u0438\u0432\u0430 \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u043e-\u043e\u0447\u0435\u0440\u0435\u0434\u0438: <\/p>\n<pre><code class=\"bash\">tar xvjf ... make install <\/code><\/pre>\n<p>  6. \u041f\u0435\u0440\u0435\u0434\u0435\u0440\u0433\u0438\u0432\u0430\u0435\u043c \u043c\u043e\u0434\u0435\u043c \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c:<\/p>\n<pre><code class=\"bash\">lsusb Bus 002 Device 008: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE\/UMTS\/GSM Modem\/Networkcard <\/code><\/pre>\n<p>  \u0417\u043d\u0430\u0447\u0438\u0442 \u0432\u0441\u0435 \u041e\u041a \u0438 \u043c\u043e\u0434\u0435\u043c \u0431\u0443\u0434\u0435\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043a\u0430\u043a \u043d\u0430\u0434\u043e. \u0415\u0441\u043b\u0438 \u0441\u0442\u0440\u043e\u043a\u0430 \u0442\u0430 \u0436\u0435, \u0447\u0442\u043e \u0438 \u0432\u043d\u0430\u0447\u0430\u043b\u0435, \u0442\u043e \u0438\u0434\u0435\u043c <a href=\"http:\/\/awsswa.livejournal.com\/12015.html\">\u0441\u044e\u0434\u0430<\/a>.<\/p>\n<p>  \u041a\u043e\u043c\u0430\u043d\u0434\u0430 dmesg \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u043d\u0430\u043c:<\/p>\n<pre><code class=\"bash\">option 2-1.4:1.0: GSM modem (1-port) converter detected usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB0 option 2-1.4:1.1: GSM modem (1-port) converter detected usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB1 option 2-1.4:1.2: GSM modem (1-port) converter detected usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB2  <\/code><\/pre>\n<p>  7. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u0430\u0440\u0438\u0439 \u0434\u043b\u044f EPEL CentOS <a href=\"http:\/\/www.server-world.info\/en\/note?os=CentOS_6&amp;p=initial_conf&amp;f=6\">\u0432\u043e\u0442 \u0442\u0430\u043a<\/a>. <\/p>\n<p>  8. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c gnokii <\/p>\n<pre><code class=\"bash\">yum --enablerepo=epel install gnokii gnokii-smsd <\/code><\/pre>\n<p>  9. \u041f\u0440\u0430\u0432\u0438\u043c \u043a\u043e\u043d\u0444\u0438\u0433 \/etc\/gnokiirc<\/p>\n<pre><code class=\"bash\">[global] port = \/dev\/ttyUSB0 model = AT initlength = default connection = serial use_locking = no serial_baudrate = 115200 <\/code><\/pre>\n<p>  10. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 \u0421\u041c\u0421:<\/p>\n<pre><code class=\"bash\">echo 'Bingo!' | gnokii --sendsms +79060000000 <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e asterisk \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c gnokii \u0438\u0437 \u0434\u0438\u0430\u043b\u043f\u043b\u0430\u043d\u0430. \u0422\u0430\u043a \u043a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 gnokii \u0431\u044b\u043b\u0430 \u043f\u043e\u0434 \u0443\u0447\u0435\u0442\u043a\u043e\u0439 root, \u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c asterisk \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442 \u0435\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c. \u041f\u0440\u0430\u0432\u0438\u043c \u0444\u0430\u0439\u043b \/etc\/sudoers \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b visudo (\u043d\u0430\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e visudo \u0434\u043b\u044f \u043f\u0440\u0430\u0432\u043a\u0438 \u0444\u0430\u0439\u043b\u0430 sudoers):<\/p>\n<p>  \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u0442\u0440\u043e\u043a\u0443 \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f asterisk:<\/p>\n<pre><code class=\"bash\">asterisk ALL=NOPASSWD:\/usr\/bin\/gnokii  <\/code><\/pre>\n<p>  \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0444\u0430\u0439\u043b \u0438 \u0432\u044b\u0445\u043e\u0434\u0438\u043c. <\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0432\u043d\u0435\u0434\u0440\u0438\u0442\u044c \u0432 \u043d\u0430\u0448 \u0434\u0438\u0430\u043b\u043f\u043b\u0430\u043d \u043a\u043e\u043c\u0430\u043d\u0434\u0443 System() \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 CID \u0432 \u0421\u041c\u0421. FreePBX, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043d\u0435 \u0434\u0430\u0441\u0442 \u043d\u0430\u043c \u043f\u0440\u0430\u0432\u0438\u0442\u044c extensions.conf \u0438 extensions_additional.conf, \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u043d \u0441\u0430\u043c \u0438\u0445 \u0432\u0441\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442. \u041d\u043e \u043c\u043e\u0436\u043d\u043e \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u0432\u043e\u0438 \u043f\u0440\u0430\u0432\u043a\u0438 \u0432 \u043f\u043b\u0430\u043d \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0430\u0439\u043b\u0430 extensions_override_freepbx.conf, \u0447\u0442\u043e \u043c\u044b \u0438 \u0441\u0434\u0435\u043b\u0430\u0435\u043c. \u041c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 \u0444\u0430\u0439\u043b\u0435 extensions_additional.conf \u043d\u0443\u0436\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442, \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u0432 extensions_override_freepbx.conf \u0438 \u0432\u043d\u0435\u0441\u0442\u0438 \u0441\u0432\u043e\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f. \u0423 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u043d\u043e\u043c\u0435\u0440 203 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0435\u0440\u0435\u0430\u0434\u0440\u0435\u0441\u0443\u0435\u0442\u0441\u044f \u043d\u0430 \u043d\u043e\u043c\u0435\u0440 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u0438\u043a\u0430 \u043f\u043e SIP\/trunk\/\u043d\u043e\u043c\u0435\u0440_\u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430. \u042d\u0442\u0443 \u0447\u0430\u0441\u0442\u044c \u0434\u0438\u0430\u043b\u043f\u043b\u0430\u043d\u0430 \u043c\u044b \u0438 \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u0442\u044c:<\/p>\n<pre><code class=\"bash\">[ext-local] exten =&gt; 203,1,Set(__RINGTIMER=${IF($[${DB(AMPUSER\/203\/ringtimer)} &gt; 0]?${DB(AMPUSER\/203\/ringtimer)}:${RINGTIMER_DEFAULT})}) exten =&gt; 203,n,System(echo '8${CALLERID(num)}' | sudo gnokii --sendsms +79061234567) ; \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u043d\u043e\u043c\u0435\u0440\u0430 exten =&gt; 203,n,Macro(exten-vm,novm,203,0,0,0) exten =&gt; 203,n(dest),Set(__PICKUPMARK=) exten =&gt; 203,n,Goto(${IVR_CONTEXT},return,1) exten =&gt; 203,hint,SIP\/10000\/778899 exten =&gt; Narva778899,1,Goto(from-internal,203,1) <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438 \u0437\u0432\u043e\u043d\u043a\u0435 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0438 \u043d\u0430 203 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0421\u041c\u0421 \u0441 \u043d\u043e\u043c\u0435\u0440\u043e\u043c \u0437\u0432\u043e\u043d\u0438\u0432\u0448\u0435\u0433\u043e, \u0432\u0437\u044f\u0442\u0430\u044f \u0438\u0437 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 CALLERID(num) \u043f\u0440\u044f\u043c\u043e \u043d\u0430 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d.<\/p>\n<p>  \u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0441\u0432\u044f\u0437\u043a\u0438 Asterisk \u0438 SugarCRM \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043d\u043e\u043c\u0435\u0440\u0430 \u0437\u0432\u043e\u043d\u044f\u0449\u0435\u0433\u043e \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0430 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 CRM, \u0434\u043b\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0437\u0430\u043d\u043e\u0441\u0430 \u0432 \u0431\u0430\u0437\u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432. \t\t\t \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/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\/174125\/\"> http:\/\/habrahabr.ru\/post\/174125\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/7d5\/2a8\/f98\/7d52a8f98ce670260dcc6445382944a0.png\"\/><\/p>\n<p>  \u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435 \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0435 \u0445\u0430\u0431\u0440\u043e\u0432\u0447\u0430\u043d\u0435 \u0438 \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 Asterisk. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043e\u043f\u044b\u0442\u043e\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438. \u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0438 \u0437\u0432\u043e\u043d\u043a\u043e\u0432 \u0441 \u043e\u0434\u043d\u043e\u0433\u043e \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e\/\u0433\u043e\u0440\u043e\u0434\u0441\u043a\u043e\u0433\u043e \u043d\u043e\u043c\u0435\u0440\u0430 \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u043c\u044b \u0432\u0438\u0434\u0435\u043b\u0438 \u043d\u043e\u043c\u0435\u0440 \u0437\u0432\u043e\u043d\u044f\u0449\u0435\u0433\u043e, \u0430 \u043d\u0435 \u043d\u0430\u0448 \u0433\u043e\u0440\u043e\u0434\u0441\u043a\u043e\u0439 \u043d\u043e\u043c\u0435\u0440. \u041d\u043e \u0434\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0441\u0432\u044f\u0437\u0438 \u043d\u0435 \u0434\u0430\u0434\u0443\u0442 \u043d\u0430\u043c \u0442\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u0432\u043e\u0438 \u043d\u043e\u043c\u0435\u0440\u0430 \u043f\u0440\u0438 \u0437\u0432\u043e\u043d\u043a\u0435 \u0447\u0435\u0440\u0435\u0437 \u0438\u0445 \u0441\u0435\u0442\u0438 (\u0418 \u043f\u0440\u0430\u0432\u0434\u0430, \u044d\u0442\u043e \u0431\u044b\u043b \u0431\u044b \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u0431\u0430\u0440\u0434\u0430\u043a). \u041d\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0435\u0439 \u0435\u0433\u043e \u0447\u0435\u0440\u0435\u0437 \u0421\u041c\u0421 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435.  <\/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-174125","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/174125","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=174125"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/174125\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=174125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=174125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=174125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}