{"id":305652,"date":"2020-06-20T09:00:36","date_gmt":"2020-06-20T09:00:36","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=305652"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=305652","title":{"rendered":"Sms server GoIP"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/507460\/\">\u041a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0441\u043c\u0441 \u0441\u0435\u0440\u0432\u0435\u0440 \u043e\u0442 GoIP \u043d\u0435 \u0431\u0443\u0434\u0443 \u0440\u0430\u0441\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c. \u0412\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441\u043c\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 <a href=\"https:\/\/voxlink.ru\/kb\/voip-devices-configuration\/986\/\" rel=\"nofollow\">voxlink.ru\/kb\/voip-devices-configuration\/986<\/a>.<\/p>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0431\u0443\u0434\u0435\u0442 \u043a\u0440\u0430\u0442\u043a\u043e\u0435 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u0445 API. \u0412 \u0441\u0432\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 \u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0441\u043c\u0441 \u043a \u0441\u0432\u043e\u0435\u043c\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u043c\u0443 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044e. \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043b\u0430\u0437\u0438\u0442\u044c \u0432 \u0432\u0435\u0431\u043c\u043e\u0440\u0434\u0443 \u0441\u043c\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043e\u0442 GoIP \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0432\u0445.\/\u0438\u0441\u0445. \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0431\u044b\u043b\u043e \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e.<\/p>\n<h4>API \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/h4>\n<p>  \u0414\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0441\u043c\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f API <\/p>\n<pre><code class=\"xml\">http:\/\/192.168.1.35\/goip\/en\/dosend.php?USERNAME=root&amp;PASSWORD=root&amp;smsprovider=1&amp;smsnum=13800138000&amp;method=2&amp;Memo=hello<\/code><\/pre>\n<p>  <a name=\"habracut\"><\/a><br \/>  \u0411\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043d\u0435 \u0443\u0445\u043e\u0434\u0438\u0442, \u0442\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u0435\u0433\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e   <\/p>\n<pre><code class=\"xml\">http:\/\/192.168.1.35\/goip\/en\/resend.php?messageid=\u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439_\u043d\u043e\u043c\u0435\u0440_\u0441\u043c\u0441_\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f_\u0432_\u0431\u0434&amp;USERNAME=root&amp;PASSWORD=root'<\/code><\/pre>\n<p>  \u0412\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u043a\u043b\u0430\u0441\u0441\u0430 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0441\u043c\u0441 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f<\/p>\n<pre><code class=\"php\">public function send() { \t\/\/ \u041d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435. \t\/\/ \u0424\u043e\u0440\u043c\u0430\u0442 \u043d\u043e\u043c\u0435\u0440\u0430 10 \u0437\u043d\u0430\u0447\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 (XXX-XXX-XX-XX) \u0431\u0435\u0437 8, +7 \t\/\/ $smsnum = '9658795588'; \t\/\/ \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u0441 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \t$smsnum = substr($_POST['phone'],2,10);  \t\/\/ \u041a\u043e\u0434 \u0441\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \t$code = substr($smsnum,0,3);  \t$regexp = '\/9[0,1,2,3,5,6,7,9][0,1,2,3,4,5,6,7,8,9]\/';  \t\/\/ \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u041a\u043e\u0434\u044b \u0441\u043e\u0442\u043e\u0432\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 \tif( !preg_match($regexp, $code)) { \t\treturn '\u041e\u0448\u0438\u0431\u043a\u0430. \u041d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439.'; \t}  \t\/\/ \u0421\u0430\u043c\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \t\/\/ $msg = '\u0442\u0435\u0441\u0442'; \t\/\/ $msg = mb_substr(trim($_POST['smsText']),0,335,'UTF-8'); \t$msg = trim($_POST['smsText']);  \t\/\/ \u041c\u0430\u0441\u0441\u0438\u0432 \u0438\u043b\u0438 \u043e\u0431\u044a\u0435\u043a\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \t$arr = array('Memo' =&gt; $msg);  \t\/\/ \u0413\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 URL-\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \t$msg = http_build_query($arr);  \t\/\/ MTC 910, 915, 916, 917, 919, 985, 986 \t$regexp = '\/910|915|916|917|919|985|986|\/';  \t\/\/ \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0430 \u043d\u043e\u043c\u0435\u0440\u0430 \u041c\u0422\u0421 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u044b \u043b\u0438\u043d\u0438\u0438,  \t\/\/ \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0441 \u043f\u0435\u0440\u0432\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u044b \tif(preg_match($regexp, $code)) { \t\t$smsprovider = 2; \t} else { \t\t$smsprovider = 1; \t}  \t\/\/ \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u0430\u043a\u043e\u0433\u043e Url \u043c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043d\u0430 \u0441\u043c\u0441 \u0441\u0435\u0440\u0432\u0435\u0440 GoIp \t$url = 'http:\/\/192.168.1.35\/goip\/en\/' \t.'dosend.php?USERNAME=root&amp;PASSWORD=root&amp;smsprovider='.$smsprovider \t.'&amp;smsnum='.$smsnum.'&amp;method=2&amp;'.$msg;  \t\/\/ \u0427\u0438\u0442\u0430\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430 \u0432 \u0441\u0442\u0440\u043e\u043a\u0443, \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c messageid \t$get = file_get_contents($url); \t\/\/echo htmlspecialchars($get);  \t\/\/ \u0423\u0431\u0438\u0440\u0430\u0435\u043c \u043f\u0440\u043e\u0431\u0435\u043b\u044b, \u0438\u043d\u0430\u0447\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044f preg_match \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u0439\u0442\u0438 \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0443 \t$str = str_replace(&quot; &quot;,&quot;&quot;,$get);  \t\/\/ \u0428\u0430\u0431\u043b\u043e\u043d \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430  \t$reg = '\/resend.php\\?messageid=(.*?).*USERNAME=root.*PASSWORD=root\/';  \t\/\/ \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0438\u0448\u0435\u0442 \u0432 \u043c\u0430\u0441\u0441\u0438\u0432 \tpreg_match($reg, $str, $matches);  \t$url = 'http:\/\/192.168.1.35\/goip\/en\/'.$matches[0];  \t\/\/\u0414\u0435\u043b\u0430\u0435\u043c Get \u0437\u0430\u043f\u0440\u043e\u0441 \u0447\u0442\u043e\u0431\u044b \u0441\u043c\u0441 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e \tfile($url);  \treturn $res = 1; }  public function resend() { \t\/\/ \u041d\u043e\u043c\u0435\u0440 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \t$msgid = (int) $_POST['msgid'];  \t$url = 'http:\/\/192.168.1.35\/goip\/en\/resend.php?messageid='.$msgid \t\t.'&amp;USERNAME=root&amp;PASSWORD=root';  \t\/\/ \u0414\u0435\u043b\u0430\u0435\u043c Get \u0437\u0430\u043f\u0440\u043e\u0441 \u0447\u0442\u043e\u0431\u044b \u0441\u043c\u0441 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e \tfile($url);  \treturn $res = 1; } <\/code><\/pre>\n<p>  \u0414\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u0438\u0441\u0445.\/\u0432\u0445. \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u043c \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0445 receive \u0438 sends  <\/p>\n<pre><code class=\"php\">\/\/ \u0417\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0439 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u043a\u0438 \u043f\u043e \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u043d\u043e\u043c\u0435\u0440\u0443 $query = &quot;(SELECT 'in' AS route,time,goipname,msg,0 AS msgid,&quot; \t.&quot;CHAR_LENGTH(msg) AS msg_length,'0' AS over&quot; .&quot; FROM `receive` WHERE `srcnum`='&quot;.$srcnum.&quot;')&quot; .&quot; UNION &quot; .&quot;(SELECT 'out' AS route,T2.time,T3.name AS goipname,T2.msg,&quot;; \t.&quot;T1.messageid AS msgid,&quot; \t.&quot;CHAR_LENGTH(T2.msg) AS msg_length,T1.over&quot; .&quot; FROM `sends` AS T1&quot; \t.&quot; INNER JOIN message AS T2 ON T1.messageid=T2.id&quot; \t.&quot; INNER JOIN goip AS T3 ON (T2.goipid=T3.id OR T1.goipid=T3.id)&quot; \t\t.&quot; WHERE telnum='&quot;.$srcnum.&quot;')&quot; .&quot; ORDER BY time&quot;; <\/code><\/pre>\n<p>  \u0413\u043e\u0442\u043e\u0432\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432\u044b\u0448\u0435\u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u043a\u043e\u0434\u043e\u0432 \u0443\u0436\u0435 \u043d\u0435 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c. \u0413\u043e\u0434\u0430 2 \u0442\u043e\u043c\u0443 \u043d\u0430\u0437\u0430\u0434 \u0431\u044b\u043b \u0438\u0437\u0443\u0447\u0435\u043d \u043e\u0431\u043c\u0435\u043d \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043c\u0435\u0436\u0434\u0443 \u0440\u043e\u0434\u043d\u044b\u043c \u0441\u043c\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u0438 \u0441\u0430\u043c\u0438\u043c \u0448\u043b\u044e\u0437\u043e\u043c GoIP. \u041d\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u043c\u0441-\u0441\u0435\u0440\u0432\u0435\u0440. \u041f\u043b\u044e\u0441\u043e\u043c \u0441\u0442\u0430\u043b\u043e, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u0443\u0441 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0441\u043c\u0441 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f. \u041d\u043e \u0442\u0430\u043c \u0435\u0441\u0442\u044c \u043d\u044e\u0430\u043d\u0441, \u0447\u0442\u043e \u0441\u0442\u0430\u0442\u0443\u0441 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0441\u043c\u0441 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u0442\u0440\u0430\u0437\u0438\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0432\u043a\u043b\u044e\u0447\u0435\u043d \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438. \u0415\u0441\u043b\u0438 \u043d\u043e\u043c\u0435\u0440 \u0432\u043a\u043b\u044e\u0447\u0430\u0442 \u043f\u043e\u0437\u0436\u0435 \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0447\u0430\u0441\u043e\u0432 \u0438\u043b\u0438 \u0434\u043d\u0435\u0439, \u0442\u043e \u0441\u0442\u0430\u0442\u0443\u0441 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u043d\u0435 \u0443\u0432\u0438\u0434\u0438\u043c, \u0445\u043e\u0442\u044f \u0441\u0430\u043c\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043e. \u0410 \u0432 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043b\u044e\u0441\u044b.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u043e\u043f\u044b\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 wireshark, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 GoIP \u0438 \u0440\u043e\u0434\u043d\u044b\u043c \u0441\u043c\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c. \u0414\u0430\u043b\u0435\u0435 \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u043c\u0441 \u0441\u0435\u0440\u0432\u0435\u0440.  <\/p>\n<pre><code class=\"xml\"> 1.BulkSMSRequest 2.BulkSMSConfirm\/BulkSMSReject 3.AuthenticationRequest 5.SubmitNumberRequest 1 4.AuthenticationConfirm 6.SubmitNumberStatus 1 7.SubmitNumberRequest 2 8.SubmitNumberStatus 2 \u2026 9.EndRequest 10.EndConfirm <\/code><\/pre>\n<p>  \u0421\u0430\u043c \u043a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438 \u0432\u044b\u043b\u043e\u0436\u0438\u0442\u044c \u0432 \u043a\u0440\u0430\u0442\u043a\u043e\u0439 \u0444\u043e\u0440\u043c\u0435 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f. \u0421\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0434\u0430\u043d\u043d\u044b\u0445, \u0438 \u0432\u0441\u0435 \u044d\u0442\u043e \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d\u043e \u043a \u0434\u0440\u0443\u0433\u043e\u043c\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u0443. \u0412 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0442\u0435\u0441\u0442\u043e\u0432\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0441\u043c\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 PHP, \u0441\u043a\u043e\u0440\u043e \u0432\u044b\u043b\u043e\u0436\u0443 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442.<\/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=\"https:\/\/habr.com\/ru\/post\/507460\/\"> https:\/\/habr.com\/ru\/post\/507460\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/507460\/\">\u041a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0441\u043c\u0441 \u0441\u0435\u0440\u0432\u0435\u0440 \u043e\u0442 GoIP \u043d\u0435 \u0431\u0443\u0434\u0443 \u0440\u0430\u0441\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c. \u0412\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441\u043c\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 <a href=\"https:\/\/voxlink.ru\/kb\/voip-devices-configuration\/986\/\" rel=\"nofollow\">voxlink.ru\/kb\/voip-devices-configuration\/986<\/a>.<\/p>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0431\u0443\u0434\u0435\u0442 \u043a\u0440\u0430\u0442\u043a\u043e\u0435 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u0445 API. \u0412 \u0441\u0432\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 \u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0441\u043c\u0441 \u043a \u0441\u0432\u043e\u0435\u043c\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u043c\u0443 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044e. \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043b\u0430\u0437\u0438\u0442\u044c \u0432 \u0432\u0435\u0431\u043c\u043e\u0440\u0434\u0443 \u0441\u043c\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043e\u0442 GoIP \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0432\u0445.\/\u0438\u0441\u0445. \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0431\u044b\u043b\u043e \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e.<\/p>\n<h4>API \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/h4>\n<p>  \u0414\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0441\u043c\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f API <\/p>\n<pre><code class=\"xml\">http:\/\/192.168.1.35\/goip\/en\/dosend.php?USERNAME=root&amp;PASSWORD=root&amp;smsprovider=1&amp;smsnum=13800138000&amp;method=2&amp;Memo=hello<\/code><\/pre>\n<p>  <\/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-305652","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/305652","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=305652"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/305652\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=305652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=305652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=305652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}