{"id":65,"date":"2011-02-09T13:01:28","date_gmt":"2011-02-09T13:01:28","guid":{"rendered":"http:\/\/gigihfordanama.wordpress.com\/?p=65"},"modified":"2012-08-08T00:15:34","modified_gmt":"2012-08-08T00:15:34","slug":"asterisk-pabx-seru-coy","status":"publish","type":"post","link":"https:\/\/dosen.unila.ac.id\/gigih\/2011\/02\/09\/asterisk-pabx-seru-coy\/","title":{"rendered":"asterisk + PABX + Seru Coy&#8230;&#8230;.."},"content":{"rendered":"<p>Original Link : <a href=\"http:\/\/unilanet.unila.ac.id\/~gigih\/index.php?option=com_content&amp;task=view&amp;id=39&amp;Itemid=36\">http:\/\/unilanet.unila.ac.id\/~gigih\/index.php?option=com_content&amp;task=view&amp;id=39&amp;Itemid=36<\/a><\/p>\n<p>Setelah sekian lama ngoprekin VOIP server,\u00a0 http:\/\/voip.unila.ac.id<br \/>\nada tantangan baru yaitu gimana ceritanya si Server Bisa ngobrol dengan Mesin PABX analog Siemens Kepunyaan UNILA.<\/p>\n<p>Awalnya UNILA\u00a0 membelikan Wellgate 3504 A FXS\u00a0 untuk Gatewaynya, berhubung\u00a0 kalo ngoprekin FXS ini mesti ngobrol sama admin Siemens PABX<br \/>\npasti ribet dalam hal bikin trunk baru<\/p>\n<p>Bermodal akses ke internet, tanya ke mbah google, chatting sana sini<br \/>\nakhirnya hatiku tertuju pada card FXO yang murah meriah<br \/>\nYaitu Wild card X100P.<\/p>\n<p>OK lets Play&#8230;&#8230;&#8230;&#8230;.. babe&#8230;..  1: Install Trixbox. Please refer to\u00a0 www.trixbox.org for installation<br \/>\ninstructions.<br \/>\n<!--more--><br \/>\n2: Power off your computer and pull out the power cable. Insert the<br \/>\nAX-100p card into a spare\u00a0 PCI slot and secure it with a\u00a0 screw.<\/p>\n<p>3: Switch on\u00a0 your PC and type the following command in the Linux CLI<\/p>\n<p>[root]# genzaptelconf<br \/>\nTrixbox will now auto install the AX-100p driver and the following<br \/>\ninformation will be displayed on screen<\/p>\n<p>Loading wcfxo: wcfxo: DAA mode is \u201cFCC\u201d<br \/>\nFound a Wildcard FXO: Wildcard X100P.<\/p>\n<p>This indicates that AX-100p has been found by Trixbox.<\/p>\n<p>4:check the AX-100p status with the command line utility zttool.*<\/p>\n<p>\/\/ &lt;![CDATA[\/\/ &lt;![CDATA[<\/p>\n<p>var prefix = &#039;&#109;a&#039; + &#039;i&#108;&#039; + &#039;&#116;o&#039;;<br \/>\nvar path = &#039;hr&#039; + &#039;ef&#039; + &#039;=&#039;;<br \/>\nvar addy82273 = &#039;r&#111;&#111;t&#039; + &#039;&#064;&#039;;<br \/>\naddy82273 = addy82273 + &#039;v&#111;&#105;p&#039; + &#039;&#046;&#039; + &#039;&#117;n&#105;l&#097;&#039;;<br \/>\ndocument.write( &#039;<a>&#8216; );<br \/>\ndocument.write( addy82273 );<br \/>\ndocument.write( &#8221; );<br \/>\n\/\/ ]]&gt;[root]# zttool<\/p>\n<p>Genzaptelconf will also update the zapata-auto.conf file located within<br \/>\nthe etc\/asterisk directory. Another method of determining a successful<br \/>\ninstall is to check if this file resembles the one below.<\/p>\n<p>; Span 1: WCFXO\/0 &#8220;Wildcard X100P Board 1&#8221; RED<br \/>\nsignalling=fxs_ks<br \/>\n; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 1<br \/>\ncontext=from-pstn<br \/>\ngroup=0<br \/>\nchannel =&gt; 1<\/p>\n<p>5: Amend the Zapata.conf to include any customisations that you require.<\/p>\n<p>Possible additions include:<\/p>\n<p>echocancel=yes<br \/>\nechocancelwhenbridged=yes<br \/>\nechotraining=yes<\/p>\n<p>6: Configure an outbound call Trunk by modifying the default Trunk<br \/>\nZAP\/g0.This can be found at Trixbox &#8211; FreePBX &#8211; Trunk<br \/>\nInput\u00a0 your PSTN number in the Outbound Caller ID<br \/>\nSet the Maximum Channels to 1.<br \/>\nSet the Outbound Dial Prefix to 9<br \/>\nConfigure your Zap Identifier to 1 (this will change your AX-100p channels<br \/>\nfrom g0 to channel 1)<\/p>\n<p>* You may also wish to change the following in etc\/zaptel.conf<\/p>\n<p>loadzone = uk<br \/>\ndefaultzone = uk<\/p>\n<p>Further tests<\/p>\n<p>dmesg &#8211; check if the card has been detected correctly by Linux<br \/>\nlspci &#8211; check if the card is listed<\/p>\n<p>Tips<\/p>\n<p>Where possible ensure that the card has a unique IRQ. Where it has been<br \/>\nallocated a shared IRQ, enter your computer BIOS and change.<\/p>\n<p>ATCOM example installation instructions for an AX-100P card in an Asterisk<br \/>\nbased system<\/p>\n<p>From the command prompt on your Linux system, change directories to\u00a0 \/usr\/src<\/p>\n<p>&gt; cd \/usr\/src<\/p>\n<p>Download the latest CVS release of the Zapata, asterisk package<\/p>\n<p>&gt; export CVSROOT=:pserver:<\/p>\n<p>\/\/ &lt;![CDATA[\/\/ &lt;![CDATA[<\/p>\n<p>var prefix = &#039;&#109;a&#039; + &#039;i&#108;&#039; + &#039;&#116;o&#039;;<br \/>\nvar path = &#039;hr&#039; + &#039;ef&#039; + &#039;=&#039;;<br \/>\nvar addy28157 = &#039;&#097;n&#111;ncvs&#039; + &#039;&#064;&#039;;<br \/>\naddy28157 = addy28157 + &#039;cvs&#039; + &#039;&#046;&#039; + &#039;d&#105;g&#105;&#117;m&#039; + &#039;&#046;&#039; + &#039;c&#111;m&#039;;<br \/>\ndocument.write( &#039;<a>&#8216; );<br \/>\ndocument.write( addy28157 );<br \/>\ndocument.write( &#8221; );<br \/>\n\/\/ ]]&gt;<a href=\"mailto:anoncvs@cvs.digium.com\">anoncvs@cvs.digium.com<\/a><\/p>\n<p>This email address is being protected from spam bots, you need Javascript enabled to view it<br \/>\n:\/usr\/cvsroot<br \/>\n&gt; cvs login (password is anoncvs)<br \/>\n&gt; cvs checkout zaptel asterisk<\/p>\n<p>Compile all the packages in the following order: zaptel first, then asterisk<\/p>\n<p>&gt; cd \/usr\/src\/zaptel; make install<br \/>\n&gt; cd ..\/asterisk; make install<br \/>\n&gt; make samples<\/p>\n<p>Edit the configuration files detailed below and make sure that they<br \/>\ninclude the following:<\/p>\n<p>\/etc\/zaptel.conf<br \/>\nfxsks=1 ;AX-100P<br \/>\ndefaultzone=uk<br \/>\nloadzone=uk<\/p>\n<p>\/etc\/asterisk\/zapata.conf<br \/>\n[channels]<br \/>\nsignalling=fxs_ks<br \/>\ncontext=incoming<br \/>\nchannel=&gt;1 ; AX-100P<\/p>\n<p>\/etc\/asterisk\/extensions.conf<br \/>\n[incoming]<br \/>\nexten =&gt; s,1,Echo ;for testing the connection<br \/>\n;exten =&gt; s,1,Playback,demo-thanks ;for playing a file<\/p>\n<p>Load the appropriate modules<\/p>\n<p>&gt; modprobe zaptel<br \/>\n&gt; modprobe wcfxo<br \/>\n&gt; ztcfg -vv<\/p>\n<p>Note: You may run &#8220;make configs&#8221; in \/usr\/src\/zaptel to install boot-up<br \/>\nscripts so that you don&#8217;t have to modprobe the drivers manually. That<br \/>\nworks well for RedHat 9.0.<\/p>\n<p>The installation is now complete and you can now run Asterisk<\/p>\n<p>&gt; asterisk -vvvc<\/p>\n<p>You can now test the\u00a0 analogue phone line connected to the AX-100P and you<br \/>\nshould be able to hear yourself (with the Echo application) or play a file<br \/>\n(with Playback application).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Original Link : http:\/\/unilanet.unila.ac.id\/~gigih\/index.php?option=com_content&amp;task=view&amp;id=39&amp;Itemid=36 Setelah sekian lama ngoprekin VOIP server,\u00a0 http:\/\/voip.unila.ac.id ada tantangan baru yaitu gimana ceritanya si Server Bisa ngobrol dengan Mesin PABX analog Siemens Kepunyaan UNILA. Awalnya UNILA\u00a0 membelikan Wellgate 3504 A FXS\u00a0 untuk Gatewaynya, berhubung\u00a0 kalo ngoprekin FXS ini mesti ngobrol sama admin Siemens PABX pasti ribet dalam hal bikin trunk baru &hellip; <a href=\"https:\/\/dosen.unila.ac.id\/gigih\/2011\/02\/09\/asterisk-pabx-seru-coy\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;asterisk + PABX + Seru Coy&#8230;&#8230;..&#8221;<\/span><\/a><\/p>\n","protected":false},"author":25,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1348,5],"tags":[],"class_list":["post-65","post","type-post","status-publish","format-standard","hentry","category-kiat-sukses-menjadi-seorang-network-engineer-2","category-old-post-dari-unilanet"],"_links":{"self":[{"href":"https:\/\/dosen.unila.ac.id\/gigih\/wp-json\/wp\/v2\/posts\/65"}],"collection":[{"href":"https:\/\/dosen.unila.ac.id\/gigih\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dosen.unila.ac.id\/gigih\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dosen.unila.ac.id\/gigih\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/dosen.unila.ac.id\/gigih\/wp-json\/wp\/v2\/comments?post=65"}],"version-history":[{"count":0,"href":"https:\/\/dosen.unila.ac.id\/gigih\/wp-json\/wp\/v2\/posts\/65\/revisions"}],"wp:attachment":[{"href":"https:\/\/dosen.unila.ac.id\/gigih\/wp-json\/wp\/v2\/media?parent=65"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dosen.unila.ac.id\/gigih\/wp-json\/wp\/v2\/categories?post=65"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dosen.unila.ac.id\/gigih\/wp-json\/wp\/v2\/tags?post=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}