Vastra: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
mNo edit summary
Line 1: Line 1:
This page refers to the server named Vastra
The cool thing about this little 1U server is that it has full IPMI
which runs on Intel NUC hardware
hardware in it, so it can be fully controlled from an ethernet port.
Powered off and on, bios settings adjusted, everything.
 
Also cool that it has 4 1000BT ethernet ports.
 
== Hardware ==
 
* Supermicro A1SAi/A1SRi, BIOS 1.0c 02/27/2014
* Intel(R) Atom(TM) CPU  C2758  @ 2.40GHz (8 cores) 38396.16 BogoMIPS
* 8 GB RAM
* 80 GB Samsung SSD
* 2 TB Seagate green drive


== History ==
== History ==


2015-11 Wheezy to Jessie upgrade
2015-06 Updated to Debian 8
2015-03-04 bwilson httpd so it can do HT503 upgrades
2012-12 Set up with Debian 7
 
== Network ports ==
 
IPMI management console: http://192.168.2.240/
 
eth0 192.168.2.235/24 -- Wildsong office LAN, connects to Internet through a Mikrotik RB2011 firewall.
 
eth1 10.10.10.2/28 -- direct connection to Dart
 
eth2 172.16.1.254 -- testing
 
eth3 192.168.89.2 -- testing
 
== Debian Jessie (8.) ==
 
I just did an upgrade yesterday from Debian 7 to Debian 8.
 
apt-get -y install emacs rsync sudo
# Not sure if this is needed.
apt-get -y install  erlang-esdl-dev
apt-get -y install postfix postfix-mysql mysql-server mysql-client phpmyadmin \
  festival festival-dev libsdl-dev
 
apt-get -y install fail2ban
 
=== For cool web stuff ===
 
apt-get -y install libapache2-mod-wsgi


== Hardware ==
=== Network monitoring ===
 
apt-get -y install cacti squid
=== SuiteCRM ===
 
=== For building Asterisk ===
 
apt-get -y install build-essential subversion git
apt-get -y install libncurses5 libncurses5-dev libxml2 libxml2-dev libxslt-dev doxygen libcurl4-openssl-dev \
  uuid-dev libjansson-dev libsqlite3-dev libspeex-dev python-gobject  \
  unixodbc unixodbc-bin unixodbc-dev libltdl-dev libmpg123-dev libmyodbc libmysqld-dev \
  libsqlite3-dev libasound2-dev libsnmp-dev libedit-dev
 
Dahdi
apt-get -y install linux-headers-`uname -r`
 
imap support (mutually exclusive with file storage)
apt-get -y install uw-mailutils libc-client2007e-dev libssl-dev libpam0g-dev
 
=== Asterisk build ===
 
==== Source downloads ====
 
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13.4.0.tar.gz
wget http://downloads.asterisk.org/pub/telephony/asterisk-gui/asterisk-gui-2.1.0-rc1.tar.gz
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
 
==== Dahdi ====


* Intel NUC
untar
* Intel(R) Celeron(R) CPU N2820 @ 2.13GHz, 2 cores, 8524.80 BogoMIPS
  make all
* SSD
  make install
* 4GB RAM
make config


== Software ==
==== Asterisk ====


* Debian 7
./configure
* Asterisk 13
make menuselect
./contrib/scripts/get_mp3_source.sh
make -j 6
sudo make install
sudo make samples
sudo make progdocs


See the [[HT503]] page, we use those sometimes.
addon "chan_mobile" is for bluetooth smartphone integration


== Configuration notes ==


Make sure the box operates as a ''syslog server''.
1] Verbose("SIP/127-0000007b", "Dialing out from "Art" <127> to Twilio test number") in new stack
Dialing out from Art <127> to Twilio test number
    -- Executing [598@from-local-phones:2] Dial("SIP/127-0000007b", "SIP/TwilioProvider/+16504894546") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/TwilioProvider/+16504894546
[2015-12-03 16:27:01] WARNING[869][C-000000a7]: chan_sip.c:23212 handle_response_invite: Received response: "Forbidden" from '"Art" <sip:[email protected]>;tag=as5bc8b192'
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Auto fallthrough, channel 'SIP/127-0000007b' status is 'CHANUNAVAIL'
  == Extension Changed 127[BLF] new state Idle for Notify User 152
  == Extension Changed 127[BLF] new state Idle for Notify User 154
  == Extension Changed 127[BLF] new state Idle for Notify User 110 (queued)


Does NOT have a [[DDNS]] client running, the customer manages its IP address on his router.


[[Category: Don't Panic!]]
[[Category: Don't Panic!]]
[[Category: VOIP]]
[[Category: VOIP]]
[[Category: System Administration]]
[[Category: System Administration]]

Revision as of 18:40, 10 December 2015

The cool thing about this little 1U server is that it has full IPMI hardware in it, so it can be fully controlled from an ethernet port. Powered off and on, bios settings adjusted, everything.

Also cool that it has 4 1000BT ethernet ports.

Hardware

  • Supermicro A1SAi/A1SRi, BIOS 1.0c 02/27/2014
  • Intel(R) Atom(TM) CPU C2758 @ 2.40GHz (8 cores) 38396.16 BogoMIPS
  • 8 GB RAM
  • 80 GB Samsung SSD
  • 2 TB Seagate green drive

History

2015-06 Updated to Debian 8 2012-12 Set up with Debian 7

Network ports

IPMI management console: http://192.168.2.240/

eth0 192.168.2.235/24 -- Wildsong office LAN, connects to Internet through a Mikrotik RB2011 firewall.

eth1 10.10.10.2/28 -- direct connection to Dart

eth2 172.16.1.254 -- testing

eth3 192.168.89.2 -- testing

Debian Jessie (8.)

I just did an upgrade yesterday from Debian 7 to Debian 8.

apt-get -y install emacs rsync sudo
# Not sure if this is needed.
apt-get -y install  erlang-esdl-dev
apt-get -y install postfix postfix-mysql mysql-server mysql-client phpmyadmin \
  festival festival-dev libsdl-dev
apt-get -y install fail2ban

For cool web stuff

apt-get -y install libapache2-mod-wsgi

Network monitoring

apt-get -y install cacti squid

SuiteCRM

For building Asterisk

apt-get -y install build-essential subversion git
apt-get -y install libncurses5 libncurses5-dev libxml2 libxml2-dev libxslt-dev doxygen libcurl4-openssl-dev \
 uuid-dev libjansson-dev libsqlite3-dev libspeex-dev python-gobject  \
 unixodbc unixodbc-bin unixodbc-dev libltdl-dev libmpg123-dev libmyodbc libmysqld-dev \
 libsqlite3-dev libasound2-dev libsnmp-dev libedit-dev

Dahdi

apt-get -y install linux-headers-`uname -r`

imap support (mutually exclusive with file storage)

apt-get -y install uw-mailutils libc-client2007e-dev libssl-dev libpam0g-dev

Asterisk build

Source downloads

wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13.4.0.tar.gz
wget http://downloads.asterisk.org/pub/telephony/asterisk-gui/asterisk-gui-2.1.0-rc1.tar.gz
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz

Dahdi

untar
make all
make install
make config

Asterisk

./configure
make menuselect
./contrib/scripts/get_mp3_source.sh
make -j 6
sudo make install
sudo make samples
sudo make progdocs

addon "chan_mobile" is for bluetooth smartphone integration


1] Verbose("SIP/127-0000007b", "Dialing out from "Art" <127> to Twilio test number") in new stack Dialing out from Art <127> to Twilio test number

   -- Executing [598@from-local-phones:2] Dial("SIP/127-0000007b", "SIP/TwilioProvider/+16504894546") in new stack
 == Using SIP RTP CoS mark 5
   -- Called SIP/TwilioProvider/+16504894546

[2015-12-03 16:27:01] WARNING[869][C-000000a7]: chan_sip.c:23212 handle_response_invite: Received response: "Forbidden" from '"Art" <sip:[email protected]>;tag=as5bc8b192'

 == Everyone is busy/congested at this time (1:0/0/1)
   -- Auto fallthrough, channel 'SIP/127-0000007b' status is 'CHANUNAVAIL'
 == Extension Changed 127[BLF] new state Idle for Notify User 152 
 == Extension Changed 127[BLF] new state Idle for Notify User 154 
 == Extension Changed 127[BLF] new state Idle for Notify User 110 (queued)