{"id":166935,"date":"2013-01-30T08:21:02","date_gmt":"2013-01-30T04:21:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=166935"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=166935","title":{"rendered":"<span class=\"post_title\">\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f 1\u0421:CRM \u0438 Asterisk \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e PHP-AGI \u0438 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 1C<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/4ba\/4f4\/19e\/4ba4f419ed76e120928816e632639bed.jpg\" align=\"right\"\/><br \/>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 IP \u0410\u0422\u0421 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c Askozia \u2014 \u044d\u0442\u043e \u043e\u0434\u0438\u043d \u0438\u0437 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u0432 \u0448\u0438\u0440\u043e\u043a\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0433\u043e Asterisk, \u043f\u0440\u043e Askozia \u044f \u043f\u0438\u0441\u0430\u043b \u0432 <a href=\"http:\/\/habrahabr.ru\/post\/154533\/\">\u044d\u0442\u043e\u043c \u043f\u043e\u0441\u0442\u0435.<\/a><br \/>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 CRM \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0434\u0443\u043a\u0442 1\u0421: \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0442\u043e\u0440\u0433\u043e\u0432\u043b\u0435\u0439 \u0438 \u0432\u0437\u0430\u0438\u043c\u043e\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f\u043c\u0438 \u0441 \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c\u0438 8 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043a\u043b\u0438\u0435\u043d\u0442-\u0441\u0435\u0440\u0432\u0435\u0440. \u0414\u0430\u0432\u043d\u043e \u0437\u0440\u0435\u043b \u0432\u043e\u043f\u0440\u043e\u0441, \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0432\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0432 \u0434\u0438\u0430\u043b\u043f\u043b\u0430\u043d Asterisk \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a 1\u0421:CRM \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0438 \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0438\u0437 1\u0421 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c IP \u0410\u0422\u0421?<\/p>\n<p>  \u0421\u0445\u0435\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0430\u044f \u2014 \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u043c \u0437\u0432\u043e\u043d\u043a\u0435 \u0441\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0443 1\u0421 \u0447\u0442\u043e \u0441 \u043d\u0438\u043c \u0434\u0435\u043b\u0430\u0442\u044c, \u0438 \u0435\u0441\u043b\u0438 1\u0421 \u043e\u0442\u0432\u0435\u0442\u0438\u043b\u0430, \u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0438\u043b\u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 \u0432\u044b\u0437\u043e\u0432\u0430.<br \/>  \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0435\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u2014 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e \u043d\u043e\u043c\u0435\u0440\u0443 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u0438\u0437 CRM \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 CDR \u0431\u0430\u0437\u0443 Asterisk.<br \/>  <a name=\"habracut\"><\/a><\/p>\n<h5>\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435<\/h5>\n<blockquote><p>1\u0421: \u041f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u0435 8.2 (8.2.17.143)<br \/>  \u201c\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0442\u043e\u0440\u0433\u043e\u0432\u043b\u0435\u0439 \u0438 \u0432\u0437\u0430\u0438\u043c\u043e\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f\u043c\u0438 \u0441 \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c\u0438\u201d ( CRM + \u0423\u0422 )<br \/>  \u041e\u043a\u043e\u043b\u043e 10000 \u043a\u043e\u043d\u0442\u0440\u0430\u0433\u0435\u043d\u0442\u043e\u0432.<br \/>  \u0421\u0423\u0411\u0414 MS SQL<br \/>  Web \u0441\u0435\u0440\u0432\u0435\u0440 IIS<\/p>\n<p>  \u0410\u0422\u0421 Askozia CFE 2.1: <br \/>  Asterisk 1.8.4.4<br \/>  PHP 4.4.9<br \/>  AGI phpagi.php,v 2.14<\/p><\/blockquote>\n<p>  \u0412 Askozia \u0443\u0436\u0435 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 CallerID \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u201c\u0437\u0430\u043f\u0438\u0441\u043d\u043e\u0439 \u043a\u043d\u0438\u0436\u043a\u0438\u201d \u0432\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0439 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 Asterisk. \u0414\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u044d\u0442\u043e\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u201c<a href=\"http:\/\/habrahabr.ru\/post\/137999\/\">SDK \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u0441\u0432\u044f\u0437\u0438 1\u0421 \u0438 Asterisk<\/a>\u201d. <\/p>\n<p>  <b>\u041f\u0440\u0438\u043c\u0435\u0440 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0439 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 AstDB:<\/b>  <\/p>\n<pre><code class=\"1c\">\/\/ \u0417\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0432 \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 Asterisk \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \/\/  \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0412\u0411\u0414(dbFamily, dbKey, dbValue) \t\u0415\u0441\u043b\u0438 \u041d\u0415 \u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 = \u041d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e \u0422\u043e\u0433\u0434\u0430 \t\tActionID\t= \u0421\u0442\u0440\u043e\u043a\u0430(\u0423\u0418\u0414); \t\t\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\t= &quot;&quot;; \t\t\u041f\u043e\u043f\u044b\u0442\u043a\u0430 \t\t\t\u0415\u0441\u043b\u0438 \u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442.DBPut(dbFamily, dbKey, dbValue, ActionID, \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442) \u0422\u043e\u0433\u0434\u0430 \t\t\t\t\u0412\u043e\u0437\u0432\u0440\u0430\u0442 \u0418\u0441\u0442\u0438\u043d\u0430; \t\t\t\u041a\u043e\u043d\u0435\u0446\u0415\u0441\u043b\u0438; \t\t\u0418\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \t\t\t\u0421\u043e\u043e\u0431\u0449\u0438\u0442\u044c(&quot;\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0437\u0430\u043f\u0438\u0441\u0438\u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0430&quot;); \t\t\u041a\u043e\u043d\u0435\u0446\u041f\u043e\u043f\u044b\u0442\u043a\u0438; \t\u0418\u043d\u0430\u0447\u0435 \t\t\u0421\u043e\u043e\u0431\u0449\u0438\u0442\u044c(&quot;\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043d\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d&quot;); \t\u041a\u043e\u043d\u0435\u0446\u0415\u0441\u043b\u0438; \t\u0412\u043e\u0437\u0432\u0440\u0430\u0442 \u041b\u043e\u0436\u044c;\t \u041a\u043e\u043d\u0435\u0446\u0424\u0443\u043d\u043a\u0446\u0438\u0438 \/\/ \u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0412\u0411\u0414 <\/code><\/pre>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u0432\u044b\u0437\u043e\u0432\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c\u043e \u043a \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0435:  <\/p>\n<pre><code class=\"1c\">\/\/ dbFamily - \u201ccidname\u201d \/\/ \u043d\u0430\u0448\u0430 \u201c\u0437\u0430\u043f\u0438\u0441\u043d\u0430\u044f \u043a\u043d\u0438\u0436\u043a\u0430\u201d \/\/ dbKey - \u041a\u043b\u044e\u0447 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043f\u043e\u043c\u0435\u0449\u0430\u0435\u043c\u043e\u0439 \u0432 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e, \u043d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u043e\u0439, \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0446\u0438\u0444\u0440\u044b \/\/ dbValue - \u0418\u043c\u044f \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0430 \u043b\u0430\u0442\u0438\u043d\u0441\u043a\u0438\u043c\u0438 \u0431\u0443\u043a\u0432\u0430\u043c\u0438  \u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0412\u0411\u0414(&quot;cidname&quot;, \u201c74952293042\u201d, \u201cOOO MIKO\u201d); <\/code><\/pre>\n<p>  \u042d\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438. \u041c\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0438 \u0435\u0433\u043e \u0432 \u0440\u0430\u0431\u043e\u0442\u0443 \u0432 \u043d\u0430\u0448\u0435\u0439 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438. \u041f\u043e\u0441\u043b\u0435 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043e\u0432 \u043d\u0430 \u0432\u0441\u0435\u0445 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430\u0445 \u043e\u0444\u0438\u0441\u0430 \u043f\u0440\u0438 \u0437\u0432\u043e\u043d\u043a\u0435 \u0432\u0438\u0434\u043d\u043e \u0441 \u043a\u0435\u043c \u043c\u044b \u0440\u0430\u0437\u0433\u043e\u0432\u0430\u0440\u0438\u0432\u0430\u0435\u043c (\u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u043d\u043e\u043c\u0435\u0440 \u0432 \u0431\u0430\u0437\u0435). <br \/>  \u0420\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f CallerID \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432\u0438\u0434\u0435\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430\u0445 \u0441 \u0434\u0438\u0441\u043f\u043b\u0435\u0435\u043c :).<\/p>\n<p>  <b>\u041d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438:<\/b><br \/>  \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 AstDB \u0438 1\u0421. \u0414\u0430\u043d\u043d\u044b\u0435 \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0430\u044e\u0442.<br \/>  Askozia \u2014 ReadOnly \u0441\u0438\u0441\u0442\u0435\u043c\u0430. \u0412 \u044d\u0442\u043e\u043c \u0435\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u043a. \u041f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 AstDB \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u201c\u0418\u0441\u0445\u043e\u0434\u043d\u043e\u0435\u201d \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u2014 \u0434\u043e \u0437\u0430\u043f\u0438\u0441\u0438 \u0441\u043f\u0438\u0441\u043a\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0438\u0437 1\u0421. <\/p>\n<p>  \u0412 \u0441\u0438\u043b\u0443 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u043e\u0432 \u043c\u044b \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438. \u041d\u043e \u0434\u043b\u044f \u0433\u043e\u043b\u043e\u0433\u043e Asterisk \u044d\u0442\u043e\u0442 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0432\u043f\u043e\u043b\u043d\u0435 \u0440\u0430\u0431\u043e\u0447\u0438\u0439.<\/p>\n<h5>\u0412\u0430\u0440\u0438\u0430\u043d\u0442 \u043e\u043d\u043b\u0430\u0439\u043d \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0447\u0435\u0440\u0435\u0437 AGI \u0438 Web \u0441\u0435\u0440\u0432\u0438\u0441\u044b 1\u0421: \u041f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u044f 8<\/h5>\n<h6>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441 1\u0421<\/h6>\n<p>  \u041f\u0440\u0438 \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0438 \u0437\u0432\u043e\u043d\u043a\u0430 \u043d\u0430 \u043d\u0430\u0448 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u043d\u043e\u043c\u0435\u0440 \u0432 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0435 \u0432\u044b\u0437\u043e\u0432\u0430 Asterisk \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0437\u0432\u0430\u0442\u044c AGI \u0441\u043a\u0440\u0438\u043f\u0442. \u0412 \u0441\u043a\u0440\u0438\u043f\u0442\u0435 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u043a \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u0443 1\u0421 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 CallerID(name).<\/p>\n<p>  \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d \u043f\u0440\u043e\u0441\u0442\u043e\u0439 web \u0441\u0435\u0440\u0432\u0438\u0441 1\u0421:<br \/>  \u0418\u043c\u044f \u2014 <b>MIKO_identify_number<\/b><br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/5bb\/5ba\/25a\/5bb5ba25aee59843d567629f4c761acd.png\"\/><\/p>\n<p>  \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0435\u043d: <b><a href=\"http:\/\/wiki.miko.ru\/doc\">wiki.miko.ru\/doc<\/a>:1cajam:identifynumber<\/b><br \/>  \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438: <b>1C_MIKO_identify_number.1cws<\/b><br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/a5c\/30c\/eb4\/a5c30ceb48a23a72b6da8a00310a5456.png\"\/><\/p>\n<p>  \u0423 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f (\u0444\u0443\u043d\u043a\u0446\u0438\u044f), <br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/d02\/2ee\/1bf\/d022ee1bf0dfff78bac6f947e2c78ad3.png\"\/><\/p>\n<p>  \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/585\/18c\/180\/58518c180bba0c8cfc2573957e8427b4.png\"\/><\/p>\n<p>  \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043e\u0434\u0438\u043d \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u00abNumber\u00bb, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432 \u043d\u0435\u0433\u043e \u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u043e\u043c\u0435\u0440 \u0437\u0432\u043e\u043d\u044f\u0449\u0435\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/206\/d5a\/b6f\/206d5ab6fb0f6826eb5c13729dd0e501.png\"\/><br \/>  \u0442\u0438\u043f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u201c<i>string (http:\/\/www.w3.org\/2001\/XMLSchema)<\/i>\u201d<\/p>\n<p>  \u041f\u0443\u0431\u043b\u0438\u043a\u0443\u0435\u043c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441 (\u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0442\u0435\u043c\u0430, \u043a\u0430\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u043d\u0430 \u043d\u0435\u0439 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c\u0441\u044f, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"http:\/\/habrahabr.ru\/post\/127998\/\">\u0437\u0434\u0435\u0441\u044c<\/a>). \u041f\u043e\u0441\u043b\u0435 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u0443 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0432\u0435\u0431 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430, \u043e\u0442\u043a\u0440\u043e\u0435\u043c wsdl \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435:<\/p>\n<p>  <a href=\"http:\/\/IP_WEB_SERVER_1C\/TestComponenta\/ws\/1C_MIKO_identify_number.1cws?wsdl\">IP_WEB_SERVER_1C\/TestComponenta\/ws\/1C_MIKO_identify_number.1cws?wsdl<\/a><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0442\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u0438\u043c:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/b16\/ed5\/f74\/b16ed5f743b51d511e1813084928a525.png\"\/><\/p>\n<p>  \u0412 \u043c\u043e\u0434\u0443\u043b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u043f\u0440\u043e\u043f\u0438\u0448\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0438\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438:   <\/p>\n<pre><code class=\"1c\">\u0424\u0443\u043d\u043a\u0446\u0438\u044f identify(Number) \t\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 = &quot;&quot;; \t\u0412\u043e\u0437\u0432\u0440\u0430\u0442 \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c\u0418\u043c\u044f\u041a\u043e\u043d\u0442\u0430\u0442\u0430\u041f\u043e\u041d\u043e\u043c\u0435\u0440\u0443\u0422\u0435\u043b\u0435\u0444\u043e\u043d\u0430(Number); \u041a\u043e\u043d\u0435\u0446\u0424\u0443\u043d\u043a\u0446\u0438\u0438  \/\/ \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043c\u0435\u043d\u0438 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0430,  \/\/ \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0431\u0430\u0437\u044b  \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c\u0418\u043c\u044f\u041a\u043e\u043d\u0442\u0430\u0442\u0430\u041f\u043e\u041d\u043e\u043c\u0435\u0440\u0443\u0422\u0435\u043b\u0435\u0444\u043e\u043d\u0430(Number) \t\u041e\u0442\u0432\u0435\u0442\u0421\u0435\u0440\u0432\u0435\u0440\u0430 = &quot;OOO MIKO &quot; + Number+ &quot;&quot;; \u0412\u043e\u0437\u0432\u0440\u0430\u0442 \u041e\u0442\u0432\u0435\u0442\u0421\u0435\u0440\u0432\u0435\u0440\u0430; \u041a\u043e\u043d\u0435\u0446\u0424\u0443\u043d\u043a\u0446\u0438\u0438 <\/code><\/pre>\n<p>  \u0412\u043e\u0437\u044c\u043c\u0435\u043c cURL \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u0443 \u043d\u0430\u0448\u0435\u0433\u043e WEB \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u00ab\u0432 \u043b\u043e\u0431\u00bb.<\/p>\n<p>  \u0412 \u043e\u0431\u0449\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<br \/>  <code>curl --header &lt;\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438&gt; -d '&lt;XML \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430&gt;' &lt;\u0430\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0438\u0441\u0430&gt;<\/code><\/p>\n<p>  <b>\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0437\u0430\u043f\u0440\u043e\u0441:<\/b><br \/>  <code>curl --header &quot;Content-Type: text\/xml; charset=utf-8&quot; -d '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;soap:Envelope xmlns:soap=&quot;http:\/\/schemas.xmlsoap.org\/soap\/envelope\/&quot;&gt;&lt;soap:Body&gt;&lt;m:identify xmlns:m=&quot;http:\/\/wiki.miko.ru\/doc:1cajam:identifynumber&quot;&gt;&lt;m:Number&gt;74952293042&lt;\/m:Number&gt;&lt;\/m:identify&gt;&lt;\/soap:Body&gt;&lt;\/soap:Envelope&gt;' http:\/\/IP_WEB_SERVER_1C\/TestComponenta\/ws\/1C_MIKO_identify_number.1cws<\/code><\/p>\n<p>  \u0412 \u044d\u0442\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f (\u0432 \u0431\u0430\u0437\u0435 1\u0421 \u043d\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f).<\/p>\n<p>  <b>\u041f\u0440\u0438\u043c\u0435\u0440 \u043e\u0442\u0432\u0435\u0442\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430:<\/b>  <\/p>\n<pre><code class=\"xml\">&lt;soap:Envelope xmlns:soap=&quot;http:\/\/schemas.xmlsoap.org\/soap\/envelope\/&quot;&gt; \t&lt;soap:Header\/&gt; \t&lt;soap:Body&gt; \t\t&lt;m:identifyResponse xmlns:m=&quot;http:\/\/wiki.miko.ru\/doc:1cajam:identifynumber&quot;&gt; \t\t&lt;m:return xmlns:xs=&quot;http:\/\/www.w3.org\/2001\/XMLSchema&quot; \t\t\txmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot;&gt;OOO MIKO 74952293042&lt;\/m:return&gt; \t\t&lt;\/m:identifyResponse&gt; \t&lt;\/soap:Body&gt; &lt;\/soap:Envelope&gt; <\/code><\/pre>\n<p>  \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442!<\/p>\n<h6>\u0421\u043e\u0437\u0434\u0430\u0435\u043c AGI \u0441\u043a\u0440\u0438\u043f\u0442<\/h6>\n<p>  \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0432 Askozia \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 PHP, \u043d\u0435\u0442 \u0434\u0430\u0436\u0435 cURL \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f, \u0434\u0430 \u0438 PHP \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u0440\u0435\u0432\u043d\u0435\u0439 4.4.9 \u0432\u0435\u0440\u0441\u0438\u0438. \u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u043c\u044b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b\u0438 \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u044c \u0432\u0441\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f, \u043f\u043e\u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0441\u044c\u0431\u0430 \u0441\u0438\u043b\u044c\u043d\u043e \u043d\u0435 \u0440\u0443\u0433\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043a\u043e\u0434 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043d\u0438\u0436\u0435.<\/p>\n<pre><code class=\"php\">#!\/usr\/bin\/php -f &lt;?php  require('phpagi.php'); \/\/ \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043a\u0430\u043d\u0430\u043b\u0430 \/\/ AGI phpagi.php,v 2.14 get_variable \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043c\u0430\u0441\u0441\u0438\u0432  $start_found = false; $end_found = false; $ret_value = ''; function tagStart($parse, $name, $attribs){   global $start_found;   if($name == 'M:RETURN'){     \/\/ echo($name);     $start_found = true;   } } function tagEnd($parser, $name){   global $start_found;   global $end_found;   if($name == 'M:RETURN'){     $end_found = true;   } }  function dataGet($parser, $data){   global $start_found;   global $ret_value;   global $end_found;   if($start_found&&!$end_found){     $ret_value = ''.$data;   } }  function parse_response($response){   \/\/ \u0441\u043e\u0437\u0434\u0430\u0435\u043c xml \u043f\u0430\u0440\u0441\u0435\u0440   $xml_parse = xml_parser_create();   xml_set_element_handler($xml_parse, 'tagStart', 'tagEnd');   xml_set_character_data_handler ($xml_parse, 'dataGet');    xml_parse($xml_parse, $response);    \/\/ \u043e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0430\u0435\u043c \u043f\u0430\u043c\u044f\u0442\u044c, \u0437\u0430\u043d\u044f\u0442\u0443\u044e \u043f\u0430\u0440\u0441\u0435\u0440\u043e\u043c   xml_parser_free($xml_parse); }  function GetVarChannnel($agi, $_varName){   $v = $agi-&gt;get_variable($_varName);   if(!$v['result'] == 0){     $agi-&gt;verbose($_varName.' ---&gt; '.$v['data'], 10);     return $v['data'];   }   else{     $agi-&gt;verbose($_varName.' not set', 10);     return &quot;&quot;;   } } \/\/ GetVarChannnel($_agi, $_varName)  \/\/ \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 agi, \u0435\u0433\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0444\u0430\u0439\u043b phpagi.php $agi = new AGI();  \/\/ \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u0441\u0435\u0440\u0432\u0438\u0441\u0443 $path   = '\/TestComponenta\/ws\/1C_MIKO_identify_number.1cws'; $server = 'IP_WEB_SERVER_1C'; $port   = 80; $number = GetVarChannnel($agi, &quot;CALLERID(num)&quot;);; $user_1c= &quot;1C_USERNAME&quot;; $pass_1c= '1C_PASSWORD';  $auth = base64_encode($user_1c.':'.$pass_1c); $crlf = &quot;\\r\\n&quot;;   \/\/ \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 - \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u0430\u043c SOAP \u0437\u0430\u043f\u0440\u043e\u0441 $xmlDocument = ( '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;soap:Envelope xmlns:soap=&quot;http:\/\/schemas.xmlsoap.org\/soap\/envelope\/&quot;&gt;   &lt;soap:Body&gt;     &lt;m:identify xmlns:m=&quot;http:\/\/wiki.miko.ru\/doc:1cajam:identifynumber&quot;&gt;       &lt;m:Number&gt;'.$number.'&lt;\/m:Number&gt;     &lt;\/m:identify&gt;   &lt;\/soap:Body&gt; &lt;\/soap:Envelope&gt;'); $contentLength = strlen($xmlDocument);    \/\/ \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u043e\u043a\u0435\u0442 if (($http_soket = @fsockopen($server, $port, $errno, $errstr,1.5)) == false)    return; $query  = &quot;POST $path HTTP\/1.1&quot;                  .$crlf; $query .= &quot;Host: $server&quot;                      .$crlf;  $query .= &quot;Content-Type: text\/xml; charset=utf-8&quot;    .$crlf;  $query .= &quot;Authorization: Basic $auth&quot;            .$crlf;  $query .= &quot;Content-Length: $contentLength&quot;          .$crlf; $query .= $crlf;  $query .= $xmlDocument;       \/\/ \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0442\u0430\u0439\u043c\u0430\u0443\u0442 \u043d\u0430 \u043f\u043e\u0442\u043e\u043a 1\u0441\u0435\u043a\u0443\u043d\u0434\u0430 stream_set_timeout($http_soket, 1, 0);   \/\/ \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0437\u0430\u043f\u0440\u043e\u0441 fputs($http_soket, $query);       $result = '';  \/\/ \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u043c \u043e\u0442\u0432\u0435\u0442 while ($line = fgets($http_soket))    $result .= $line;     \/\/ \u043e\u0442\u0441\u0435\u043a\u0430\u0435\u043c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438 \u043e\u0442\u0432\u0435\u0442\u0430 $result = substr($result, strpos($result, $crlf.$crlf) + 4);  fclose($http_soket);  \/\/ \u0440\u0430\u0437\u0431\u043e\u0440 \u043e\u0442\u0432\u0435\u0442\u0430  parse_response($result);   if($ret_value != ''){   $agi-&gt;set_variable('CALLERID(name)', $ret_value);  \/\/ \u0415\u0441\u043b\u0438 1\u0421 \u0432\u0435\u0440\u043d\u0443\u043b\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0442\u043e \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 CDR }  ?&gt;\u200b <\/code><\/pre>\n<p>  \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u0441\u043a\u0440\u0438\u043f\u0442 \u043a Askozia, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 \u0432\u0435\u0431 -\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043d\u0430 \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u043e\u0432\u043e\u0435 PHP \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/a8d\/7ac\/8d2\/a8d7ac8d2dfe025d6a833cc4f96550f5.png\"\/><\/p>\n<p>  \u0412 \u043f\u043e\u043b\u0435 \u201c\u041b\u043e\u0433\u0438\u043a\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u201d \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0442\u0435\u043a\u0441\u0442 \u0441\u043a\u0440\u0438\u043f\u0442\u0430. <br \/>  \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 <b>\u201c#!\/usr\/bin\/php -f\u201d <\/b> \u2014 \u0441\u0442\u0440\u043e\u043a\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043e\u043f\u0443\u0449\u0435\u043d\u0430. Askozia \u0441\u0430\u043c\u0430 \u0435\u0435 \u0434\u043e\u043f\u0438\u0448\u0435\u0442. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0438\u043c\u044f \u0438 \u043d\u043e\u043c\u0435\u0440 \u0434\u043b\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. <br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u0430. \u00a0\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 (CLI) Asterisk \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre><code class=\"lua\"># dialplan show 1334444@internal  [ Context 'internal' created by 'pbx_config' ]    '1334444' =&gt;\t1. NoOp(internal calling application: AGI_App_CallerID) [pbx_config] \t\t\t\t2. Set(CDR(InternalCalleridNum)=1334444)      [pbx_config] \t\t\t\t3. Goto(DIALPLAN-APPLICATION-176239923050fac4c5678b9,${EXTEN},1) [pbx_config]  -= 1 extension (3 priorities) in 1 context. =- <\/code><\/pre>\n<p>  \u041c\u044b \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u0438, \u0447\u0442\u043e \u0432 \u043d\u043e\u043c\u0435\u0440\u0435 1334444 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 DIALPLAN-APPLICATION-176239923050fac4c5678b9<\/p>\n<p>  \u0412\u044b\u0432\u0435\u0434\u0435\u043c \u044d\u0442\u043e\u0442 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c \u043a\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0448 PHP \u0444\u0430\u0439\u043b:  <\/p>\n<pre><code class=\"lua\"># dialplan show DIALPLAN-APPLICATION-176239923050fac4c5678b9  [ Context 'DIALPLAN-APPLICATION-176239923050fac4c5678b9' created by 'pbx_config' ] 'h' =&gt;\t1. Hangup() 's' =&gt;\t1. AGI(DIALPLAN-APPLICATION-176239923050fac4c5678b9.php) \t\t2. Hangup() '_[0-9a-zA-Z*#]!' =&gt;1. AGI(DIALPLAN-APPLICATION-176239923050fac4c5678b9.php) \t\t\t\t\t2. Hangup()  -= 3 extensions (5 priorities) in 1 context. =- <\/code><\/pre>\n<p>  \u0418\u0441\u043a\u043e\u043c\u044b\u0439 \u0444\u0430\u0439\u043b \u043d\u0430\u0439\u0434\u0435\u043d: DIALPLAN-APPLICATION-176239923050fac4c5678b9.php<\/p>\n<p>  \u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 \u0432\u044b\u0437\u043e\u0432\u0430 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043d\u0430\u0447\u0430\u043b\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 \u0431\u043b\u043e\u043a \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/9ed\/f21\/88a\/9edf2188a6fda49f7437e2b2d887b3f8.png\"\/><\/p>\n<p>  \u0432 \u043f\u043e\u043b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <b> AGI(DIALPLAN-APPLICATION-176239923050fac4c5678b9.php)<\/b><br \/>  \u0432 \u0438\u0442\u043e\u0433\u0435 \u043c\u043e\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0432\u044b\u0437\u043e\u0432\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f19\/136\/559\/f19136559bb7d88eededd91798023bab.png\"\/><\/p>\n<p>  \u041f\u0440\u0438 \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u043c \u0437\u0432\u043e\u043d\u043a\u0435, \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u043c \u043d\u0430 \u044d\u0442\u043e\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442, \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 AGI \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0441 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435\u043c \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 1\u0421, \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u043d\u043e\u043c\u0435\u0440\u0443 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0440\u0430\u0433\u0435\u043d\u0442\u0430, \u0438 \u044d\u0442\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0432\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043f\u043e\u043b\u0435 CallerID.<\/p>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0434\u043e \u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u0430 \u0442\u0430\u043a:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/545\/199\/9ae\/5451999aecdeebf0164f397332fad59c.png\"\/><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 web-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0432 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0438\u0437 1\u0421:CRM \u0441\u0438\u0441\u0442\u0435\u043c\u044b:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/de4\/c36\/198\/de4c36198791a02686c55769f975fc97.png\"\/><\/p>\n<p>  \u041f\u043e\u043c\u0438\u043c\u043e \u044d\u0442\u043e\u0433\u043e \u0432\u0441\u0435 \u043d\u043e\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 Askozia \u043e \u043f\u0440\u043e\u043f\u0443\u0449\u0435\u043d\u043d\u043e\u043c \u0437\u0432\u043e\u043d\u043a\u0435 \u0438\u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u043c \u0444\u0430\u043a\u0441\u0438\u043c\u0438\u043b\u044c\u043d\u043e\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0438 \u043d\u0430 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0443\u044e \u043f\u043e\u0447\u0442\u0443 \u0441\u0442\u0430\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u044b\u043c\u0438, \u0432 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0435 \u043f\u0438\u0441\u044c\u043c\u0430 \u0435\u0441\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u0440\u0430\u043d\u044c\u0448\u0435 \u0431\u044b\u043b \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u043e\u043c\u0435\u0440.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/244\/6f4\/523\/2446f4523fa518e74d96820a73fd5620.png\"\/><\/p>\n<h5>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h5>\n<p>  \u042d\u0442\u043e\u0442 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u043d\u043b\u0430\u0439\u043d \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 IP \u0410\u0422\u0421 \u0438 1C, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439 \u0438\u043c\u0435\u043d\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u041c\u044b \u043c\u043e\u0436\u0435\u043c \u0432\u043b\u0438\u044f\u0442\u044c \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044e \u0437\u0432\u043e\u043d\u043a\u0430, \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0437\u0432\u043e\u043d\u043e\u043a, \u043c\u0438\u043d\u0443\u044f IVR \u0441\u0440\u0430\u0437\u0443 \u043d\u0430 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0432 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0432\u0438\u0434\u0430 \u0434\u0435\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0438 \u043c\u043d\u043e\u0433\u043e\u0435-\u043c\u043d\u043e\u0433\u043e\u0435 \u0434\u0440\u0443\u0433\u043e\u0435.<\/p>\n<p>  <b>\u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438:<\/b>  <\/p>\n<ul>\n<li>\u0411\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043f\u0440\u043e Askozia \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0432 <a href=\"http:\/\/habrahabr.ru\/post\/154533\/\">\u044d\u0442\u043e\u043c \u043f\u043e\u0441\u0442\u0435<\/a> \u0438\u043b\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 <a href=\"http:\/\/www.askozia.ru\">www.askozia.ru<\/a><\/li>\n<li>\u041f\u0440\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e 1\u0421 \u0438 Asterisk \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 <a href=\"http:\/\/www.telefon1c.ru\">www.telefon1c.ru<\/a><\/li>\n<li>\u041f\u0440\u043e PHP-AGI \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0437\u0434\u0435\u0441\u044c <a href=\"http:\/\/phpagi.sourceforge.net\">phpagi.sourceforge.net<\/a><\/li>\n<li>\u041f\u0440\u043e \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0438\u0441\u044b 1\u0421 \u043d\u0430 <a href=\"http:\/\/v8.1c.ru\/overview\/Term_000000273.htm#1\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u0430\u0439\u0442\u0435<\/a>.<\/li>\n<\/ul>\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\/166935\/\"> http:\/\/habrahabr.ru\/post\/166935\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/4ba\/4f4\/19e\/4ba4f419ed76e120928816e632639bed.jpg\" align=\"right\"\/><br \/>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 IP \u0410\u0422\u0421 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c Askozia \u2014 \u044d\u0442\u043e \u043e\u0434\u0438\u043d \u0438\u0437 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u0432 \u0448\u0438\u0440\u043e\u043a\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0433\u043e Asterisk, \u043f\u0440\u043e Askozia \u044f \u043f\u0438\u0441\u0430\u043b \u0432 <a href=\"http:\/\/habrahabr.ru\/post\/154533\/\">\u044d\u0442\u043e\u043c \u043f\u043e\u0441\u0442\u0435.<\/a><br \/>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 CRM \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0434\u0443\u043a\u0442 1\u0421: \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0442\u043e\u0440\u0433\u043e\u0432\u043b\u0435\u0439 \u0438 \u0432\u0437\u0430\u0438\u043c\u043e\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f\u043c\u0438 \u0441 \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c\u0438 8 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043a\u043b\u0438\u0435\u043d\u0442-\u0441\u0435\u0440\u0432\u0435\u0440. \u0414\u0430\u0432\u043d\u043e \u0437\u0440\u0435\u043b \u0432\u043e\u043f\u0440\u043e\u0441, \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0432\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0432 \u0434\u0438\u0430\u043b\u043f\u043b\u0430\u043d Asterisk \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a 1\u0421:CRM \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0438 \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0438\u0437 1\u0421 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c IP \u0410\u0422\u0421?<\/p>\n<p>  \u0421\u0445\u0435\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0430\u044f \u2014 \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u043c \u0437\u0432\u043e\u043d\u043a\u0435 \u0441\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0443 1\u0421 \u0447\u0442\u043e \u0441 \u043d\u0438\u043c \u0434\u0435\u043b\u0430\u0442\u044c, \u0438 \u0435\u0441\u043b\u0438 1\u0421 \u043e\u0442\u0432\u0435\u0442\u0438\u043b\u0430, \u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0438\u043b\u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 \u0432\u044b\u0437\u043e\u0432\u0430.<br \/>  \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0435\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u2014 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e \u043d\u043e\u043c\u0435\u0440\u0443 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u0438\u0437 CRM \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 CDR \u0431\u0430\u0437\u0443 Asterisk.  <\/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-166935","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/166935","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=166935"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/166935\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=166935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=166935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=166935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}