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
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140617/ba8e2ce0/attachment.html>
On Tue, Jun 17, 2014 at 2:04 AM, thufir <hawat.thufir at gmail.com> wrote:> 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
Reasonably Related Threads
- pjproject 2.5.5 + asterisk-certified-13.8-cert1 : many Error loading module...undefined symbol
- pjproject 2.5.5 + asterisk-certified-13.8-cert1 : many Error loading module...undefined symbol
- How to decrease Asterisk load
- how to install freephoneline.exe from CLI
- dovecot: lda(root): Fatal: Invalid user settings. Refer to server log for more information.