{"id":139,"date":"2011-02-09T15:44:54","date_gmt":"2011-02-09T15:44:54","guid":{"rendered":"http:\/\/gigihfordanama.wordpress.com\/?p=139"},"modified":"2012-08-08T00:14:11","modified_gmt":"2012-08-08T00:14:11","slug":"develop-voip-server-on-ubuntu-7-10","status":"publish","type":"post","link":"https:\/\/dosen.unila.ac.id\/gigih\/2011\/02\/09\/develop-voip-server-on-ubuntu-7-10\/","title":{"rendered":"Develop VoIP server on Ubuntu 7.10"},"content":{"rendered":"<pre>Distro Linux yang digunakan : Ubuntu server 7.10\nVersi Kernel                : 2.6.22-14-server<\/pre>\n<pre>Download ippbx-src-p4-0.1.tar.gz from <a href=\"http:\/\/www.voiprakyat.or.id\/pub\">http:\/\/www.voiprakyat.or.id\/pub<\/a><\/pre>\n<pre>Login as root and follow steps below:\n\tnotes:\n\t- you are required to connect your Ubuntu server to the Internet\n\t- for fast update and upgrade please configure your apt source\n\t  to the fastest reachable server\n\t- in this tutorial you are assumed using Intel Pentium 4\n\t- some of your installed apache server configuration will be changed\n\t- you are recommended to use fresh install of Ubuntu server 7.10\n\t  (you will later update and upgrade this server)<\/pre>\n<pre>Edit  apt-source.list<\/pre>\n<pre>point to IIX Server,<\/pre>\n<pre>========================================================================================<\/pre>\n<pre>## REPOSITORY UTAMA\ndeb http:\/\/kambing.ui.edu\/ubuntu gutsy main restricted universe multiverse\ndeb-src http:\/\/kambing.ui.edu\/ubuntu gutsy main restricted universe multiverse\n\n## INI UNTUK MAJOR BUG FIX UPDATES\ndeb http:\/\/kambing.ui.edu\/ubuntu gutsy-updates main restricted universe multiverse\ndeb-src http:\/\/kambing.ui.edu\/ubuntu gutsy-updates main restricted universe multiverse\n\n## INI UNTUK UBUNTU SECURITY UPDATES\ndeb http:\/\/kambing.ui.edu\/ubuntu gutsy-security main restricted universe multiverse\ndeb-src http:\/\/kambing.ui.edu\/ubuntu gutsy-security main restricted universe multiverse<\/pre>\n<pre>========================================================================================<\/pre>\n<pre>apt-get update\napt-get upgrade<\/pre>\n<p>apt-get install mc build-essential libncurses5-dev libssl-dev libmysqlclient15-dev<\/p>\n<pre>apt-get install linux-headers-`uname -r` apache2 php5 php5-cli php-pear php-db\napt-get install php5-gd php5-mysql mysql-server openssh-server curl sox subversion\n\tnote:\n\tput 'rahasia' (without quote) as mysql server root password\n\tplease remember that this is only for the sake of following this manual\n\tlater on you have to change it to your own password\n\ntar -zxf asterisk-sounds-0.1.tar.gz\ntar -zxf zaptel-firmware-0.1.tar.gz\n\ntar -zxf libpri-1.4.3.tar.gz\ncd libpri-1.4.3\nmake\nmake install\ncd ..\/\n\ntar -zxf zaptel-1.4.8.tar.gz\ncd zaptel-1.4.8\n.\/configure\nmake menuconfig\n\tnote:\n\tselect all options on \u2018Utilities\u2019\n\tpress x to save selections\ncp ..\/zaptel-firmware-0.1\/firmware\/* firmware\/\nmake\nmake install\nmake config\ncd ..\/\n\ntar -zxf asterisk-1.4.17.tar.gz\ncd asterisk-1.4.17\n.\/configure\nmake menuconfig\n\tnote:\n\tremove chan_mgcp, chan_phone, chan_oss, chan_skinny from \u2018Channel Drivers\u2019\n\tremove codec_adpcm, codec_a_mu, codec_lpc10 from \u2018Codec Translators\u2019\n\tselect EXTRA-SOUNDS-EN-GSM from 'Extras Sound Packages'\n\tpress x to save selections\ncp ..\/asterisk-sounds-0.1\/sounds\/* sounds\/\nmake\nmake install\nmake samples\ngenzaptelconf\n\tnote:\n\tgenzaptelconf is part of zaptel package, but make sure to execute this after\n\tinstalling asterisk\ncd ..\/\n\ntar -zxf asterisk-addons-1.4.5.tar.gz\ncd asterisk-addons-1.4.5\n.\/configure\nmake menuconfig\n\tnote:\n\tremove chan_ooh323 from \u2018Asterisk Addon Modules\u2019\n\tmake sure the rest is selected\nmake\nmake install\nmake samples\ncd ..\/\n\ntar -zxf codec-g723-g729-p4-0.1.tar.gz\ncd codec-g723-g729-p4-0.1\ncp codec_g729-ast14-gcc4-glibc-pentium4.so \/usr\/lib\/asterisk\/modules\/codec_g729.so\ncp codec_g723-ast14-gcc4-glibc-pentium4.so \/usr\/lib\/asterisk\/modules\/codec_g723.so\ncd ..\/\n\nuseradd -s \/bin\/false -m asterisk\n\tnote:\n\tdefault shell is \/bin\/false and create a home directory (needed by FOP)\n\nmcedit \/etc\/apache2\/apache2.conf\n\tnote:\n\tlook for this lines:\n\t    User www-data\n\t    Group www-data\n\tand change to below lines:\n\t    User asterisk\n\t    Group asterisk\n\na2enmod php5\n\/etc\/init.d\/apache2 restart\n\nchown asterisk.asterisk \/etc\/asterisk -R\nchown asterisk.asterisk \/usr\/lib\/asterisk -R\nchown asterisk.asterisk \/var\/lib\/asterisk -R\nchown asterisk.asterisk \/var\/log\/asterisk -R\nchown asterisk.asterisk \/var\/spool\/asterisk -R\n\nmcedit \/etc\/asterisk\/asterisk.conf\n\tnote:\n\tlook for astrundir path like this line:\n\t    astrundir =&gt; \/var\/run\n\tand change it to:\n\t    astrundir =&gt; \/var\/log\/asterisk\n\nasterisk -U asterisk -G asterisk\n\nmysqladmin -u root -p password rahasia\n\tnote:\n\tlets make sure that you change the mysql server root password\n\t'rahasia' (without quote) is a password chosen for testing purposes only\n\nmysqladmin -u root -p create asterisk\nmysqladmin -u root -p create asteriskcdrdb\n\ntar -zxf freepbx-2.3.1.tar.gz\ncd freepbx-2.3.1\nmysql -u root -p asterisk &lt; SQL\/newinstall.sql\nmysql -u root -p asteriskcdrdb &lt; SQL\/cdr_mysql_table.sql\n.\/install_amp\n\tnote:\n\tQ: Enter your USERNAME to connect to the 'asterisk' database:\n\tA: root\n\tQ: Enter your PASSWORD to connect to the 'asterisk' database:\n\tA: rahasia\n\tQ: Enter the path to use for your AMP web root:\n\tA: \/var\/www\n\tQ: Enter the IP ADDRESS or hostname used to access the AMP web-admin:\n\tA: &lt;your server IP address&gt;\n\tChange above IP address to your own IP\n\nln -s \/usr\/local\/sbin\/amportal \/etc\/init.d\/amportal\nupdate-rc.d amportal defaults\ncd ..\/\n\nrm -f \/etc\/asterisk\/extensions.conf\nrm -f \/etc\/asterisk\/sip.conf\nrm -f \/etc\/asterisk\/iax.conf\nrm -f \/etc\/asterisk\/zapata.conf\n\nmcedit \/etc\/asterisk\/zapata.conf\n\tnote:\n\ttype below lines and save the file:\n\t    [trunkgroups]\n\t    [channels]\n\t    #include zapata-channels.conf\n\nchown asterisk.asterisk \/etc\/asterisk\/zapata.conf\n\n\/etc\/init.d\/amportal start\n\nbrowse FreePBX admin web page, http:\/\/&lt;your server IP address&gt;\/admin (please use Firefox)\nand click 'Apply Configuration Changes' on top of the page\n\nmcedit \/etc\/asterisk\/sip.conf\n\tnote:\n\tlook for lines like below:\n\t    disallow=all\n\t    allow=ulaw\n\t    allow=alaw\n\tand change them to:\n\t    disallow=all\n\t    ; enable g729 and gsm only when you have remote agents (from internet)\n\t    ;allow=g729\n\t    ;allow=gsm\n\t    allow=ulaw\n\t    allow=alaw\n\t    ; enable below options for video support (now disabled)\n\t    ;allow=h264\n\t    ;allow=h263p\n\t    ;allow=h263\n\t    ;videosupport=yes\n\t    ;maxcallbitrate=128\n\nmcedit \/etc\/asterisk\/iax.conf\n\tnote:\n\tlook for lines like below:\n\t    disallow=all\n\t    allow=ulaw\n\t    allow=alaw\n\t    allow=gsm\n\tand change them to:\n\t    disallow=all\n\t    ; enable g729 and gsm only when you have remote agents (from internet)\n\t    ;allow=g729\n\t    ;allow=gsm\n\t    allow=ulaw\n\t    allow=alaw\n\nasterisk -rx \"reload\"<\/pre>\n<pre>Credit Point to Anton Raharja<\/pre>\n<pre><a href=\"http:\/\/www.antonraharja.web.id\/\">http:\/\/www.antonraharja.web.id <\/a><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Distro Linux yang digunakan : Ubuntu server 7.10 Versi Kernel : 2.6.22-14-server Download ippbx-src-p4-0.1.tar.gz from http:\/\/www.voiprakyat.or.id\/pub Login as root and follow steps below: notes: &#8211; you are required to connect your Ubuntu server to the Internet &#8211; for fast update and upgrade please configure your apt source to the fastest reachable server &#8211; in this &hellip; <a href=\"https:\/\/dosen.unila.ac.id\/gigih\/2011\/02\/09\/develop-voip-server-on-ubuntu-7-10\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Develop VoIP server on Ubuntu 7.10&#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-139","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\/139"}],"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=139"}],"version-history":[{"count":0,"href":"https:\/\/dosen.unila.ac.id\/gigih\/wp-json\/wp\/v2\/posts\/139\/revisions"}],"wp:attachment":[{"href":"https:\/\/dosen.unila.ac.id\/gigih\/wp-json\/wp\/v2\/media?parent=139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dosen.unila.ac.id\/gigih\/wp-json\/wp\/v2\/categories?post=139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dosen.unila.ac.id\/gigih\/wp-json\/wp\/v2\/tags?post=139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}