{"id":2593,"date":"2012-04-23T18:26:31","date_gmt":"2012-04-23T15:26:31","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=2593"},"modified":"2012-12-26T17:50:27","modified_gmt":"2012-12-26T15:50:27","slug":"addpac-gs-1002-%d0%b8-asterisk","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=2593","title":{"rendered":"Addpac GS-1002 \u0438 Asterisk"},"content":{"rendered":"<p>\u041f\u0440\u0438\u0432\u0435\u0434\u0443 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u043b\u044f \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0438 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0437\u0432\u043e\u043d\u043a\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 <strong>GSM<\/strong> \u00a0\u0448\u043b\u044e\u0437 <strong>Addpacc GS-1002<\/strong>.<\/p>\n<p><em><strong><span style=\"color: #008000;\">\u0422\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0441\u0434\u0435\u043d\u0434<\/span><\/strong><\/em>: <strong>asterisk 1.8, addpac gs-1002<\/strong><\/p>\n<p>\u0414\u043b\u044f \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0437\u0432\u043e\u043d\u043a\u043e\u0432 \u0437\u0430\u0432\u0435\u0434\u0435\u043d\u044b <strong>sip<\/strong> \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u044b <strong>gsm1\/gsm2<\/strong> \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0437\u0430\u0432\u044f\u0437\u0430\u043d\u044b \u043d\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u043f\u043e\u0440\u0442\u044b \u0441 sim \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0430\u043c\u0438. \u0414\u043b\u044f \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0437\u0432\u043e\u043d\u043a\u043e\u0432 \u0441 <strong>addpac&#8217;<\/strong>a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u043d\u043e\u043c\u0435\u0440\u0430 <strong>881, 882<\/strong> (\u0431\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0437\u0430\u0432\u0435\u0434\u0435\u043d\u0438\u044f <strong>sip<\/strong> \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u043e\u0432!)<\/p>\n<p><strong>IP (asterisk)=10.5.5.253, IP(addpac)=10.5.5.252<\/strong><\/p>\n<p><!--more--><strong><span style=\"color: #ff0000;\">addpac<\/span><\/strong><\/p>\n<p>\u041f\u0440\u0438\u0432\u0435\u0434\u0443 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0442\u043e\u043b\u044c\u043a\u043e <strong>sip\/voip\/gsm<\/strong> \u0447\u0430\u0441\u0442\u0435\u0439, \u0431\u0435\u0437 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0441\u0435\u0442\u0438 \u0438 \u043f\u0440\u043e\u0447\u0435\u0433\u043e<\/p>\n<pre>voice service voip\r\n protocol sip\r\n dtmf-relay out-of-band\r\n fax protocol t38 redundancy 0\r\n fax rate 9600\r\n h323 call start fast\r\n h323 call tunnel enable\r\n no call-barring unconfigured-ip-address\r\n no voip-inbound-call-barring enable\r\n!\r\n! Voice port configuration.\r\n!\r\n! GSM\r\nvoice-port 0\/0\r\n connection plar 881\r\n ring detect-timeout 70\r\n caller-id enable\r\n caller-id type etsi\r\n caller-id name disable\r\n!\r\n!\r\n! GSM\r\nvoice-port 0\/1\r\n connection plar 882\r\n ring detect-timeout 70\r\n caller-id enable\r\n caller-id type etsi\r\n caller-id name disable\r\n!\r\n! service port group configuration.\r\n!\r\n! Pots peer configuration.\r\n!\r\ndial-peer voice 3048 pots\r\n destination-pattern .T\r\n port 0\/0\r\n call-waiting\r\n user-name gsm1\r\n user-password gsm1pass\r\n preference 2\r\n!\r\ndial-peer voice 3049 pots\r\n destination-pattern .T\r\n port 0\/1\r\n call-waiting\r\n user-name gsm2\r\n user-password gsm2pass\r\n preference 3\r\n!\r\n! Voip peer configuration.\r\n!\r\ndial-peer voice 10100 voip\r\n destination-pattern 88[12]\r\n session target ip 10.5.5.253\r\n session protocol sip\r\n voice-class codec 0\r\n no vad\r\n dtmf-relay rtp-2833\r\n description asterisk\r\n!\r\ngatekeeper\r\n!\r\n! Gateway configuration.\r\n!\r\ngateway\r\n h323-id voip.10.5.5.252\r\n no ignore-msg-from-other-gk\r\n!\r\n! Codec classes configuration.\r\n!\r\nvoice class codec 0\r\n codec preference 1 g711alaw\r\n codec preference 2 g711ulaw\r\n codec preference 3 g729\r\n codec preference 4 g7231r53\r\n codec preference 5 g726r16\r\n codec preference 6 g726r32\r\n!\r\n! SIP UA configuration.\r\n!\r\nsip-ua\r\n user-register\r\n sip-server 10.5.5.253\r\n called-party-number to-field\r\n register e164<\/pre>\n<p><strong><span style=\"color: #ff0000;\">asterisk<\/span><\/strong><\/p>\n<p><em><span style=\"color: #ff6600;\">sip.conf<\/span><\/em><\/p>\n<p><code>[gsm1]<br \/>\nusername=gsm1<br \/>\nsecret=gsm1pass<br \/>\ntype=friend<br \/>\ncontext=default<br \/>\ndtmfmode=rfc2833<br \/>\nhost=dynamic<br \/>\ndeny=0.0.0.0\/0.0.0.0<br \/>\npermit=10.5.5.252\/255.255.255.255<br \/>\n[gsm2]<br \/>\nusername=gsm2<br \/>\nsecret=gsm2pass<br \/>\ntype=friend<br \/>\ncontext=default<br \/>\ndtmfmode=rfc2833<br \/>\nhost=dynamic<br \/>\ndeny=0.0.0.0\/0.0.0.0<br \/>\npermit=10.5.5.252\/255.255.255.255<\/code><\/p>\n<p><em><span style=\"color: #ff6600;\">extensions.conf<\/span><\/em><\/p>\n<p><code>[default]<br \/>\ninclude =&gt; dph<br \/>\n[dph]<br \/>\nexten =&gt; _0XXXXXXXXX,1,Dial(SIP\/gsm1\/${EXTEN},120)<br \/>\nexten =&gt; _0XXXXXXXXX,n,HangUp()<br \/>\nexten =&gt; 881,1,Dial(SIP\/110,120)<br \/>\nexten =&gt; 881,n,HangUp()<\/code><\/p>\n<p><strong><span style=\"color: #ff0000;\">\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430<\/span><\/strong><\/p>\n<p>\u0414\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438, \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0432\u0441\u0451 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043e, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <strong>show sip<\/strong> \u043d\u0430 <strong>addpac&#8217;e:<\/strong><\/p>\n<pre>GS1002# show sip\r\n\r\nProxyserver Registration Information\r\n   proxyserver registration option = e164\r\n   Proxyserver list :\r\n      ---------------------------------------------------------------------------\r\n         Server address           Port    Priority  Domain   Status(LastFailReason)\r\n      ---------------------------------------------------------------------------\r\n        10.5.5.253                5060      128      any     Registered(E.164)(Rx:OtherMsg) \r\n\r\n   Proxy Server registration status :\r\n      -----------------------------------------------------------------------------------\r\n         E.164          UserName            Password            Port       Status\r\n      -----------------------------------------------------------------------------------\r\n         .T                gsm1              gsm1pass           0\/ 0      Registered\r\n         .T                gsm2              gsm2pass           0\/ 1      Registered<\/pre>\n<p>\u041a\u043b\u044e\u0447\u0435\u0432\u043e\u0435 \u0441\u043b\u043e\u0432\u0430 <strong>Registered<\/strong> \u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0442, \u0447\u0442\u043e \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u043f\u0438\u0440\u043e\u0432 \u043f\u0440\u043e\u0448\u043b\u0430 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0437\u0432\u043e\u043d\u0438\u0442\u044c.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u0438\u0432\u0435\u0434\u0443 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u043b\u044f \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0438 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0437\u0432\u043e\u043d\u043a\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 GSM \u00a0\u0448\u043b\u044e\u0437 Addpacc GS-1002. \u0422\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0441\u0434\u0435\u043d\u0434: asterisk 1.8, addpac gs-1002 \u0414\u043b\u044f \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0437\u0432\u043e\u043d\u043a\u043e\u0432 \u0437\u0430\u0432\u0435\u0434\u0435\u043d\u044b sip \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u044b gsm1\/gsm2 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0437\u0430\u0432\u044f\u0437\u0430\u043d\u044b \u043d\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u043f\u043e\u0440\u0442\u044b \u0441 sim \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0430\u043c\u0438. \u0414\u043b\u044f \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0437\u0432\u043e\u043d\u043a\u043e\u0432 \u0441 addpac&#8217;a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u043d\u043e\u043c\u0435\u0440\u0430 881, 882 (\u0431\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0437\u0430\u0432\u0435\u0434\u0435\u043d\u0438\u044f sip \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u043e\u0432!) IP (asterisk)=10.5.5.253, IP(addpac)=10.5.5.252<\/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-2593","post","type-post","status-publish","format-standard","hentry","category-telephony"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2593","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=2593"}],"version-history":[{"count":4,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2593\/revisions"}],"predecessor-version":[{"id":3293,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2593\/revisions\/3293"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}