VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
hawat.thufir at gmail.com Guest
|
|
Back to top |
|
|
rainer.piper at soho-p... Guest
|
Posted: Tue Jun 17, 2014 5:14 am Post subject: [asterisk-users] quickstart |
|
|
Am 17.06.2014 09:04, schrieb 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
|
Posted: Tue Jun 17, 2014 6:10 am Post subject: [asterisk-users] quickstart |
|
|
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:
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
|
Posted: Tue Jun 17, 2014 6:11 am Post subject: [asterisk-users] quickstart |
|
|
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:
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
|
|
Back to top |
|
|
hawat.thufir at gmail.com Guest
|
Posted: Tue Jun 17, 2014 9:56 am Post subject: [asterisk-users] quickstart |
|
|
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:
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
|
Posted: Tue Jun 17, 2014 9:58 am Post subject: [asterisk-users] quickstart |
|
|
Pardon. My home PC is Ubuntu, 14.04. |
|
Back to top |
|
|
hawat.thufir at gmail.com Guest
|
Posted: Tue Jun 17, 2014 10:37 am Post subject: [asterisk-users] quickstart |
|
|
On Tue, 17 Jun 2014 12:14:05 +0200, Rainer Piper wrote:
At the very least, thank you for pjsip. I'm not sure what it is yet, but
seems intriguing
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
|
Posted: Tue Jun 17, 2014 10:45 am Post subject: [asterisk-users] quickstart |
|
|
On Tue, 17 Jun 2014 09:46:22 -0500, Rusty Newton wrote:
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
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
|
Posted: Wed Jun 18, 2014 12:03 am Post subject: [asterisk-users] quickstart |
|
|
Am 17.06.2014 17:36, schrieb thufir:
Quote: | Quote: | On Tue, 17 Jun 2014 12:14:05 +0200, Rainer Piper wrote:
At the very least, thank you for pjsip. I'm not sure what it is yet, but
seems intriguing
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
--
Rainer Piper
Integration engineer
Koeslinstr. 56
53123 BONN
GERMANY
Phone: [url=callto:004922897167161]+49 228 97167161[/url] |
|
Back to top |
|
|
|
|
|
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
|