{"id":225239,"date":"2014-06-04T23:28:03","date_gmt":"2014-06-04T19:28:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=225239"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=225239","title":{"rendered":"<span class=\"post_title\">SIP \u0447\u0435\u0440\u0435\u0437 WebRTC \u043d\u0430 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d\u0435. \u041a\u0430\u043a \u043c\u044b \u043a \u044d\u0442\u043e\u043c\u0443 \u0448\u043b\u0438 \u0438 \u043a\u0430\u043a\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0440\u0435\u0448\u0430\u043b\u0438<\/span>"},"content":{"rendered":"<div class=\"content html_format\">     \t\u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0443\u0442\u043e\u043a \u0432\u0441\u0435\u043c!<\/p>\n<p>  \u042f \u0443\u0436\u0435 \u043f\u0438\u0441\u0430\u043b \u043e \u0441\u0432\u043e\u0435\u043c \u043e\u043f\u044b\u0442\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 WebRTC <a href=\"http:\/\/habrahabr.ru\/post\/203568\/\">\u0442\u0443\u0442<\/a>, \u043d\u043e \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u0442\u043e, \u0447\u0442\u043e \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0432\u0441\u0451 \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u0442\u0430\u0442\u0435\u0439 \u043d\u0430 \u044d\u0442\u0443 \u0442\u0435\u043c\u0443 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u0445\u0430\u0431\u0440\u0435 \u0438 \u0442\u043e, \u0447\u0442\u043e \u044f \u0434\u0430\u0432\u043d\u043e \u0445\u043e\u0442\u0435\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043c\u044b \u0434\u043e\u0431\u0438\u043b\u0438\u0441\u044c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b SIP \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0438\u0438 \u0447\u0435\u0440\u0435\u0437 WebRTC \u043d\u0430 \u043f\u0440\u043e\u0434\u0430\u0448\u043d\u0435, \u044f \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0447\u0442\u043e \u043c\u044b \u043f\u0440\u043e\u0448\u043b\u0438.<\/p>\n<p>  \u0410 \u043f\u0440\u043e\u0448\u043b\u0438 \u043c\u044b \u0447\u0435\u0440\u0435\u0437 \u043c\u043d\u043e\u0433\u043e\u0435: \u0431\u043e\u043b\u044c, \u043f\u0430\u043d\u0438\u043a\u0443, \u0438\u0441\u0442\u0435\u0440\u0438\u043a\u0438, \u043a\u0443\u0447\u0443 \u043c\u0430\u0442\u043e\u0432 \u0438 \u043f\u043e\u0436\u0435\u043b\u0430\u043d\u0438\u044f \u0434\u043e\u0431\u0440\u0430 \u043c\u0435\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u043c. <br \/>  \u0421\u0435\u0439\u0447\u0430\u0441 \u0436\u0435 \u044d\u0442\u043e \u0432\u0441\u0451 \u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u043c. \u041c\u044b \u0438\u0437\u0431\u0430\u0432\u0438\u043b\u0438\u0441\u044c \u043e\u0442 \u0432\u0441\u0435\u0445 <a href=\"http:\/\/habrahabr.ru\/post\/203568\/\">\u043a\u043e\u0441\u0442\u044b\u043b\u0435\u0439<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0434\u0435\u043b\u0430\u043b\u0438, \u0438 \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0437\u0432\u043e\u043d\u0438\u043b\u0438 \u0438 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e.<br \/>  \u0412 \u0441\u0442\u0430\u0442\u044c\u0435, \u044f \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e\u043f\u0438\u0441\u0430\u043b \u0432\u0441\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043c\u044b \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u043b\u0438\u0441\u044c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u043a\u043e\u0434\u0430 \u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u043e\u0432.<\/p>\n<p>  \u041a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.<br \/>  <a name=\"habracut\"><\/a><\/p>\n<h4>\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f:<\/h4>\n<p>  \u041c\u044b \u043f\u0438\u0441\u0430\u043b\u0438 \u0441\u043e\u0444\u0442 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u043a\u043e\u043b\u0446\u0435\u043d\u0442\u0440\u0430 \u0438 \u0443 \u043d\u0430\u0441 \u0431\u044b\u043b\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0433\u043e \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0437\u0430\u043c\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u0441\u044f \u043d\u0430\u0441\u0447\u0435\u0442 \u043a\u0440\u043e\u0441\u0441\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>  \u041d\u0430 \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u043c\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438:<\/p>\n<ul>\n<li>SIPml5 \u2014 \u043a\u0430\u043a \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434 \u043b\u0438\u0431\u0443 <\/li>\n<li>Asterisk \u2014 \u043a\u0430\u043a \u0431\u0435\u043a\u0435\u043d\u0434 <\/li>\n<li>Google Chrome \u2014 \u043a\u0430\u043a \u0431\u0440\u0430\u0443\u0437\u0435\u0440. \u0433\u0434\u0435 \u0432\u0441\u0451 \u044d\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/li>\n<\/ul>\n<p>  \u0417\u0430 \u0432\u0435\u0441\u044c \u043f\u0443\u0442\u044c \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438:<\/p>\n<ul>\n<li> Asterisk \u0438 SIPml<\/li>\n<li> Asterisk + Webrtc2sip \u0438 SIPml<\/li>\n<li> Freeswitch + SIPml<\/li>\n<li> Freeswitch + JSSIP <\/li>\n<\/ul>\n<h4>\u041d\u0435 \u043c\u043d\u043e\u0433\u043e \u043e \u0441\u043e\u0444\u0442\u0430\u0445:<\/h4>\n<p>  <\/p>\n<ul>\n<li><a href=\"http:\/\/www.asterisk.org\/\">Asterisk<\/a> \u2014 \u0432\u0441\u0435\u043c \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 soft-switch. \u0414\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0443\u043c\u0435\u043b\u044c\u0446\u0430\u043c\u0438 \u0438\u0437 Digium <\/li>\n<li> <a href=\"http:\/\/freeswitch.org\/\">Freeswitch<\/a> \u2014 Soft-switch. O\u0434\u0438\u043d \u0438\u0437 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u043e\u0432 Asterisk<\/li>\n<li> <a href=\"http:\/\/www.sipml5.org\/\">SIPml5<\/a> \u2014 \u043f\u043e\u0437\u0438\u0446\u0438\u0430\u043d\u0438\u0440\u0443\u044e\u0442 \u0441\u0435\u0431\u044f \u043a\u0430\u043a \u043f\u0435\u0440\u0432\u044b\u0439 HTML5 SIP \u043a\u043b\u0438\u0435\u043d\u0442. Javascript \u043b\u0438\u0431\u0430 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 SIP.<\/li>\n<li> <a href=\"http:\/\/jssip.net\/\"> JSSIP<\/a> \u2014 \u043b\u0435\u0433\u043a\u043e\u0432\u0435\u0441\u043d\u0430\u044f Javascript \u043b\u0438\u0431\u0430 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 SIP.<\/li>\n<li> <a href=\"http:\/\/webrtc2sip.org\/\">WebRTC2SIP<\/a> \u2014 SIP \u0438 \u043c\u0435\u0434\u0438\u0430 \u0433\u0435\u0439\u0442\u0432\u0435\u0439<\/li>\n<\/ul>\n<h4>asterisk + sipml<\/h4>\n<p>  \u041d\u0430\u0447\u0430\u043b\u043e \u043f\u0443\u0442\u0438. \u041d\u0430\u043c \u043d\u0430\u0434\u043e \u0431\u044b\u043b\u043e \u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0441\u0445\u0435\u043c\u044b \u0438 \u043f\u043e\u0437\u0432\u043e\u043d\u0438\u0442\u044c \u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0441\u0435\u0431\u0435 \u043d\u0430 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439. <br \/>  Asterisk \u043f\u0430\u0442\u0447\u0438\u043b\u0438 \u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u043b\u0438 \u043f\u043e <a href=\"https:\/\/code.google.com\/p\/sipml5\/wiki\/Asterisk\">\u044d\u0442\u043e\u043c\u0443 \u043c\u0430\u043d\u0443\u0430\u043b\u0443<\/a><br \/>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u044b \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0431\u0438\u043b\u0438\u0441\u044c, \u043c\u044b \u043d\u0430\u0447\u0430\u043b\u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c.<\/p>\n<p>  \u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u044b \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u0438:<\/p>\n<ol>\n<li>\u00ab\u0411\u0435\u043b\u044b\u0439 \u0448\u0443\u043c\u00bb \u043f\u0440\u0438 \u0437\u0432\u043e\u043d\u043a\u0435<\/li>\n<li> \u0422\u0438\u0448\u0438\u043d\u0430 \u0434\u043e 10 \u0441\u0435\u043a\u0443\u043d\u0434 \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u043c \u0437\u0432\u043e\u043d\u043a\u0435. <\/li>\n<li> \u0412\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0437\u0432\u043e\u043d\u043e\u043a \u0441\u043a\u0438\u0434\u044b\u0432\u0430\u043b \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0439. <\/li>\n<\/ol>\n<p>  1. \u00ab\u0411\u0435\u043b\u044b\u0439 \u0448\u0443\u043c\u00bb \u0431\u044b\u043b \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/issues.asterisk.org\/jira\/secure\/attachment\/46844\/whitenoise_fix.diff\">\u044d\u0442\u043e\u0433\u043e<\/a> \u043f\u0430\u0442\u0447\u0430<br \/>  2. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0441\u043e \u0441\u043a\u0438\u0434\u044b\u0432\u0430\u043d\u0438\u0435\u043c \u0437\u0432\u043e\u043d\u043a\u0430 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0440\u0435\u0448\u0438\u0442\u044c, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0430 Asterisk. \u0411\u044b\u043b \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043b\u0438\u043c\u0438\u0442 1 \u0437\u0432\u043e\u043d\u043e\u043a \u043d\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<br \/>  3. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0441 10 \u0441\u0435\u043a\u0443\u043d\u0434\u043d\u043e\u0439 \u0442\u0438\u0448\u0438\u043d\u043e\u0439 \u0440\u0435\u0448\u0438\u043b\u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c, \u043e\u0431\u043d\u043e\u0432\u0438\u0432 Asterisk \u0434\u043e \u0432\u0435\u0440\u0441\u0438\u0438 1.6.<\/p>\n<p>  \u0418 \u0432\u043e\u0442 \u043c\u044b \u0443\u0436\u0435 \u043d\u0430 1.6 \u0430\u0441\u0442\u0435\u0440\u0438\u0441\u043a\u0435. \u041f\u043e\u0441\u043b\u0435 \u0431\u0435\u0433\u043b\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e:<\/p>\n<ul>\n<li> \u00ab\u0411\u0435\u043b\u043e\u0433\u043e \u0448\u0443\u043c\u0430\u00bb \u043d\u0435\u0442<\/li>\n<li> \u041d\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0432\u0435\u0431\u0441\u043e\u043a\u0435\u0442\u043e\u0432<\/li>\n<\/ul>\n<p>  \u041d\u043e \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b:<\/p>\n<ol>\n<li> \u0410\u0441\u0442\u0435\u0440\u0438\u0441\u043a \u043f\u0430\u0434\u0430\u0435\u0442 \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u043c \u0437\u0432\u043e\u043d\u043a\u0435 \u043d\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0438 RTP <\/li>\n<li> \u0422\u0438\u0448\u0438\u043d\u0430 \u0434\u043e 10 \u0441\u0435\u043a\u0443\u043d\u0434 \u043e\u0441\u0442\u0430\u043b\u0430\u0441\u044c.<\/li>\n<\/ol>\n<p>  \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0441 \u0442\u0438\u0448\u0438\u043d\u043e\u0439 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0440\u0435\u0448\u0438\u0442\u044c \u0442\u0435\u043c, \u0447\u0442\u043e \u043c\u044b \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u043e\u0442 STUN \u0432 SIPml5. \u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0441\u0442\u0430\u043b\u0430 \u043b\u0443\u0447\u0448\u0435, \u043d\u043e \u043d\u0435 \u0438\u0441\u0447\u0435\u0437\u043b\u0430 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e. <br \/>  \u0420\u0435\u0448\u0438\u043b\u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c WebRTC2SIP, \u043a\u0430\u043a \u0441\u043e\u0432\u0435\u0442\u043e\u0432\u0430\u043b\u0438 \u043c\u0435\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u044b SIPml5.<\/p>\n<h4>asterisk + webrtc2sip + sipml<\/h4>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0443 \u043d\u0430\u0441 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f:<\/p>\n<ul>\n<li> \u041d\u0435\u0442 \u0441\u0442\u0430\u0440\u044b\u0445 \u0431\u0430\u0433\u043e\u0432 <\/li>\n<li> Asterisk \u043d\u0435 \u043f\u0430\u0434\u0430\u0435\u0442 <\/li>\n<li> \u0422\u0438\u0448\u0438\u043d\u0430 \u0438\u0441\u0447\u0435\u0437\u043b\u0430. <\/li>\n<\/ul>\n<p>  \u041d\u041e! \u041f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e WebRTC2SIP \u043d\u0435 \u0433\u043e\u0442\u043e\u0432 \u0434\u043b\u044f \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d\u0430. \u041e\u043d \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043f\u0430\u0434\u0430\u043b \u0441 \u0440\u0430\u0437\u043d\u043e\u0439 \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u043d\u043e\u0441\u0442\u044c\u044e.<br \/>  \u0421\u0443\u0434\u044f \u043f\u043e <a href=\"https:\/\/code.google.com\/p\/webrtc2sip\/issues\/detail?id=122\">\u0431\u0430\u0433\u0440\u0435\u043f\u043e\u0440\u0442\u0443<\/a> \u0432 \u0442\u0440\u0435\u043a\u043a\u0435\u0440\u0435 \u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0435 \u0437\u043d\u0430\u043b\u0438 \u0443\u0436\u0435 \u043f\u043e\u043b\u0433\u043e\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u043c\u044b \u0441\u0442\u0430\u043b\u0438 \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c. \u041f\u043e\u043d\u044f\u0432, \u0447\u0442\u043e \u043e\u0442 \u043c\u0435\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0434\u043e\u0431\u0438\u0442\u0441\u044f, \u0441\u0442\u0430\u043b\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0440\u0435\u0448\u0430\u0442\u044c \u0441\u0430\u043c\u0438.<\/p>\n<p>  \/\/ \u0410 \u0442\u0435\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442 \u0443\u0436\u0435 \u0432 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d\u0435.<\/p>\n<p>  \u041f\u043e\u0442\u0440\u0430\u0442\u0438\u0432 \u043d\u0435\u0434\u0435\u043b\u044e \u0438 \u0442\u0430\u043a \u043d\u0435 \u0440\u0435\u0448\u0438\u0432 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443, \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0440\u0435\u0441\u0442\u0430\u0440\u0442\u0435\u0440 webrtc2sip \u0438 \u0441\u0442\u0430\u043b\u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u0443 Freeswitch.<\/p>\n<h4>freeswitch + sipml<\/h4>\n<p>  \u0412 \u0441\u0442\u043e\u0440\u043e\u043d\u0443 Freeswitch \u044f \u0441\u043c\u043e\u0442\u0440\u0435\u043b \u0435\u0449\u0435 \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b\u0448\u043b\u0430 \u0411\u0435\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044f 1.4 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 WebRTC. <\/p>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0441\u0442\u0430\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u043d\u0438 \u043e\u0442 Asterisk, \u043d\u0438 \u043e\u0442 Doubango Telecom \u043f\u043e\u043c\u043e\u0449\u0438 \u0436\u0434\u0430\u0442\u044c \u043d\u0435 \u0441\u0442\u043e\u0438\u0442 \u0438 \u043d\u0443\u0436\u043d\u043e \u043a\u0430\u043a-\u0442\u043e \u0440\u0435\u0448\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0441\u0430\u043c\u0438\u043c.<\/p>\n<p>  \u041d\u0430 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0445 \u044d\u0442\u0430\u043f\u0430\u0445 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Freeswitch \u043e\u0447\u0435\u043d\u044c \u0432\u044b\u043d\u043e\u0441\u044f\u0442 \u043c\u043e\u0437\u0433 xml \u043a\u043e\u043d\u0444\u0438\u0433\u0438, \u043d\u043e \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u0438\u0432\u044b\u043a\u0430\u0435\u0448\u044c \u043a \u043d\u0438\u043c, \u0442\u043e \u0436\u0438\u0442\u044c \u0431\u0435\u0437 \u043d\u0438\u0445 \u043d\u0435 \u043c\u043e\u0436\u0435\u0448\u044c.<br \/>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u044b \u0434\u043e\u0431\u0438\u043b\u0438\u0441\u044c \u043e\u0442 \u043d\u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u044b \u0432 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445, \u043f\u0440\u0438\u0431\u043b\u0438\u0436\u0435\u043d\u043d\u044b\u0445 \u043a \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d\u0443, \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0435\u0433\u043e, \u0438 \u043f\u043e\u043d\u044f\u0432, \u0447\u0442\u043e \u0431\u0430\u0433\u043e\u0432 \u043d\u0435\u0442, \u0441\u0442\u0430\u043b\u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435 \u043d\u0430 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d\u0435, \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0432 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u043d\u0430 \u0441\u0432\u044f\u0437\u043a\u0443 Asterisk + WebRTC2SIP<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0441\u043e\u0444\u0442\u0441\u0432\u0438\u0442\u0447\u0430 \u0438\u0441\u0447\u0435\u0437\u043b\u0438. \u041f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b SIPml:<\/p>\n<ul>\n<li>\u0415\u0441\u043b\u0438 \u043f\u043e\u0437\u0432\u043e\u043d\u0438\u0442\u044c \u0438 \u0441\u043a\u0438\u043d\u0443\u0442\u044c \u0442\u0440\u0443\u0431\u043a\u0443, \u0442\u043e sipml \u0431\u0443\u0434\u0435\u0442 \u0434\u0443\u043c\u0430\u0442\u044c, \u0447\u0442\u043e \u0435\u043c\u0443 \u0442\u0430\u043a\u0436\u0435 \u0437\u0432\u043e\u043d\u044f\u0442 \u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0432\u0437\u044f\u0442\u044c \u0443\u0436\u0435 \u043c\u0435\u0440\u0442\u0432\u044b\u0439 \u0437\u0432\u043e\u043d\u043e\u043a. <\/li>\n<li> \u0417\u0432\u043e\u043d\u043e\u043a \u0434\u043b\u0438\u043b\u0441\u044f \u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 2\u0445 \u043c\u0438\u043d\u0443\u0442.<\/li>\n<\/ul>\n<p>  \u0421\u0434\u0435\u043b\u0430\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0441\u0442\u044b\u043b\u0435\u0439 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u044d\u0442\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043d\u0430\u043c \u043d\u0435 \u043c\u0435\u0448\u0430\u043b\u0438 \u0438 \u0440\u0435\u0448\u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 JSSIP. \u041e JSSIP \u0437\u043d\u0430\u043b\u0438 \u0443\u0436\u0435 \u043e\u043a\u043e\u043b\u043e \u043c\u0435\u0441\u044f\u0446\u0430. \u0410 \u0435\u0449\u0435 \u0442\u0443\u0442 \u0431\u044b\u043b\u043e \u043c\u043d\u043e\u0433\u043e \u043d\u0435\u043d\u0430\u0432\u0438\u0441\u0442\u0438 \u043a Doubango \u0438 \u0438\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430\u043c \u0438 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u0441\u044f \u043e\u0442 \u0438\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432.<\/p>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0432 \u0432\u0441\u0435 \u043d\u0430 tryit.jssip.net \u0438 \u043f\u043e\u043d\u044f\u0432, \u0447\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043d\u0435\u0442, \u0447\u0435\u0440\u0435\u0437 \u0442\u0440\u0438 \u0434\u043d\u044f, \u043f\u043e\u0441\u043b\u0435 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043d\u0430 JSSIP, \u0443 \u043d\u0430\u0441 SIP \u0441\u0442\u0430\u043b \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e \u0438 \u0431\u0435\u0437 \u0431\u0430\u0433\u043e\u0432.<\/p>\n<h4>\u0420\u0435\u0437\u044e\u043c\u0435<\/h4>\n<p>  \u0412\u043e\u0442 \u0442\u0430\u043a\u0430\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c. \u0410 \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0435 \u043b\u0438\u0447\u043d\u043e\u0435 \u043c\u043d\u0435\u043d\u0438\u0435 \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0441\u043e\u0444\u0442\u0443.  <\/p>\n<h6>SIPml<\/h6>\n<p>  \u041f\u043b\u044e\u0441\u044b:  <\/p>\n<ul>\n<li> \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0442\u0440\u0430\u043d\u0441\u0444\u0435\u0440 <\/li>\n<\/ul>\n<p>  \u041c\u0438\u043d\u0443\u0441\u044b:  <\/p>\n<ul>\n<li> \u041e\u0447\u0435\u043d\u044c \u043e\u0433\u0440\u043e\u043c\u043d\u0430\u044f. \u041c\u0438\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 js \u0444\u0430\u0439\u043b \u0432\u0435\u0441\u0438\u0442 &gt; 1 Mb<\/li>\n<li> \u041d\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438. \u041c\u043d\u043e\u0433\u043e \u0447\u0435\u0433\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0432\u044b\u0438\u0441\u043a\u0438\u0432\u0430\u0442\u044c \u043f\u043e \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430\u043c.<\/li>\n<li> \u0411\u043e\u043b\u044c\u0448\u0435 \u0437\u0430\u0442\u043e\u0447\u0435\u043d\u0430 \u043f\u043e\u0434 WebRTC2sip<\/li>\n<li> \u041c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 <\/li>\n<\/ul>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">\/\/ \u0412\u0437\u044f\u0442\u043e \u0438\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438          SIPml.init(                     function(e){                         var stack =  new SIPml.Stack({realm: 'example.org', impi: 'bob', impu: 'sip:bob@example.org', password: 'mysecret',                             events_listener: { events: 'started', listener: function(e){                                         var callSession = stack.newSession('call-audiovideo', {                                                 video_local: document.getElementById('video-local'),                                                 video_remote: document.getElementById('video-remote'),                                                 audio_remote: document.getElementById('audio-remote')                                             });                                         callSession.call('alice');                                     }                                  }                         });                         stack.start();                     }             ); <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u044b\u0442\u044b\u0439 \u0442\u0435\u043a\u0441\u0442<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">\/\/ \u0412\u0437\u044f\u0442\u043e \u0438\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438             var callSession;             var eventsListener = function(e){                 console.info('session event = ' + e.type);             }             var makeCall = function(){                 callSession = sipStack.newSession('call-audiovideo', {                     video_local: document.getElementById('video-local'),                     video_remote: document.getElementById('video-remote'),                     audio_remote: document.getElementById('audio-remote'),                     events_listener: { events: '*', listener: eventsListener } \/\/ optional: '*' means all events                 });                 callSession.call('johndoe');             }          <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<h6>JSSIP<\/h6>\n<p>  \u041f\u043b\u044e\u0441\u044b:<\/p>\n<ul>\n<li> \u041b\u0435\u0433\u043a\u043e\u0432\u0435\u0441\u043d\u0430\u044f (~130kb) <\/li>\n<li> \u041e\u0442\u043b\u0438\u0447\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 <\/li>\n<li> \u041e\u0442\u043b\u0438\u0447\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 Freeswitch(\u043f\u043e \u0438\u0434\u0435\u0435 \u0438 \u0441 Asterisk \u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438, \u043d\u043e \u0442\u0443\u0442 \u044f \u0443\u0436\u0435 \u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b)<\/li>\n<li> \u041e\u0442\u043b\u0438\u0447\u043d\u043e\u0435 API <\/li>\n<\/ul>\n<p>  \u041c\u0438\u043d\u0443\u0441\u043e\u0432 \u0443 \u043b\u0438\u0431\u044b \u044f \u043d\u0435 \u0437\u0430\u043c\u0435\u0442\u0438\u043b.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u044b\u0442\u044b\u0439 \u0442\u0435\u043a\u0441\u0442<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">\/\/ \u0418\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 var configuration = {   'ws_servers': 'ws:\/\/sip-ws.example.com',   'uri': 'sip:alice@example.com',   'password': 'superpassword' }; var coolPhone = new JsSIP.UA(configuration);  <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u044b\u0442\u044b\u0439 \u0442\u0435\u043a\u0441\u0442<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">\/\/ \u0438\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 var selfView =   document.getElementById('my-video'); var remoteView =  document.getElementById('peer-video');  \/\/ Register callbacks to desired call events var eventHandlers = {   'progress':   function(e){ \/* Your code here *\/ },   'failed':     function(e){ \/* Your code here *\/ },   'started':    function(e){     var rtcSession = e.sender;      \/\/ Attach local stream to selfView     if (rtcSession.getLocalStreams().length &gt; 0) {       selfView.src = window.URL.createObjectURL(rtcSession.getLocalStreams()[0]);     }      \/\/ Attach remote stream to remoteView     if (rtcSession.getRemoteStreams().length &gt; 0) {       remoteView.src = window.URL.createObjectURL(rtcSession.getRemoteStreams()[0]);     }   },   'ended':      function(e){ \/* Your code here *\/ } };  var options = {   'eventHandlers': eventHandlers,   'extraHeaders': [ 'X-Foo: foo', 'X-Bar: bar' ],   'mediaConstraints': {'audio': true, 'video': true} };  coolPhone.call('sip:bob@example.com', options); <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<h6>Webrtc2sip<\/h6>\n<p>  \u041f\u043b\u044e\u0441\u044b:  <\/p>\n<ul>\n<li> \u041f\u043e\u043c\u043e\u0433 \u0440\u0435\u0448\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0441 Asterisk<\/li>\n<\/ul>\n<p>  \u041c\u0438\u043d\u0443\u0441\u044b:  <\/p>\n<ul>\n<li> \u041d\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 <\/li>\n<li> \u0421\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u043b\u0430\u0434\u0438\u043b\u0438 \u0441\u043f\u0443\u0441\u0442\u044f \u0433\u043e\u0434. <\/li>\n<\/ul>\n<h6>Asterisk<\/h6>\n<p>  \u041a\u0430\u043a \u044f \u043f\u043e\u043d\u044f\u043b, \u0443\u043c\u0435\u043b\u044c\u0446\u044b \u0432 \u043e\u0434\u043d\u043e\u043c \u0440\u0435\u043b\u0438\u0437\u0435 \u0447\u0438\u043d\u044f\u0442, \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u043b\u043e\u043c\u0430\u044e\u0442.<br \/>  \u041d\u0430 \u0432\u0435\u0440\u0441\u0438\u0438 1.7 SIP \u0447\u0435\u0440\u0435\u0437 WebRTC \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0443 \u043c\u0435\u043d\u044f \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b.<\/p>\n<p>  \u0425\u0430\u0431\u0440\u0430\u044e\u0437\u0435\u0440 <a href=\"http:\/\/habrahabr.ru\/users\/ovoshlook\/\" class=\"user_link\">Ovoshlook<\/a> \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u0438 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u043b \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443:<\/p>\n<blockquote><p>\u0423\u043c\u0435\u043b\u044c\u0446\u044b \u0443\u0436\u0435 \u043f\u0440\u043e\u043f\u0430\u0442\u0447\u0438\u043b\u0438. \u0441\u0435\u0439\u0447\u0430\u0441 \u0432\u0441\u0435\u043e\u0431\u0449\u0430\u044f \u0438 \u0432\u0441\u0435\u043f\u043e\u0433\u043b\u0430\u0449\u0430\u044e\u0449\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0434\u0440\u0443\u0433\u043e\u043c- \u043a\u043e\u0433\u0434\u0430 \u0430\u0441\u0442\u0435\u0440\u0438\u0441\u043a \u0434\u0435\u043b\u0430\u0435\u0442 \u0431\u0440\u0438\u0434\u0436\u0438\u043d\u0433 \u043e\u043d \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u0442 \u0438\u043d\u0432\u0430\u0439\u0442 \u0441 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043e\u043c AVP, \u0438 \u0435\u0441\u043b\u0438 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0439 \u0430\u0431\u043e\u043d\u0435\u043d\u0442 \u0441\u0438\u0434\u0438\u0442 \u043d\u0430 \u0432\u0435\u0431\u0444\u043e\u043d\u0435 \u2014 \u043e\u043d \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043e\u0436\u0438\u0434\u0430\u0435\u0442 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442 AVPF \u0438 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u041a\u0430\u043a \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435 \u043f\u0440\u0438 \u0437\u0432\u043e\u043d\u043a\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u0432\u0435\u0447\u0430\u0442\u044c 603 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u043c failed to get local sdp.<br \/>  \u0412 \u043e\u0431\u0449\u0435\u043c \u0438 \u0446\u0435\u043b\u043e\u043c \u2014 \u043f\u0440\u0438 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0445 \u0430\u0441\u0442\u0435\u0440\u0438\u0441\u043a \u043d\u0435 \u0441\u043b\u0435\u0434\u0438\u0442 \u0437\u0430 \u0442\u0435\u043c \u0441 \u043a\u0430\u043a\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043d\u0430 \u043d\u0435\u043c \u0441\u0438\u0434\u0438\u0442 \u043a\u043b\u0438\u0435\u043d\u0442. \u041a\u0430\u043a \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 openSIPS \u0438\u043b\u0438 Kamailio, \u043d\u043e \u044d\u0442\u043e \u0443\u0436\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u0434\u0440\u0443\u0433\u0430\u044f \u0442\u0435\u043c\u0430.<\/p><\/blockquote>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435 \u0432\u0441\u0451 \u044d\u0442\u043e \u043d\u0430\u0434\u043e\u0435\u043b\u043e \u0438 \u043c\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438 Freeswitch \u043a\u0430\u043a soft-switch<\/p>\n<h6>Freeswitch<\/h6>\n<p>  \u041f\u043b\u044e\u0441\u044b:  <\/p>\n<ul>\n<li> \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 <\/li>\n<li> \u0410\u043a\u0442\u0438\u0432\u043d\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f <\/li>\n<li> \u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043b\u043e\u043c\u0430\u0435\u0442\u0441\u044f \u0432 \u043d\u043e\u0432\u044b\u0445 \u0440\u0435\u043b\u0438\u0437\u0430\u0445 <\/li>\n<\/ul>\n<p>  \u041c\u0438\u043d\u0443\u0441\u044b:  <\/p>\n<ul>\n<li> \u041d\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u043a\u043e\u043b\u0446\u0435\u043d\u0442\u0440, \u043a\u0430\u043a \u0432 asterisk \u0431\u0430\u0431\u043e\u0439-\u0440\u043e\u0431\u043e\u0442\u043e\u043c<\/li>\n<\/ul>\n<h4>\u0418\u0442\u043e\u0433<\/h4>\n<p>  SIP \u0441\u0442\u0430\u043b \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e. \u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0441\u0447\u0430\u0441\u0442\u043b\u0438\u0432\u044b. \u0422\u0435\u043a\u0443\u0449\u0430\u044f \u0441\u0432\u044f\u0437\u043a\u0430 Freeswitch+JSSIP \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 ~10k \u0437\u0432\u043e\u043d\u043a\u043e\u0432 \u0432 \u0441\u0443\u0442\u043a\u0438 \u0438 \u0434\u043e 15k \u0432 \u0447\u0430\u0441\u044b-\u043f\u0438\u043a.<\/p>\n<h4>PS<\/p>\n<h4>\u041a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043c\u043e\u0433\u0443 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043c\u044b \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043b\u0438 Freeswitch \u0441 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0435\u0439 \u0441 MySQL, \u043a\u043e\u043b-\u0446\u0435\u043d\u0442\u0440\u043e\u043c, \u0437\u0430\u043f\u0438\u0441\u044c\u044e \u0437\u0432\u043e\u043d\u043a\u043e\u0432 \u0438 \u0434\u0435\u043b\u0430\u043b\u0438 \u0435\u0433\u043e \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u044b\u043c.<\/h4>\n<\/h4>\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\/225239\/\"> http:\/\/habrahabr.ru\/post\/225239\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">     \t\u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0443\u0442\u043e\u043a \u0432\u0441\u0435\u043c!<\/p>\n<p>  \u042f \u0443\u0436\u0435 \u043f\u0438\u0441\u0430\u043b \u043e \u0441\u0432\u043e\u0435\u043c \u043e\u043f\u044b\u0442\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 WebRTC <a href=\"http:\/\/habrahabr.ru\/post\/203568\/\">\u0442\u0443\u0442<\/a>, \u043d\u043e \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u0442\u043e, \u0447\u0442\u043e \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0432\u0441\u0451 \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u0442\u0430\u0442\u0435\u0439 \u043d\u0430 \u044d\u0442\u0443 \u0442\u0435\u043c\u0443 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u0445\u0430\u0431\u0440\u0435 \u0438 \u0442\u043e, \u0447\u0442\u043e \u044f \u0434\u0430\u0432\u043d\u043e \u0445\u043e\u0442\u0435\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043c\u044b \u0434\u043e\u0431\u0438\u043b\u0438\u0441\u044c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b SIP \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0438\u0438 \u0447\u0435\u0440\u0435\u0437 WebRTC \u043d\u0430 \u043f\u0440\u043e\u0434\u0430\u0448\u043d\u0435, \u044f \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0447\u0442\u043e \u043c\u044b \u043f\u0440\u043e\u0448\u043b\u0438.<\/p>\n<p>  \u0410 \u043f\u0440\u043e\u0448\u043b\u0438 \u043c\u044b \u0447\u0435\u0440\u0435\u0437 \u043c\u043d\u043e\u0433\u043e\u0435: \u0431\u043e\u043b\u044c, \u043f\u0430\u043d\u0438\u043a\u0443, \u0438\u0441\u0442\u0435\u0440\u0438\u043a\u0438, \u043a\u0443\u0447\u0443 \u043c\u0430\u0442\u043e\u0432 \u0438 \u043f\u043e\u0436\u0435\u043b\u0430\u043d\u0438\u044f \u0434\u043e\u0431\u0440\u0430 \u043c\u0435\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u043c. <br \/>  \u0421\u0435\u0439\u0447\u0430\u0441 \u0436\u0435 \u044d\u0442\u043e \u0432\u0441\u0451 \u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u043c. \u041c\u044b \u0438\u0437\u0431\u0430\u0432\u0438\u043b\u0438\u0441\u044c \u043e\u0442 \u0432\u0441\u0435\u0445 <a href=\"http:\/\/habrahabr.ru\/post\/203568\/\">\u043a\u043e\u0441\u0442\u044b\u043b\u0435\u0439<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0434\u0435\u043b\u0430\u043b\u0438, \u0438 \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0437\u0432\u043e\u043d\u0438\u043b\u0438 \u0438 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e.<br \/>  \u0412 \u0441\u0442\u0430\u0442\u044c\u0435, \u044f \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e\u043f\u0438\u0441\u0430\u043b \u0432\u0441\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043c\u044b \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u043b\u0438\u0441\u044c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u043a\u043e\u0434\u0430 \u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u043e\u0432.<\/p>\n<p>  \u041a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.  <\/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-225239","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/225239","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=225239"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/225239\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=225239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=225239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=225239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}