Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] quickstart


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
hawat.thufir at gmail.com
Guest





PostPosted: Tue Jun 17, 2014 2:05 am    Post subject: [asterisk-users] quickstart Reply with quote

I have the Asterisk book, it's enormous, the 4th edition as per
http://www.asteriskdocs.org/.

I'd like to do something like:

http://www.voip-info.org/wiki/view/Asterisk+quickstart

just to have two hardphones act as extensions and call each other. Is
that a reasonable first task?

I'm looking for the simplest litmus test for functionality possible.



thanks,

Thufir

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
rainer.piper at soho-p...
Guest





PostPosted: Tue Jun 17, 2014 5:14 am    Post subject: [asterisk-users] quickstart Reply with quote

Am 17.06.2014 09:04, schrieb thufir:

Quote:
I have the Asterisk book, it's enormous, the 4th edition as per http://www.asteriskdocs.org/.

I'd like to do something like:

http://www.voip-info.org/wiki/view/Asterisk+quickstart

just to have two hardphones act as extensions and call each other. Is that a reasonable first task?

I'm looking for the simplest litmus test for functionality possible.



thanks,

Thufir

Hi ... this script will get you up and running on a debian7 distribution.

<code>
#!/bin/sh
apt-get update && apt-get upgrade -y
asteriskversion=asterisk-12.3.2
apt-get install -y linux-headers-`uname -r`
apt-get install -y build-essential
apt-get install -y wget
apt-get install -y libssl-dev
apt-get install -y libncurses5-dev
apt-get install -y libnewt-dev
apt-get install -y libxml2-dev
apt-get install -y libsqlite3-dev
apt-get install -y libjansson-dev
apt-get install -y git
ln -s /usr/src/linux-headers-`uname -r` /usr/src/linux
cd /usr/src
## pjsip installieren
git clone https://github.com/asterisk/pjproject pjproject
cd /usr/src/pjproject
./configure --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr

## um IPv6 Support in pjsip einzuschalten, muss das CFLAGS='-DPJ_HAS_IPV6=1' angegeben werden !!!!
# !!!!!!!!!!!!!!!!!!!! IPV6 is turned off at default !!!!!!!!!!!!!!!!!!!!!
#./configure CFLAGS='-DPJ_HAS_IPV6=1' --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
make dep
make
make install
ldconfig
### check inst.
# ldconfig -p | grep libpj
## System vorbereiten
## download Asterisk
if [ ! -f /usr/src/$asteriskversion.tar.gz ] ; then
wget http://downloads.asterisk.org/pub/telephony/asterisk/$asteriskversion.tar.gz
fi
if [ ! -d /usr/src/$asteriskversion ] ; then
tar xvzf $asteriskversion.tar.gz
fi
## erforderliche libs installieren
/usr/src/$asteriskversion/contrib/scripts/install_prereq install
## optional
/usr/src/$asteriskversion/contrib/scripts/get_mp3_source.sh
/usr/src/$asteriskversion/contrib/scripts/get_ilbc_source.sh
gcc -O2 /usr/src/$asteriskversion/contrib/utils/rawplayer.c -o /usr/bin/rawplayer
## asterisk installieren
cd /usr/src/$asteriskversion
./configure
make menuconfig
make
make install
make samples
make config
make install-logrotate
</code>


--
Rainer Piper
Integration engineer
Koeslinstr. 56
53123 BONN
GERMANY
Phone: +49 228 97167161
Back to top
dreamer.binary at gmai...
Guest





PostPosted: Tue Jun 17, 2014 6:10 am    Post subject: [asterisk-users] quickstart Reply with quote

hi, sorry all you are asking is to have 2 internal phones call each other?
the hardphones you are talking about what kind of phones are?
 



On Tue, Jun 17, 2014 at 1:14 PM, Rainer Piper <rainer.piper@soho-piper.de (rainer.piper@soho-piper.de)> wrote:
Quote:
Am 17.06.2014 09:04, schrieb thufir:

Quote:
I have the Asterisk book, it's enormous, the 4th edition as per http://www.asteriskdocs.org/.

I'd like to do something like:

http://www.voip-info.org/wiki/view/Asterisk+quickstart

just to have two hardphones act as extensions and call each other. Is that a reasonable first task?

I'm looking for the simplest litmus test for functionality possible.



thanks,

Thufir

Hi ... this script will get you up and running on a debian7 distribution.

<code>
#!/bin/sh
apt-get update && apt-get upgrade -y
asteriskversion=asterisk-12.3.2
apt-get install -y linux-headers-`uname -r`
apt-get install -y build-essential
apt-get install -y wget
apt-get install -y libssl-dev
apt-get install -y libncurses5-dev
apt-get install -y libnewt-dev
apt-get install -y libxml2-dev
apt-get install -y libsqlite3-dev
apt-get install -y libjansson-dev
apt-get install -y git
ln -s /usr/src/linux-headers-`uname -r` /usr/src/linux
cd /usr/src
## pjsip installieren
git clone https://github.com/asterisk/pjproject pjproject
cd /usr/src/pjproject
./configure --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr

## um IPv6 Support in pjsip einzuschalten, muss das CFLAGS='-DPJ_HAS_IPV6=1' angegeben werden !!!!
# !!!!!!!!!!!!!!!!!!!! IPV6 is turned off at default !!!!!!!!!!!!!!!!!!!!!
#./configure CFLAGS='-DPJ_HAS_IPV6=1' --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
make dep
make
make install
ldconfig
### check inst.
# ldconfig -p | grep libpj
## System vorbereiten
## download Asterisk
if [ ! -f /usr/src/$asteriskversion.tar.gz ] ; then
wget http://downloads.asterisk.org/pub/telephony/asterisk/$asteriskversion.tar.gz
fi
if [ ! -d /usr/src/$asteriskversion ] ; then
tar xvzf $asteriskversion.tar.gz
fi
## erforderliche libs installieren
/usr/src/$asteriskversion/contrib/scripts/install_prereq install
## optional
/usr/src/$asteriskversion/contrib/scripts/get_mp3_source.sh
/usr/src/$asteriskversion/contrib/scripts/get_ilbc_source.sh
gcc -O2 /usr/src/$asteriskversion/contrib/utils/rawplayer.c -o /usr/bin/rawplayer
## asterisk installieren
cd /usr/src/$asteriskversion
./configure
make menuconfig
make
make install
make samples
make config
make install-logrotate
</code>


--
Rainer Piper
Integration engineer
Koeslinstr. 56
53123 BONN
GERMANY
Phone: [url=tel:%2B49%20228%2097167161]+49 228 97167161[/url]


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
dreamer.binary at gmai...
Guest





PostPosted: Tue Jun 17, 2014 6:11 am    Post subject: [asterisk-users] quickstart Reply with quote

what is your Linux box (debian, Ubuntu, centos, ...)?


On Tue, Jun 17, 2014 at 2:10 PM, binary dreamer <dreamer.binary@gmail.com (dreamer.binary@gmail.com)> wrote:
Quote:
hi, sorry all you are asking is to have 2 internal phones call each other?
the hardphones you are talking about what kind of phones are?
 



On Tue, Jun 17, 2014 at 1:14 PM, Rainer Piper <rainer.piper@soho-piper.de (rainer.piper@soho-piper.de)> wrote:


Quote:
Am 17.06.2014 09:04, schrieb thufir:

Quote:
I have the Asterisk book, it's enormous, the 4th edition as per http://www.asteriskdocs.org/.

I'd like to do something like:

http://www.voip-info.org/wiki/view/Asterisk+quickstart

just to have two hardphones act as extensions and call each other. Is that a reasonable first task?

I'm looking for the simplest litmus test for functionality possible.



thanks,

Thufir

Hi ... this script will get you up and running on a debian7 distribution.

<code>
#!/bin/sh
apt-get update && apt-get upgrade -y
asteriskversion=asterisk-12.3.2
apt-get install -y linux-headers-`uname -r`
apt-get install -y build-essential
apt-get install -y wget
apt-get install -y libssl-dev
apt-get install -y libncurses5-dev
apt-get install -y libnewt-dev
apt-get install -y libxml2-dev
apt-get install -y libsqlite3-dev
apt-get install -y libjansson-dev
apt-get install -y git
ln -s /usr/src/linux-headers-`uname -r` /usr/src/linux
cd /usr/src
## pjsip installieren
git clone https://github.com/asterisk/pjproject pjproject
cd /usr/src/pjproject
./configure --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr

## um IPv6 Support in pjsip einzuschalten, muss das CFLAGS='-DPJ_HAS_IPV6=1' angegeben werden !!!!
# !!!!!!!!!!!!!!!!!!!! IPV6 is turned off at default !!!!!!!!!!!!!!!!!!!!!
#./configure CFLAGS='-DPJ_HAS_IPV6=1' --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
make dep
make
make install
ldconfig
### check inst.
# ldconfig -p | grep libpj
## System vorbereiten
## download Asterisk
if [ ! -f /usr/src/$asteriskversion.tar.gz ] ; then
wget http://downloads.asterisk.org/pub/telephony/asterisk/$asteriskversion.tar.gz
fi
if [ ! -d /usr/src/$asteriskversion ] ; then
tar xvzf $asteriskversion.tar.gz
fi
## erforderliche libs installieren
/usr/src/$asteriskversion/contrib/scripts/install_prereq install
## optional
/usr/src/$asteriskversion/contrib/scripts/get_mp3_source.sh
/usr/src/$asteriskversion/contrib/scripts/get_ilbc_source.sh
gcc -O2 /usr/src/$asteriskversion/contrib/utils/rawplayer.c -o /usr/bin/rawplayer
## asterisk installieren
cd /usr/src/$asteriskversion
./configure
make menuconfig
make
make install
make samples
make config
make install-logrotate
</code>


--
Rainer Piper
Integration engineer
Koeslinstr. 56
53123 BONN
GERMANY
Phone: [url=tel:%2B49%20228%2097167161]+49 228 97167161[/url]




--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




Back to top
rnewton at digium.com
Guest





PostPosted: Tue Jun 17, 2014 9:46 am    Post subject: [asterisk-users] quickstart Reply with quote

On Tue, Jun 17, 2014 at 2:04 AM, thufir <hawat.thufir@gmail.com> wrote:
Quote:
I have the Asterisk book, it's enormous, the 4th edition as per
http://www.asteriskdocs.org/.

I'd like to do something like:

http://www.voip-info.org/wiki/view/Asterisk+quickstart

just to have two hardphones act as extensions and call each other. Is that a
reasonable first task?

I'm looking for the simplest litmus test for functionality possible.

Once you install asterisk:
https://wiki.asterisk.org/wiki/display/AST/Installing+Asterisk

Try following: https://wiki.asterisk.org/wiki/display/AST/Hello+World

Simply use a hard phone instead of a soft-phone. Then go from there on
to two phones.


--
Rusty Newton
Digium, Inc. | Community Support Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct: +1 256 428 6200

Check us out at: http://digium.com & http://asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
hawat.thufir at gmail.com
Guest





PostPosted: Tue Jun 17, 2014 9:56 am    Post subject: [asterisk-users] quickstart Reply with quote

The headphones are Cisco phones.  Ie, ext 100 and 101.  I don't have the model handy at the moment. On Jun 17, 2014 2:10 PM, "binary dreamer" <dreamer.binary@gmail.com (dreamer.binary@gmail.com)> wrote:
Quote:
hi, sorry all you are asking is to have 2 internal phones call each other?
the hardphones you are talking about what kind of phones are?
 



On Tue, Jun 17, 2014 at 1:14 PM, Rainer Piper <rainer.piper@soho-piper.de (rainer.piper@soho-piper.de)> wrote:
Quote:
Am 17.06.2014 09:04, schrieb thufir:

Quote:
I have the Asterisk book, it's enormous, the 4th edition as per http://www.asteriskdocs.org/.

I'd like to do something like:

http://www.voip-info.org/wiki/view/Asterisk+quickstart

just to have two hardphones act as extensions and call each other. Is that a reasonable first task?

I'm looking for the simplest litmus test for functionality possible.



thanks,

Thufir

Hi ... this script will get you up and running on a debian7 distribution.

<code>
#!/bin/sh
apt-get update && apt-get upgrade -y
asteriskversion=asterisk-12.3.2
apt-get install -y linux-headers-`uname -r`
apt-get install -y build-essential
apt-get install -y wget
apt-get install -y libssl-dev
apt-get install -y libncurses5-dev
apt-get install -y libnewt-dev
apt-get install -y libxml2-dev
apt-get install -y libsqlite3-dev
apt-get install -y libjansson-dev
apt-get install -y git
ln -s /usr/src/linux-headers-`uname -r` /usr/src/linux
cd /usr/src
## pjsip installieren
git clone https://github.com/asterisk/pjproject pjproject
cd /usr/src/pjproject
./configure --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr

## um IPv6 Support in pjsip einzuschalten, muss das CFLAGS='-DPJ_HAS_IPV6=1' angegeben werden !!!!
# !!!!!!!!!!!!!!!!!!!! IPV6 is turned off at default !!!!!!!!!!!!!!!!!!!!!
#./configure CFLAGS='-DPJ_HAS_IPV6=1' --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
make dep
make
make install
ldconfig
### check inst.
# ldconfig -p | grep libpj
## System vorbereiten
## download Asterisk
if [ ! -f /usr/src/$asteriskversion.tar.gz ] ; then
wget http://downloads.asterisk.org/pub/telephony/asterisk/$asteriskversion.tar.gz
fi
if [ ! -d /usr/src/$asteriskversion ] ; then
tar xvzf $asteriskversion.tar.gz
fi
## erforderliche libs installieren
/usr/src/$asteriskversion/contrib/scripts/install_prereq install
## optional
/usr/src/$asteriskversion/contrib/scripts/get_mp3_source.sh
/usr/src/$asteriskversion/contrib/scripts/get_ilbc_source.sh
gcc -O2 /usr/src/$asteriskversion/contrib/utils/rawplayer.c -o /usr/bin/rawplayer
## asterisk installieren
cd /usr/src/$asteriskversion
./configure
make menuconfig
make
make install
make samples
make config
make install-logrotate
</code>


--
Rainer Piper
Integration engineer
Koeslinstr. 56
53123 BONN
GERMANY
Phone: [url=tel:%2B49%20228%2097167161]+49 228 97167161[/url]


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
hawat.thufir at gmail.com
Guest





PostPosted: Tue Jun 17, 2014 9:58 am    Post subject: [asterisk-users] quickstart Reply with quote

Pardon.  My home PC is Ubuntu, 14.04.
Back to top
hawat.thufir at gmail.com
Guest





PostPosted: Tue Jun 17, 2014 10:37 am    Post subject: [asterisk-users] quickstart Reply with quote

On Tue, 17 Jun 2014 12:14:05 +0200, Rainer Piper wrote:


Quote:
git clone https://github.com/asterisk/pjproject pjproject


At the very least, thank you for pjsip. I'm not sure what it is yet, but
seems intriguing Smile

I'm on Ubunutu 14.04, but will look over your script and adapt it.



-Thufir


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
hawat.thufir at gmail.com
Guest





PostPosted: Tue Jun 17, 2014 10:45 am    Post subject: [asterisk-users] quickstart Reply with quote

On Tue, 17 Jun 2014 09:46:22 -0500, Rusty Newton wrote:


Quote:
Try following: https://wiki.asterisk.org/wiki/display/AST/Hello+World

Simply use a hard phone instead of a soft-phone. Then go from there on
to two phones.


Perfect. I'm looking at:

"SIP channel driver you wanted to use, which may imply other
requirements. For example if you want to use chan_pjsip..."

so now know to read up, in particular, on what sip channels are Smile

The book is just so huge, it's hard to find somewhere to start, and this
looks like good place.

Thank you, everyone, for the responses, I'm off to the races now.


-Thufir


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
rainer.piper at soho-p...
Guest





PostPosted: Wed Jun 18, 2014 12:03 am    Post subject: [asterisk-users] quickstart Reply with quote

Am 17.06.2014 17:36, schrieb thufir:

Quote:
Quote:
On Tue, 17 Jun 2014 12:14:05 +0200, Rainer Piper wrote:


Quote:
git clone https://github.com/asterisk/pjproject pjproject


At the very least, thank you for pjsip. I'm not sure what it is yet, but
seems intriguing Smile

I'm on Ubunutu 14.04, but will look over your script and adapt it.
!!! take a look at the install_prereq script.
!!! you have to install same dependency libs before you compile asterisk
!!! and install_prereq just supports ... debian, redhat and OpenBSD

# The distributions we do support:
if [ -r /etc/debian_version ]; then
handle_debian
elif [ -r /etc/redhat-release ]; then
handle_rh
elif [ "$OS" = 'OpenBSD' ]; then
handle_obsd
fi

Quote:
Quote:




-Thufir




--
Rainer Piper
Integration engineer
Koeslinstr. 56
53123 BONN
GERMANY
Phone: [url=callto:004922897167161]+49 228 97167161[/url]
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services