4 Knowledge Base

 

 TelecomTrainning.net > Knowledge Base
 Viewing KB Article
Good Afternoon, - Please register or - log-in to your account.
Search
Search   Saved Questions   Ask a question
Keywords 
 
Available categories
LTE
100 of Questions in LTE
CCNA Certification
CCNA Sample Q & A (1000 + Q &A)
(Network +) Certification
(Network +) Sample Q & A (1000 + Q &A)
Networking
General/Interview Q& A on Networking
Home Networking
General/Interview Q& A on Networking
VOIP, SIP & Asterisk
Q & A on VOIP,Ethereal, SIP & Asterisk
Telecom Test Equipments
Q & A on Telecom Test Equipment
PSTN / Wireline
General / Interview Q & A on PSTN / Wireline
LTE, Wireless, 3G ,Diameter and HSS
General/Interview Q & A on LTE, Wireless, 3G ,Diameter and HSS
Telecom General
Any Q & A in Telecom in General

Top Questions
Friends, Describe Secure storage and distribution of A-Keys?
How do I monitor SS7 Traffic in spectra2?
what is the difference between E1 signal & Ethernet signal ?
Explain me the difference between a repeater, bridge and router? Relate this to the OSI model.
What is the difference between BRI & PRI ?
Can you tell me about PBGT?
Guys what is the purpose of Umbrella Cell Approach in GSM ?
how can we explain media gateway in MSc?
What is GGSN?
What is the difference between Electrical-tilt and Mechanical-tilt of an antenna?
What is demarc point?
What is BSC?
Can any one explain me how sms flow will work using ss7 network ?( from physical layer to application layer)
Explain SLTA and SLTM messages in MTP3?
why cellphone towers are painted in red and white?
Hi guys what is WAP?
what is EDAp? what is the functions of EDAP?
wat is the difference betweem MSC & GMSC, & MSS & GCS?
what is sdh?
What is a circuit id?

Can anyone tell me,How to compile and install Asterisk files?
willie_jameson 05-August-2008 02:17:28 PM

Comments


To get started, if you are running a new installation of Linux, you will need to resolve a few external dependencies before attempting to compile Asterisk from source code.

voip:/usr/src# apt-get install build-essential libssl-dev zlib1g-dev libncurses5-dev

Using Debian one can use apt-get to acquire the necessary packages. Other Liunx distros should use similar package names.

Download the latest 1.4 version of Asterisk from ftp.digium.com.

Note: Asterisk version 1.4.0 does have its issues, which can be show stoppers for larger installations. For this series of How To’s we will focus on Asterisk version 1.4.

Extract and compile the Asterisk source:

voip:/usr/src# tar zxf asterisk-1.4-current.tar.gz
voip:/usr/src# cd asterisk-1.4.0
voip:/usr/src/asterisk-1.4.0# ./configure

The configure process will take a few minutes. When complete you can start building Asterisk.

voip:/usr/src/asterisk-1.4.0# make install

The compile process can take a little while, so go find yourself something to drink while the compiler does its magic.

Now that you are refreshed, we can get to configuring Asterisk.

The default configuration directory of Asterisk is /etc/asterisk/. We will need to create the following files.

logger.conf
modules.conf
sip.conf
extensions.conf
voicemail.conf

There are many many other configuration files, but only the above are required for our minimal configuration.

All Asterisk config files are very similar to .ini files. This makes for simple machine and human usage. For example:

[sample]
keyword=value.

This would be considered the sample context and the keyword would be set to value.

Create each Asterisk config file.

logger.conf - Establishes the types of messages that you see on the CLI, Syslog or in discreet files. We will start by only sending messages just to the Asterisk CLI (console)

[logfiles]
console = warning,notice,error

This instructs Asterisk to display the warning, notice and error message types. There is also a debug message type, however the amount of information that is generated is usually only interesting to a developer or someone attempting to diagnose a problem.

modules.conf - Instructs Asterisk which modules get loaded.

[modules]
autoload=yes
How To Configure Asterisk: Your First Installation

More advanced configurations of Asterisk can disable the loading of specific modules. For this configuration the autoloading of modules is the simplest method to get started.
Posted by sagitraz


# cd /usr/src/asterisk-1.2.9.1
# make clean
# make mpgl23
# make
# make install
# make samples

Posted by suresh123

Q&A Rating

Q&A Rating
Rate This Question and Answer

Related Questions
Plz explain the function of RAID?
 
Hi, Discuss A better A-Keys management solution?
Hello friends in Win 2000 I can delete items by dragging them into the Recycle Bin. While dragging the file to be deleted into the Recycle Bin what key must I press so the item is deleted from my computer without being stored in the Recycle Bin?
 


Search questions via popularity
Top viewed questions  Top emailed questions  Most printed questions  Most saved questions
 
Copyright © Telecom Training, All Rights Reserved