{"id":173,"date":"2010-06-18T16:11:21","date_gmt":"2010-06-18T13:11:21","guid":{"rendered":"http:\/\/skeletor.org.ua\/wordpress\/?p=173"},"modified":"2011-02-09T08:40:57","modified_gmt":"2011-02-09T06:40:57","slug":"addpac-%d0%b8-%d0%b2%d0%be%d0%b7%d0%bc%d0%be%d0%b6%d0%bd%d0%be%d1%81%d1%82%d1%8c-%d0%bf%d0%b5%d1%80%d0%b5%d1%85%d0%b2%d0%b0%d1%82%d0%b0-%d0%b7%d0%b2%d0%be%d0%bd%d0%ba%d0%be%d0%b2","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=173","title":{"rendered":"addpac \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u0430 \u0437\u0432\u043e\u043d\u043a\u043e\u0432"},"content":{"rendered":"<p>\u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u0443, \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0432\u044b\u043c \u0438\u0434\u0451\u0442 \u0441\u0438\u043c\u0432\u043e\u043b <strong>*<\/strong> \u0438\u043b\u0438 <strong>#<\/strong>, \u0442\u043e \u043e\u043d \u0441\u0447\u0438\u0442\u0430\u0435\u0442, \u0447\u0442\u043e \u0434\u0430\u043b\u044c\u0448\u0435 \u0431\u0443\u0434\u0435\u0442\u00a0<strong>IP<\/strong> \u0430\u0434\u0440\u0435\u0441. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442 \u0447\u0435\u0440\u0435\u0437 <strong>*40<\/strong> \u043d\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u0414\u043b\u044f \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0444\u0438\u0447\u0438 (\u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u0434\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u0430) \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<p><!--more--><\/p>\n<p><code>AP1100(config)#\u00a0dial-peer ipaddr-prefix n<\/code><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442! \u0425\u043e\u0442\u044f \u0441\u043f\u043e\u0441\u043e\u0431, \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0438\u0436\u0435 \u0442\u0430\u043a \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u043a \u043e\u0434\u043d\u043e\u043c\u0443\u00a0<strong>Addpac&#8217;y,<\/strong> \u0442\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u043a\u043e\u0435:<\/p>\n<p><code>AP1100(config)# dial-peer call-pickup *40<\/code><\/p>\n<p>\u0433\u0434\u0435,\u00a0<strong>*40<\/strong> &#8211; \u044d\u0442\u043e \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044f \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u0430 \u0437\u0432\u043e\u043d\u043a\u043e\u0432.<\/p>\n<p>\u0412\u0441\u0451 \u0445\u043e\u0440\u043e\u0448\u043e, \u043d\u043e \u0435\u0441\u043b\u0438 \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u044b \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445\u00a0<strong>addpac&#8217;ax<\/strong> \u0438\u043b\u0438 \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c\u00a0<strong>sip-\u0441\u0435\u0440\u0432\u0435\u0440<\/strong>(\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,\u00a0<strong>asterisk<\/strong>) \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0437\u0432\u043e\u043d\u043e\u043a \u0441\u00a0<strong>ip-phone<\/strong> \u043d\u0430\u00a0<strong>ip-phone<\/strong>, \u0442\u043e \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442 \u043d\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u00a0<strong>addpac<\/strong> \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0435\u0440\u0435\u0441\u044b\u043b\u0430\u0442\u044c \u043d\u0430 sip-\u0441\u0435\u0440\u0432\u0435\u0440 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044e \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u00a0<strong>*<\/strong> \u0438\u043b\u0438\u00a0<strong>#<\/strong>. \u041a\u0430\u043a \u0431\u044b\u0442\u044c \u0432 \u0442\u0430\u043a\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438, \u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043c\u0435\u043d\u044f\u0442\u044c\u00a0<strong>*40<\/strong> \u043d\u0430\u00a0<strong>040<\/strong> \u0432\u0441\u0435\u043c? \u0422\u0435\u043c, \u043a\u0442\u043e \u043d\u0430 <strong>addpac&#8217;\u0435<\/strong> \u043f\u0443\u0441\u043a\u0430\u0439 \u0431\u0443\u0434\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044e:\u00a0<strong>040<\/strong>, \u0430 \u0442\u0435 \u0443 \u043a\u043e\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u0442\u0430\u0440\u0430\u044f &#8211; \u0441\u0442\u0430\u0440\u0443\u044e. \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0436\u0435\u00a0<strong>Addpac&#8217;e<\/strong> \u0431\u0443\u0434\u0435\u043c \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044e\u00a0<strong>040<\/strong> \u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0430\u00a0<strong>*40<\/strong>. \u0414\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u0442\u0430\u043a.<\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438:<\/p>\n<p><code>AP1100(config)#translation-rule 0<br \/>\nAP1100(config-translation-rule#0)#rule 0 040 *40<\/code><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043a\u00a0<strong>dial-peer voice voip<\/strong> (\u0443 \u043c\u0435\u043d\u044f \u044d\u0442\u043e <strong>1000<\/strong>, \u0443 \u0432\u0430\u0441 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0439):<\/p>\n<p><code>AP1100(config)# dial-peer voice 1000 voip<br \/>\nAP1100(config-dialpeer-voip-1000)#translate-outgoing called-number 0<br \/>\nAP1100(config-dialpeer-voip-1000)#translate-outgoing calling-number 0<br \/>\n<\/code><br \/>\n<strong><em><span style=\"color: #ff6600;\"> \u041f\u043e\u044f\u0441\u043d\u0435\u043d\u0438\u0435:<\/span><\/em><\/strong><\/p>\n<p><strong>translate-outgoing called<\/strong> &#8211; \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043b\u044f \u043d\u043e\u043c\u0435\u0440\u0430, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0432\u043e\u043d\u0438\u043c<br \/>\n<strong> translate-outgoing calling<\/strong> &#8211; \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043b\u044f \u043d\u043e\u043c\u0435\u0440\u0430, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0437\u0432\u043e\u043d\u0438\u043c<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u0443, \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0432\u044b\u043c \u0438\u0434\u0451\u0442 \u0441\u0438\u043c\u0432\u043e\u043b * \u0438\u043b\u0438 #, \u0442\u043e \u043e\u043d \u0441\u0447\u0438\u0442\u0430\u0435\u0442, \u0447\u0442\u043e \u0434\u0430\u043b\u044c\u0448\u0435 \u0431\u0443\u0434\u0435\u0442\u00a0IP \u0430\u0434\u0440\u0435\u0441. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442 \u0447\u0435\u0440\u0435\u0437 *40 \u043d\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u0414\u043b\u044f \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0444\u0438\u0447\u0438 (\u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u0434\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u0430) \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/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-173","post","type-post","status-publish","format-standard","hentry","category-telephony"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/173","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=173"}],"version-history":[{"count":3,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/173\/revisions"}],"predecessor-version":[{"id":829,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/173\/revisions\/829"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}