[asterisk-users] quickstart

binary dreamer dreamer.binary at gmail.com
Tue Jun 17 06:10:29 CDT 2014


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 at soho-piper.de>
wrote:

>  Am 17.06.2014 09:04, schrieb thufir:
>
> 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
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140617/be100636/attachment.html>


More information about the asterisk-users mailing list