{"id":3303,"date":"2013-01-10T17:16:08","date_gmt":"2013-01-10T15:16:08","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=3303"},"modified":"2013-01-10T17:16:20","modified_gmt":"2013-01-10T15:16:20","slug":"elastix-%d0%b8-h323","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=3303","title":{"rendered":"Elastix \u0438 H323"},"content":{"rendered":"<p>\u0415\u0441\u043b\u0438 \u0432\u044b &#8220;\u0441\u0447\u0430\u0441\u0442\u043b\u0438\u0432\u044b\u0439&#8221; \u043e\u0431\u043b\u0430\u0434\u0430\u0442\u0435\u043b\u044c <strong>Elastix&#8217;a<\/strong>, \u0442\u043e\u0447\u043d\u0435\u0435 \u043a \u0432\u0430\u043c \u043d\u0430 \u0433\u043e\u043b\u043e\u0432\u0443 \u0441\u0432\u0430\u043b\u0438\u043b\u0441\u044f \u044d\u0442\u043e\u0442 \u0433\u0435\u043c\u043e\u0440\u043e\u0439, \u0442\u043e \u0434\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0434\u043b\u044f \u0432\u0430\u0441.<\/p>\n<p><!--more--><\/p>\n<p><strong><span style=\"color: #ff0000;\">1) \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Elastix&#8217;a<\/span><\/strong><\/p>\n<p>\u0412 \u043c\u0435\u043d\u044e <strong>Trunks<\/strong> \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u043d\u043e\u0432\u044b\u0439 <strong>Custom<\/strong> \u0442\u0440\u0430\u043d\u043a. \u041d\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0435\u0433\u043e \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c <strong>Caller-ID<\/strong>. \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0448\u0430\u0431\u043b\u043e\u043d \u043d\u0430\u0431\u043e\u0440\u0430 (\u0432\u0432\u043e\u0434\u0438\u043c \u0442\u043e\u0447\u043a\u0443 \u0434\u043b\u044f \u043b\u044e\u0431\u044b\u0445 \u0437\u0432\u043e\u043d\u043a\u043e\u0432). \u0412 \u043f\u043e\u043b\u0435\u00a0<a><strong>Custom Dial String<\/strong> \u0432\u0432\u043e\u0434\u0438\u043c \u0442\u0430\u043a\u043e\u0435<\/a><\/p>\n<p><code>OOH323\/$OUTNUM$@XX.XX.XX.XX<\/code><\/p>\n<p>\u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a \u0438 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u043d\u043e\u043c\u0435\u0440\u043e\u0432 \u043f\u043e\u0440\u0442\u043e\u0432 \u0432 \u043a\u043e\u043d\u0446\u0435 (\u0445\u043e\u0442\u044f \u0432 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0435 \u0438\u043c\u0435\u043d\u043d\u043e \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u043f\u043e\u0440\u0442\u0430, \u0447\u0442\u043e \u0438 \u0432\u0432\u043e\u0434\u0438\u0442 \u0432 \u0437\u0430\u0431\u043b\u0443\u0436\u0434\u0435\u043d\u0438\u0435)! \u0418\u043d\u0430\u0447\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0443\u0433\u0430\u0442\u044c <strong>peer not found<\/strong>.<\/p>\n<p><strong>XX.XX.XX.XX<\/strong> &#8211; \u044d\u0442\u043e IP \u0430\u0434\u0440\u0435\u0441 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u0441\u0432\u044f\u0437\u0438, \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u0437\u0432\u043e\u043d\u0438\u0442\u044c.<\/p>\n<p>\u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c (\u0438\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u0451\u043c) \u043d\u043e\u0432\u044b\u0439 <strong>Outbound route<\/strong> (\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442) \u0438 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0440\u0430\u043d\u043a\u0430 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0432\u044b\u0448\u0435. \u0422\u0430\u043a \u0436\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c\u0441\u044f \u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e.<br \/>\n\u0414\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0442\u0440\u0430\u043d\u043a\u0430 \u0434\u0435\u043b\u0430\u0435\u043c \u0432\u0441\u0451 \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435.<\/p>\n<p><strong><span style=\"color: #ff0000;\">2) \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 asterisk&#8217;a<\/span><\/strong><\/p>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0435\u043d \u043b\u0438 \u043c\u043e\u0434\u0443\u043b\u044c <strong>ooh323<\/strong>:<\/p>\n<pre>pbx*CLI&gt; core show channeltypes\r\nType        Description                              Devicestate  Indications  Transfer\r\n----------  -----------                              -----------  -----------  --------\r\nUSTM        UNISTIM Channel Driver                   no           yes          no\r\nOOH323      Objective Systems H323 Channel Driver    no           yes          no\r\nPhone       Standard Linux Telephony API Driver      no           yes          no\r\nEXTRA       GSM\/CDMA Telephony Driver FOR Asterisk w no           yes          no\r\nAgent       Call Agent Proxy Channel                 yes          yes          no\r\nMGCP        Media Gateway Control Protocol (MGCP)    yes          yes          no\r\nBridge      Bridge Interaction Channel               no           no           no\r\nSIP         Session Initiation Protocol (SIP)        yes          yes          yes\r\nMulticastR  Multicast RTP Paging Channel Driver      no           no           no\r\nIAX2        Inter Asterisk eXchange Driver (Ver 2)   yes          yes          yes\r\nGtalk       Gtalk Channel Driver                     no           yes          no\r\nJingle      Jingle Channel Driver                    no           yes          no\r\nDAHDI       DAHDI Telephony Driver w\/PRI &amp; MFC\/R2 &amp;  yes          yes          no\r\nSkinny      Skinny Client Control Protocol (Skinny)  yes          yes          no\r\nLocal       Local Proxy Channel Driver               yes          yes          no\r\n----------\r\n15 channel drivers registered.<\/pre>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e, \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0435\u043d. \u0415\u0441\u043b\u0438 \u043d\u0435 \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0435\u043d, \u0442\u043e \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u0443<\/p>\n<p><code>module load ooh323.so<\/code><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b <strong>ooh323.conf<\/strong> (\u043d\u0435 <strong>h323.conf<\/strong>, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e <strong>ooh323.conf<\/strong>)<\/p>\n<p>\u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0442\u0430\u043a\u0438\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a:<\/p>\n<p><code>[general]<br \/>\nport = 1720<br \/>\nbindaddr = 0.0.0.0<br \/>\ne164=100<br \/>\ncallerid=PostMet-Asterisk<br \/>\ngateway=no<br \/>\ngatekeeper = DISABLE<br \/>\nh245tunneling=yes<br \/>\nmediawaitforconnect=yes<br \/>\nlogfile=\/var\/log\/asterisk\/h323_log<br \/>\ncontext=from-internal<br \/>\ndtmfmode=rfc2833<\/code><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0438\u0440\u0430 <strong>XX.XX.XX.XX<\/strong>:<\/p>\n<p><code>[XX.XX.XX.XX]<br \/>\ntype=friend<br \/>\ncontext=from-internal<br \/>\nip=XX.XX.XX.XX<br \/>\nport=1720<br \/>\nrtptimeout=60<br \/>\ndtmfmode=rfc2833<br \/>\nh245tunneling=yes<br \/>\ndisallow=all<br \/>\nallow=alaw<br \/>\nallow=ulaw<br \/>\nallow=g723<br \/>\nallow=g729<\/code><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0430\u0441\u0442\u0435\u0440\u0438\u0441\u043a \u0438 \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0437\u0432\u043e\u043d\u0438\u0442\u044c.<br \/>\n\u0414\u043b\u044f \u0435\u0449\u0451 \u043e\u0434\u043d\u043e\u0433\u043e \u0442\u0440\u0430\u043d\u043a\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0438\u0440\u0430.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0415\u0441\u043b\u0438 \u0432\u044b &#8220;\u0441\u0447\u0430\u0441\u0442\u043b\u0438\u0432\u044b\u0439&#8221; \u043e\u0431\u043b\u0430\u0434\u0430\u0442\u0435\u043b\u044c Elastix&#8217;a, \u0442\u043e\u0447\u043d\u0435\u0435 \u043a \u0432\u0430\u043c \u043d\u0430 \u0433\u043e\u043b\u043e\u0432\u0443 \u0441\u0432\u0430\u043b\u0438\u043b\u0441\u044f \u044d\u0442\u043e\u0442 \u0433\u0435\u043c\u043e\u0440\u043e\u0439, \u0442\u043e \u0434\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0434\u043b\u044f \u0432\u0430\u0441.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-3303","post","type-post","status-publish","format-standard","hentry","category-telephony"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3303"}],"version-history":[{"count":3,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3303\/revisions"}],"predecessor-version":[{"id":3912,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3303\/revisions\/3912"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}