4 Knowledge Base

 

 TelecomTrainning.net > Knowledge Base
 Viewing KB Article
Good Morning, - 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?
what is the difference between E1 signal & Ethernet signal ?
How do I monitor SS7 Traffic in spectra2?
Can you tell me about PBGT?
Explain me the difference between a repeater, bridge and router? Relate this to the OSI model.
What is the difference between BRI & PRI ?
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 BSC?
What is demarc point?
Can any one explain me how sms flow will work using ss7 network ?( from physical layer to application layer)
why cellphone towers are painted in red and white?
Explain SLTA and SLTM messages in MTP3?
Hi guys what is WAP?
wat is the difference betweem MSC & GMSC, & MSS & GCS?
what is EDAp? what is the functions of EDAP?
What is a circuit id?
what is sdh?

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
What is default admin distance for EIGRP protocol?
 
Hi guys what is the routing algorithm used by RIP?
Can someone describe the Bandwidth Delay problem?


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