You are on page 1of 19
442015 ‘Asterisk instalation on Debian 7 (Wheezy) EIB English | Mi Deutsch —Loginor Son up [J rata | es terns coats sibs Q Tutorial search ‘Tutorials Asterisk Installation on Debian 7 (Wheezy) Asterisk Installation on Debian 7 (Wheezy) Introduction This paper provide installation instructions for Debian linux 7 & Asterisk on a new platform. Components: 1. Debian Linux : latest version can be obtained from (http://cdimage.debian.org/debian- d/7..1.0/amd64/iso-dvd/). There will be more than one CD image on the website, only download the first CD the additional software on CD 283 can be downloaded during installation from within linux if needed. 2. Asterisk : is an open free platform for building communication systems. Latest stable version can be obtained from (http://wwnw.asterisk.org/downloads/asterisk/all-asterisk-versions) and then choose the suitable certified version or from the command line after setting up linux and issue the below command line: (wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11- current.tar.gz). Along with Asterisk platform, an extra two packages need to be downloaded from i, DAHDI Library : used for managing ‘communication interfaces (wget WhatsChat Get whatsay numbers fram women near you http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete- 2.6.1+2.6.1.tar.g2) nip stwivw-howtoforge.comstersk-instalation-on debian 7-wheezy 9 42015 ‘Asterisk instalation on Debian 7 (Wheezy) ii, LIBPRI Library: LIBPRI is an open source library that encapsulates the protocols used to ‘communicate over ISDN Primary Rate Interfaces (T1, £1, J1). LIBPRI is a dependency for Asterisk and DAHDI if PRI signaling is used. (wget http://ownloads.asterisk.org/pub/telephony/libpriflibpri- 1.4-current.tar.gz) Linux Installation 1- Bum the downloaded ISO image of latest Linux platform to a DVD or a CD (depending on the size), and insert it into the machine and make sure to boot from the CD drive. 2- After booting, you'll be greeted with the installation splash screen as per the Figure 1-1 below, select first option “install” Taye U bit apaeilien duyhGaae TSE Ee ee eae ee aeons Fig 1-1 [first screen] 3- On the next screen “Language Screen” Select “English” and continue [Fig 1-2 Language screen] nip stwivw-howtoforge.comstersk-instalation-on debian 7-wheezy eH Install with) speech synthesis 29 ‘Asterisk instalation on Debian 7 (Wheezy) Fig 1-2 4- On the next screen "Select your location” choose the country you are in (Jordan); or you can leave it as US and fix it later from within the system. Fig 1-3, Fig 1-4 ‘5+ On The next screen "system locale” select the keyboard defaults (same as on screen). Fig 1-5 nip stwivw-howtoforge.comstersk-instalation-on debian 7-wheezy a9 42015 ‘Asterisk instalation on Debian 7 (Wheezy) Fig 1-5 6- Configure the keyboard region by dicking enter Fig 1-6 Fig 1-6 nip stwivw-howtoforge.comstersk-instalation-on debian 7-wheezy 419 42015 Asterisk Installation an Debian 7 (Wheezy) 7- Debian will begins installation, set back and wait for it to request the next action (Fig 1-7) = Loading” adaltoqak careers ——Ss Retrieving pertuen-ef Fig 1-7 8- Next you'll setup your network configuration (actual settings may differ from the figures below) figure 1-8..1-11 Fig 1-8 Fig 1-9 tripe howtoforge.comasterisk-instalation-on debian 7-wheezy 519 42015 Asterisk Installation an Debian 7 (Whey) Fig 1-10 Fig 1-11 9- Next screen you'll be prompted to enter the Root password, make su password. Fig 1-12 tripe howtoforge.comasterisk-instalation-on debian 7-wheezy /ou enter a complex ang 42015 Asterisk Installation on Debian 7 (Weezy) Tit) Sev uy Users: and pase You neal ta set a password fon ‘ncot’, the custen administrative account. A maticious a» Unqualified User with root cecess can have dicassrous results, <0 4ou should take care <0 (iotee a fect pescuord that ie not e2cuj to cules Tt clould ct be a word found in ictionaries, or Word that coulG be exsilu/essocisten with vou, good gassuerd will contain a misture cf setters, runters and punctuation and should be Erarged at negulan intervals. The root user stould fot have en enoty password. Tf you leave this empty) the root Geecint will be disebled and the custemS initial user account WIIL Ge given the poser <0 Bicone coat using the "cus! comand, Note thet JOU Wiui nok be able to see te rescbord es LOU tue It aot passuore: Gontinuss Pia 10- Next screen will request to confirm the root password from previous screen. 11- Next will be prompted to add a normal user to the system and enter a password for this user as per figure 1-13 and 1-14 TINT Se up Users ane passions Select = Ucerveme fer wie neW account. Your 41st fens Je © rescanstie choice, ine serra should etart with a loven-cate letten, ubieh can fe fallowed by sny Conbivation if umters and nere lover-cese letters serra for our account: 77, SS continue) enn tripe howtoforge.comasterisk-instalation-on debian 7-wheezy 42015 Asterisk Installation on Debian 7 (Weezy) > 1 set un users and pessvorss fs good paesword ui] eantein a nisture of Letters, nuebere and punctuation and’ should be Changed at resuten Intervals. Dinose « fessinrd fer the ne cer Go Beck 12- Next will be prompted to setup disk partition, choose "Gui jed, use entire disk” Fig 1-15 Fig 1-15 13- Glick next on the following screens of the disk partition until system starts installation of files 14- System will start installation as per figure 1-16 nip stwivw-howtoforge.comstersk-instalation-on debian 7-wheezy ang 42015 Asterisk Installation on Debian 7 (Weezy) telling the base swsten Unpacking ibeo:ands Fig 1-16 15- vill be prompted to choose the package manager; the package manager will be Tayerrmuren ees The eal ie to Find = mirror of the archive thet ie clese toluou on the retiory = be aisre that nearby countries, or vei wur oin, mau not te the Dest choice. ‘ein archive mionen country: Eangladesh Bosnia ano Her Blears (nade oh hire Colobia Goats les Croatia Re Estonia Finiond fr French eolunesia een l Fig 1-17 16- Apt configuration will start immediately after previous screen as per Fig 1-18 below nip stwivw-howtoforge.comstersk-instalation-on debian 7-wheezy 42015 Asterisk Installation on Debian 7 (Weezy) Toneisunine at SE Retrieving tile 5 oF § Fig 1-18 17- Glick “NO” on the popularity-contest screen Fig 1-19 THT fonfiginine polar tu-contest ye sistem nau) aronumousiy Sippy the distiabutlor deveopers wlth stetistlcs atout the nest used cackages en this susten, This infensat len inflierces decisions cuch a uilch jee sfould co en the first dictrigution cv. Tf cy chocse to erticinete, the autcsetic sulmiccicn coriot will run once every week. Sending stetistics to the dictnibuiien developens, Te collected ctctistics ean be Viewee or http://eopcon.debion.oré/- This cheiee ean be laten godited by runrine “doks-neconf laure nenuzarstu-contest" Particinate in the reckage usage survey? Fig 1-19 18- After s options, make sure t St the movent, only the core of the susten is instelled. To ture the susten to vour f the felloving predefined cellectione of <6) BCI Fig 1-20 tripe howtoforge.comasterisk-instalation-on debian 7-wheezy 42015 Asterisk Installation on Debian 7 (Wheezy) 19- In the final steps, you'll be presented with the installation of the GRUB loader which is a utility for Linux boot system, select “YES” and continue as per fig 1-21 TH] nstali the GRUB bast doeder on a hand ish Tt sears that duis feu installation is the Giiy oreretire > same as DAHDI issue the next commands : apt-get, install ibpril.4 5. Finally we will start building and installing Asterisk package, first well navigate to the Asterisk folder, after that welll start the following ‘a, Well first need to issue the command: ./configure the end result will be as in Fig 5-1. Fig 5-1.1 b. Next well issue "make menuselect” to select mysql_cdr from the menu as per Fig 5-1,2 tripe howtoforge.comasterisk-instalation-on debian 7-wheezy 1919 42015 Asterisk Installation on Debian 7 (Wheezy) /—J Asterisk Module ond Build option Selection FP] CORRES Call Detail Recording Channel Drivers Codec Transtators Format interpreters Dialplan Functions PBX Wodules Resource HoduLes Test Modules app_elarmreceiver app_end app_euthenticate ‘app_cdr app chanisavail ‘app_channetret ‘app_chanspy app_controlplaybeck ect. ee oe ds on: res_adsi(M) n use: N/A ts with: N/A . Finally welll build and install the asterisk package by issuing the commands “make” and “make e final result will be as per the Fig 5-1.3 & Fig 5-1.4 Asterisk, type: #make samples. e, Now that you have Asterisk compiled and installed, the last step is to install the initialization script, or initscript. This script starts Asterisk when your server starts, and can be used to stop or tripe howtoforge.comasterisk-instalation-on debian 7-wheezy 1619 sano1s ‘Asersk Installation on Debian 7 (Wheezy) restart Asterisk as well. To install the initscript, use the make config command, f. As your Asterisk system runs, it will generate logfiles. It is recommended to install the logrotation script in order to compress and rotate those files, to save disk space and to make searching them or cataloguing them easier. To do this, use the make install-logrotate command.g. To check if Asterisk is running, you can use the Asterisk initscript. Using command /etcyinit.d/asterisk status or restart h. Congratulations on installing Asterisk, reboot your machine. For more information on setting up and installing Asterisk check out the following links: https: //wiki.asterisk.org/wiki/display/AST/Asterisk+Packages http://ofps.oreilly.com/titles/97814493324266/asterisk-Install.html#fInstalling_id291699 http://www.atcom.cn/AXE2D.html Bview as pdf | @ print Share this page: | Tweet (42 Recommend {0 B36 2 Comment(s) Add comment Name * Email * 6 AlBll ‘Submit comment reCAPTCHA Comments From: thetlo at: 2014-11-20 10:42:49 Reply ‘Thanx for this howto, But Asterisk is already in debian, in stable, wheezy-backports, jessie and sid. Inipstmivn-howtoforge.comistersk-instalation-on debian 7-wheezy am sn01s ‘Asterisk Installation on Debian 7 (Wheezy) May its also handy to show this here. ‘on a wheezy system and you want Asterisk, you can do. debian wheezy: apt-get install asterisk (1.8.13.1) ‘Add the wheezy-backports for this one: wheezy-backports: apt-get install t wheezy-backports asterisk ( 1.13.0 ) and lastest version from sid... (13.0.0) ‘Add the sid sources, apt-get build-dep asteriks apt-get source asteriks -b dpkg -i... the debs. or add the "dir" to your apt sources. and install with apt-get. Pro of this is, when you upgrade from wheezy to jessie or later on the new testing/sid its al already in Debian, so upgradeing is much easier. From: telly METIVIER at: 2015-03-21 14:11:52 Reply This post was helpfull for me,now i look on how to configure voicemail to email on asterisk. Could someone provide a link on how to make it please. Thanks! Create a Facebook profile sign up for free and connect to the world Sign up now! g. & Tutorial Info Author: Mensrea Published Nov 12, 2014 Updated: Nov 12, 2014 Tags: linux, other, debian Iniptmivw-howtoforge.comstersk-instalation-on debian 7-wheezy 19 42015 ‘Asterisk instalation on Debian 7 (Wheezy) @ Share This Page Tweet 42 Download a free audiobook today 150,000+ audiobooks &» audible ~~“ an amazon company Xenforo skin by Xe Contact Help Imprint Howtoforge © projektfarm GmbH, Terms nip twin howtoforge.comstersk-instalation-on debian 7-wheezy r919

You might also like