{"id":212815,"date":"2014-02-17T05:17:02","date_gmt":"2014-02-17T01:17:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=212815"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=212815","title":{"rendered":"<span class=\"post_title\">Web \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u043d\u0438\u044f \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0437\u0432\u043e\u043d\u043a\u043e\u0432 Asterisk<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/fe7\/f4f\/9c0\/fe7f4f9c05f00d4888e049780e792583.png\" align=\"right\" width=\"300\" height=\"240\"\/><br \/>  \u041f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432\u044b\u0434\u0430\u044e\u0442 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0440\u0430\u0437\u043d\u043e\u0439 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0441\u0442\u0438 \u043d\u0430 \u0437\u0430\u043f\u0440\u043e\u0441 \u0432\u044b\u043d\u0435\u0441\u043d\u044b\u0439 \u0432 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a. <br \/>  \u041d\u0430 \u0425\u0430\u0431\u0440\u0430\u0445\u0430\u0431\u0440\u0435 \u0442\u0430\u043a\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u043d\u0435 \u043d\u0430\u0448\u0435\u043b, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u0435\u0451 \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c!<br \/>  \u0417\u0430 \u043e\u0441\u043d\u043e\u0432\u0443 \u044f \u0432\u0437\u044f\u043b \u043f\u0440\u043e\u0435\u043a\u0442 <a href=\"https:\/\/code.google.com\/p\/asterisk-cdr-viewer\/\">asterisk cdr viewer<\/a>.<br \/>  \u041f\u0435\u0440\u0435\u0432\u0435\u043b \u044f\u0437\u044b\u043a web \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043d\u0430 \u0432\u0435\u043b\u0438\u043a\u0438\u0439 \u043c\u043e\u0433\u0443\u0447\u0438\u0439 \u0438 \u00ab\u043e\u0437\u0432\u0443\u0447\u0438\u043b\u00bb \u0435\u0433\u043e, \u0442.\u0435. \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440\u043e\u0432 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435, \u0430 \u0442\u0430\u043a \u0436\u0435 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0442\u044c \u0438\u0445.<br \/>  \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u0435\u0439 \u0444\u0438\u043b\u044c\u0442\u0440\u0430 \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u043e \u0434\u043e \u043c\u0438\u043d\u0438\u043c\u0443\u043c\u0430, \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0430\u043c\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435.<br \/>  \u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b, \u0441\u043e\u0440\u0446\u044b \u0438 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438\u043d\u0441\u0442\u0430\u043b\u044f\u0446\u0438\u0438 \u0443\u044e\u0442\u043d\u043e \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u043b\u0438\u0441\u044c \u043f\u043e\u0434 \u0445\u0430\u0431\u0440\u0430\u043a\u0430\u0442\u043e\u043c.<\/p>\n<p>  <a name=\"habracut\"><\/a>  <\/p>\n<h5>\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b web \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430<\/h5>\n<p>  \u041b\u043e\u0433\u043e\u0442\u0438\u043f \u0438 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0434\u043e\u043d\u0430\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u043d\u0430 \u0441\u0432\u043e\u0438\u0445 \u043c\u0435\u0441\u0442\u0430\u0445.<br \/>  \u041f\u043e\u043b\u044f \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u044b \u0432\u0441\u0435, \u0435\u0441\u043b\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u043a\u0430\u043a\u043e\u0435-\u043b\u0438\u0431\u043e \u043f\u043e\u043b\u0435 \u043a\u0430\u043a \u0432 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u0435, \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0435\u0433\u043e \u0432 templates\/form.tpl.php <br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/b48\/4c0\/16a\/b484c016ade3871da4c7bbda3355fd8d.png\"\/><\/p>\n<p>  \u0410 \u0442\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u043e \u0444\u0438\u043b\u044c\u0442\u0440\u0443. <br \/>  \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c, \u043b\u0438\u0431\u043e \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 flash \u043f\u043b\u0435\u0435\u0440.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/349\/84d\/367\/34984d36766cc1a503566d54ed85d3fc.png\"\/><\/p>\n<h5>\u0413\u043e\u0442\u043e\u0432\u0438\u043c MySQL<\/h5>\n<p>  CDR \u043d\u0430\u0448\u0435\u0433\u043e Asterisk \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u0432 MySQL \u0431\u0430\u0437\u0443, \u043e \u0442\u043e\u043c \u043a\u0430\u043a \u044d\u0442\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0435\u0441\u0442\u044c <a href=\"http:\/\/unixadmins.su\/index.php?topic=1511.0\">\u0437\u0434\u0435\u0441\u044c<\/a> \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 ;).<br \/>  \u0418\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u0437\u0430\u043f\u0438\u0441\u0438 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440\u0430 \u043f\u0438\u0448\u0435\u0442\u0441\u044f \u0432 \u043f\u043e\u043b\u0435 file \u0442\u0430\u0431\u043b\u0438\u0446\u044b CDR.<br \/>  \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0435\u0433\u043e:  <\/p>\n<pre><code class=\"bash\">mysql -uroot -p -e &quot;alter table  `cdr` add column `filename` varchar(120)  after `userfield`;&quot;  asterisk <\/code><\/pre>\n<h5>\u0414\u0438\u0430\u043b\u043f\u043b\u0430\u043d<\/h5>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u0438\u0430\u043b\u043f\u043b\u0430\u043d\u0430 Asterisk \u044f \u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0441\u044c extensions.ael.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">extensions.ael<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">globals {     WAV=\/records\/wav; \/\/\u0412\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0441 WAV     MP3=\/records\/mp3; \/\/\u041a\u0443\u0434\u0430 \u0432\u044b\u0433\u0440\u0443\u0436\u0430\u0442\u044c mp3 \u0444\u0430\u0439\u043b\u044b     RECORDING=1; \/\/ \u0417\u0430\u043f\u0438\u0441\u044c, 1 - \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0430. };  macro recording (calling,called) {         if (&quot;${RECORDING}&quot; = &quot;1&quot;){               Set(fname=${UNIQUEID}-${STRFTIME(${EPOCH},,%Y-%m-%d-%H_%M)}-${calling}-${called});               Set(monopt=nice -n 19 \/usr\/bin\/lame -b 32  --silent &quot;${WAV}\/${fname}.wav&quot;  &quot;${MP3}\/${fname}.mp3&quot; && rm -f &quot;${WAV}\/${fname}.wav&quot; && chmod o+r &quot;${MP3}\/${fname}.mp3&quot;);               Set(CDR(filename)=${fname}.mp3);               Set(CDR(realdst)=${called});               MixMonitor(${WAV}\/${fname}.wav,b,${monopt});         };  };  _XXXXXX =&gt; {         &recording(${CALLERID(number)},${EXTEN});         Dial(SIP\/rtk\/${EXTEN});         Hangup();         } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0413\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442 \u043f\u0443\u0442\u0438 \u043a \u0444\u0430\u0439\u043b\u0430\u043c, \u0430 \u0442\u0430\u043a \u0436\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c\/\u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440\u0430.<br \/>  \u041c\u0430\u043a\u0440\u043e\u0441 recording \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043d\u043e\u043c\u0435\u0440 \u0437\u0432\u043e\u043d\u044f\u0449\u0435\u0433\u043e \u0438 \u043d\u043e\u043c\u0435\u0440 \u043a\u0443\u0434\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432\u044b\u0437\u043e\u0432. \u0415\u0441\u043b\u0438 \u0437\u0430\u043f\u0438\u0441\u044c \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0430, \u0442\u043e \u043f\u0438\u0448\u0435\u0442\u0441\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 wav \u0444\u0430\u0439\u043b, \u043f\u0435\u0440\u0435\u043a\u043e\u0434\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 mp3, \u0430 \u0432 MySQL \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u0443 CDR \u043f\u0430\u0434\u0430\u0435\u0442 \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430.<br \/>  \u0418\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 uniqueid-\u0434\u0430\u0442\u0430_\u0432\u0440\u0435\u043c\u044f-\u041e\u0442\u041a\u043e\u0433\u043e\u0412\u044b\u0437\u043e\u0432-\u041a\u043e\u043c\u0443\u0412\u044b\u0437\u043e\u0432, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:  <\/p>\n<pre><code class=\"bash\">1392597899.17572-2014-02-17-07_44-83843ZZZ\u0425\u0425\u0425-32\u0425\u0425ZZ.mp3  <\/code><\/pre>\n<p>  mp3 \u0444\u0430\u0439\u043b\u044b \u0437\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u0434\u0435\u043d\u044c \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432 \/records\/mp3\/<br \/>  \u041a\u0430\u0436\u0434\u0443\u044e \u043d\u043e\u0447\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u0432 \u043a\u0440\u043e\u043d\u0435 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u0438 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440\u043e\u0432 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0434\u0430\u0442\u0435 \u043f\u0430\u043f\u043a\u0438  <\/p>\n<pre><code class=\"bash\">1 0 * * * \/root\/sh\/mvrecords.sh <\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"bash\">#!\/bin\/bash ym=`date +%Y-%m -d &quot;-1 day&quot;` ymd=`date +%Y-%m-%d -d &quot;-1 day&quot;` mkdir -p \/records\/mp3\/$ym\/$ymd\/ mv \/records\/mp3\/*$ymd* \/records\/mp3\/$ym\/$ymd\/ <\/code><\/pre>\n<p>  \u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u043f\u0430\u043f\u043e\u043a.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/f30\/a74\/dbb\/f30a74dbbe10b446762b1c74377b0053.png\"\/><br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/895\/150\/386\/8951503864a7188c9d5c3fd4b74465ea.png\"\/><br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/b78\/639\/552\/b786395525a95ce945434ddd13a26230.png\"\/><\/p>\n<h5>PHP<\/h5>\n<p>  \u0412 \u0444\u0430\u0439\u043b\u0435 include\/functions.php \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u043b\u043e\u0433\u0438\u043a\u0430 \u0432\u044b\u0432\u043e\u0434\u0430 \u043a\u043d\u043e\u043f\u043e\u0447\u043a\u0438 \u00ab\u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u0441 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440\u043e\u043c\u00bb \u0438 flash \u043f\u043b\u0435\u0435\u0440\u0430 \u0432 \u043f\u043e\u043b\u0435 \u00ab\u0424\u0430\u0439\u043b\u00bb.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0447\u0430\u0441\u0442\u044c include\/functions.php<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"php\">\t$recorded_file = $row['filename']; \t$mycalldate = substr(&quot;$calldate&quot;,0,10); \t$mycalldate_ym = substr(&quot;$calldate&quot;,0,7); \t$mydate = date(&quot;Y-m-d&quot;); \t  if ($mycalldate&lt;$mydate){ if (file_exists(&quot;records\/$mycalldate_ym\/$mycalldate\/$recorded_file&quot;)) { echo &quot; &lt;td class=\\&quot;record_col\\&quot;&gt;&lt;a href=\\&quot;downloads.php?audio=records\/$mycalldate_ym\/$mycalldate\/$recorded_file\\&quot; title=\\&quot;\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u0441 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440\u043e\u043c\\&quot;&gt;&lt;img src=\\&quot;templates\/images\/sound.png\\&quot;&lt;\/a&gt; \t\t\t\t&lt;object type=\\&quot;application\/x-shockwave-flash\\&quot; data=\\&quot;include\/player_mp3_maxi.swf\\&quot; width=\\&quot;150\\&quot; height=\\&quot;20\\&quot;&gt;                                 &lt;param movie=include\/player_mp3_maxi.swf\/&gt;                                  &lt;param name=FlashVars value=mp3=records\/$mycalldate_ym\/$mycalldate\/$recorded_file \/&gt;     &lt;\/td&gt;\\n&quot;; } else {echo &quot;    &lt;td class=\\&quot;record_col\\&quot;&gt;\u0437\u0430\u043f\u0438\u0441\u044c \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442&lt;\/td&gt;\\n&quot;; } } else { if (file_exists(&quot;records\/$recorded_file&quot;)) { echo &quot; &lt;td class=\\&quot;record_col\\&quot;&gt;&lt;a href=\\&quot;downloads.php?audio=records\/$recorded_file\\&quot; title=\\&quot;\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u0441 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440\u043e\u043c\\&quot;&gt;&lt;img src=\\&quot;templates\/images\/sound.png\\&quot;&lt;\/a&gt; \t\t\t\t&lt;object type=\\&quot;application\/x-shockwave-flash\\&quot; data=\\&quot;include\/player_mp3_maxi.swf\\&quot; width=\\&quot;150\\&quot; height=\\&quot;20\\&quot;&gt;                                 &lt;param movie=include\/player_mp3_maxi.swf\/&gt;  \t\t\t\t&lt;param name=FlashVars value=mp3=records\/$recorded_file \/&gt;     &lt;\/td&gt;\\n&quot;; } else {echo &quot;    &lt;td class=\\&quot;record_col\\&quot;&gt;\u0437\u0430\u043f\u0438\u0441\u044c \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442&lt;\/td&gt;\\n&quot;;}  } } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412 \u044d\u0442\u043e\u043c \u043a\u043e\u0434\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u043a\u0430\u043a\u043e\u0439 \u043f\u0430\u043f\u043a\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u0437\u0430\u043f\u0438\u0441\u0438 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440\u0430. <br \/>  \u0417\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u0434\u0435\u043d\u044c \u0438\u0449\u0435\u043c \u0432 \/records\/mp3, \u0430 \u0437\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u0432 \/records\/mp3\/\u0413\u041e\u0414-\u041c\u0415\u0421\u042f\u0426\/\u0413\u041e\u0414-\u041c\u0415\u0421\u042f\u0426-\u0414\u0415\u041d\u042c\/<br \/>  \u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b \u043d\u0430\u0439\u0434\u0435\u043d \u043d\u0435 \u0431\u044b\u043b, \u0442\u043e \u043c\u044b \u0443\u0432\u0438\u0434\u0435\u043c \u00ab\u0437\u0430\u043f\u0438\u0441\u044c \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442\u00bb \u0432 \u043f\u043e\u043b\u0435 \u00ab\u0424\u0430\u0439\u043b\u00bb.<\/p>\n<p>  \u0422\u0430\u043a \u0436\u0435 \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0440\u0435\u043a\u0432\u0438\u0437\u0438\u0442\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a MySQL \u0432 <code>include\/config.inc.php<\/code><\/p>\n<h5>\u0417\u0430\u043d\u0430\u0432\u0435\u0441<\/h5>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u0432\u0441\u0435!<br \/>  \u0411\u0443\u0434\u0443 \u0440\u0430\u0434 \u0435\u0441\u043b\u0438 \u043c\u043e\u0439 \u0442\u0440\u0443\u0434 \u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u0435\u0437\u0435\u043d.<\/p>\n<p>  ps<br \/>  \u0421\u043e\u0440\u0446\u044b \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0430\u043c <a href=\"http:\/\/sysadminz.ru\/index.php?action=dlattach;topic=6592.0;attach=7589\">1<\/a> \u0438 <a href=\"https:\/\/drive.google.com\/file\/d\/0B4tx5FFqCxYeTFktc2pHQ0ctWDg\/edit?usp=sharing\">2<\/a>    \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\/212815\/\"> http:\/\/habrahabr.ru\/post\/212815\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/fe7\/f4f\/9c0\/fe7f4f9c05f00d4888e049780e792583.png\" align=\"right\" width=\"300\" height=\"240\"\/><br \/>  \u041f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432\u044b\u0434\u0430\u044e\u0442 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0440\u0430\u0437\u043d\u043e\u0439 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0441\u0442\u0438 \u043d\u0430 \u0437\u0430\u043f\u0440\u043e\u0441 \u0432\u044b\u043d\u0435\u0441\u043d\u044b\u0439 \u0432 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a. <br \/>  \u041d\u0430 \u0425\u0430\u0431\u0440\u0430\u0445\u0430\u0431\u0440\u0435 \u0442\u0430\u043a\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u043d\u0435 \u043d\u0430\u0448\u0435\u043b, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u0435\u0451 \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c!<br \/>  \u0417\u0430 \u043e\u0441\u043d\u043e\u0432\u0443 \u044f \u0432\u0437\u044f\u043b \u043f\u0440\u043e\u0435\u043a\u0442 <a href=\"https:\/\/code.google.com\/p\/asterisk-cdr-viewer\/\">asterisk cdr viewer<\/a>.<br \/>  \u041f\u0435\u0440\u0435\u0432\u0435\u043b \u044f\u0437\u044b\u043a web \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043d\u0430 \u0432\u0435\u043b\u0438\u043a\u0438\u0439 \u043c\u043e\u0433\u0443\u0447\u0438\u0439 \u0438 \u00ab\u043e\u0437\u0432\u0443\u0447\u0438\u043b\u00bb \u0435\u0433\u043e, \u0442.\u0435. \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440\u043e\u0432 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435, \u0430 \u0442\u0430\u043a \u0436\u0435 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0442\u044c \u0438\u0445.<br \/>  \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u0435\u0439 \u0444\u0438\u043b\u044c\u0442\u0440\u0430 \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u043e \u0434\u043e \u043c\u0438\u043d\u0438\u043c\u0443\u043c\u0430, \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0430\u043c\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435.<br \/>  \u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b, \u0441\u043e\u0440\u0446\u044b \u0438 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438\u043d\u0441\u0442\u0430\u043b\u044f\u0446\u0438\u0438 \u0443\u044e\u0442\u043d\u043e \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u043b\u0438\u0441\u044c \u043f\u043e\u0434 \u0445\u0430\u0431\u0440\u0430\u043a\u0430\u0442\u043e\u043c.<\/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-212815","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/212815","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=212815"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/212815\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=212815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=212815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=212815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}