Vastra: Difference between revisions
Brian Wilson (talk | contribs) mNo edit summary |
Brian Wilson (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
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 == | == History == | ||
2015- | 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) | |||
[[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)