<p dir="ltr">The headphones are Cisco phones. Ie, ext 100 and 101. I don't have the model handy at the moment.</p>
<div class="gmail_quote">On Jun 17, 2014 2:10 PM, "binary dreamer" <<a href="mailto:dreamer.binary@gmail.com">dreamer.binary@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>hi, sorry all you are asking is to have 2 internal phones call each other?</div><div>the hardphones you are talking about what kind of phones are?</div><div> </div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Tue, Jun 17, 2014 at 1:14 PM, Rainer Piper <span dir="ltr"><<a href="mailto:rainer.piper@soho-piper.de" target="_blank">rainer.piper@soho-piper.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Am 17.06.2014 09:04, schrieb thufir:<br>
</div>
<blockquote type="cite">I have
the Asterisk book, it's enormous, the 4th edition as per
<a href="http://www.asteriskdocs.org/" target="_blank">http://www.asteriskdocs.org/</a>.
<br>
<br>
I'd like to do something like:
<br>
<br>
<a href="http://www.voip-info.org/wiki/view/Asterisk+quickstart" target="_blank">http://www.voip-info.org/wiki/view/Asterisk+quickstart</a>
<br>
<br>
just to have two hardphones act as extensions and call each other.
Is that a reasonable first task?
<br>
<br>
I'm looking for the simplest litmus test for functionality
possible.
<br>
<br>
<br>
<br>
thanks,
<br>
<br>
Thufir
<br>
<br>
</blockquote>
Hi ... this script will get you up and running on a debian7
distribution. <br>
<br>
<code><br>
<code>#!/bin/sh</code>
<p><code>apt-get update && apt-get upgrade -y</code></p>
<p><code>asteriskversion=asterisk-12.3.2</code></p>
<code>
<p>apt-get install -y linux-headers-`uname -r`<br>
apt-get install -y build-essential<br>
apt-get install -y wget<br>
apt-get install -y libssl-dev<br>
apt-get install -y libncurses5-dev<br>
apt-get install -y libnewt-dev<br>
apt-get install -y libxml2-dev<br>
apt-get install -y libsqlite3-dev<br>
apt-get install -y libjansson-dev<br>
apt-get install -y git</p>
<p>ln -s /usr/src/linux-headers-`uname -r` /usr/src/linux</p>
<p>cd /usr/src</p>
<p>## pjsip installieren<br>
git clone <a href="https://github.com/asterisk/pjproject" target="_blank">https://github.com/asterisk/pjproject</a>
pjproject<br>
cd /usr/src/pjproject<br>
./configure --prefix=/usr --enable-shared --disable-sound
--disable-resample --disable-video --disable-opencore-amr<br>
<br>
## um IPv6 Support in pjsip einzuschalten, muss das
CFLAGS='-DPJ_HAS_IPV6=1' angegeben werden !!!!<br>
# !!!!!!!!!!!!!!!!!!!! IPV6 is turned off at default
!!!!!!!!!!!!!!!!!!!!!<br>
#./configure CFLAGS='-DPJ_HAS_IPV6=1' --prefix=/usr
--enable-shared --disable-sound --disable-resample
--disable-video --disable-opencore-amr<br>
#
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</p>
<p>make dep<br>
make<br>
make install<br>
ldconfig</p>
<p>### check inst.<br>
# ldconfig -p | grep libpj</p>
<p>## System vorbereiten<br>
## download Asterisk<br>
if [ ! -f /usr/src/$asteriskversion.tar.gz ] ; then<br>
wget
<a href="http://downloads.asterisk.org/pub/telephony/asterisk/$asteriskversion.tar.gz" target="_blank">http://downloads.asterisk.org/pub/telephony/asterisk/$asteriskversion.tar.gz</a><br>
fi<br>
if [ ! -d /usr/src/$asteriskversion ] ; then<br>
tar xvzf $asteriskversion.tar.gz<br>
fi<br>
## erforderliche libs installieren<br>
/usr/src/$asteriskversion/contrib/scripts/install_prereq install</p>
<p>## optional<br>
/usr/src/$asteriskversion/contrib/scripts/get_mp3_source.sh<br>
/usr/src/$asteriskversion/contrib/scripts/get_ilbc_source.sh<br>
gcc -O2 /usr/src/$asteriskversion/contrib/utils/rawplayer.c -o
/usr/bin/rawplayer</p>
<p>## asterisk installieren<br>
cd /usr/src/$asteriskversion<br>
./configure<br>
make menuconfig<br>
make<br>
make install<br>
make samples<br>
make config<br>
make install-logrotate</p>
</code>
<p><code></code><span><font color="#888888"><br>
</font></span></code></p><span><font color="#888888">
<br>
<br>
<div>-- <br>
<b>Rainer Piper</b>
<br>
Integration engineer
<br>
Koeslinstr. 56
<br>
53123 BONN <br>
GERMANY
<br>
Phone: <a href="tel:%2B49%20228%2097167161" value="+4922897167161" target="_blank">+49 228 97167161</a></div>
</font></span></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div>