Difference between revisions of "Guerrilla VoIP"

From Hackerspace ACKspace
Jump to: navigation, search
(updated todo/done)
(reorganised some stuff, started to look messy, added VLAN info on the side)
Line 19: Line 19:
 
* sturdy compact waterproof casing
 
* sturdy compact waterproof casing
  
 +
=== prototyping ===
  
 
So to make the first prototype, I chose the following:
 
So to make the first prototype, I chose the following:
Line 26: Line 27:
 
* step-up converter 12v->48V
 
* step-up converter 12v->48V
 
* Fritz!Box 7270 (NAT, FxS, FxO, DECT)
 
* Fritz!Box 7270 (NAT, FxS, FxO, DECT)
* [[Raspberry Pi]] running FreeSWITCH and DHCP
+
* two [[Raspberry Pi]]s running FreeSWITCH (external queue, internal SCCP server), DHCP and TFTP
* Raspberry Pi running FreeSWITCH and TFTP
 
 
* Netgear GS110TP (8xPoE + 2xSFP)
 
* Netgear GS110TP (8xPoE + 2xSFP)
  
=== prototyping ===
+
==== Some power tests ====
[[image:phone_running_on_battery.jpg|right|400px|Cisco CP7940 running on a drill battery pack, shows 0.36A at approximately 12V]]
+
 
Tested the following items:
+
{| class="wikitable"
* Two Raspberry Pis on a drill battery pack (step-down)
+
! hardware || power source || U || I
** uses 0.33A at approximately 12V
+
|-
* Cisco CP7940 on a drill battery pack (step-up)
+
| Two Raspberry Pis, step down || drill battery pack || 12V || 330mA
** uses something between 0.36A and 0.45A at approximately 12V
+
|-
* Fritz!box has a switching regulator to 5V tested between 5.5V and 15V (drops off at 5.3V idle and elca at power supply segment is rated 16V)
+
| Cisco CP7940, step up || drill battery pack || 12V || 360mA - 450mA
** without WiFi, it peaks at 0.44A (12V), and idles at about 0.34A-0.38, which the webservice is saying 41%-43%, which means it would top at about 0.88A.
+
|-
** With 15V power it idles at about 0.25A
+
| rowspan="2" |Fritz!box (wifi off), direct || rowspan="2" | lab power supply || 12V || 360mA (idle) - 440mA<br/>(42% - 52%, top ~880mA)
* Netgear GS110TP PoE switch on a lab power supply (step-up)
+
|-
** uses approximately 0.33A at 12V
+
| 15V || 250mA (idle)
* PoE switch with one phone powered (step-up)
+
|-
** uses approximately 0.74A at 12V
+
| Netgear GS110TP PoE, step up || lab power supply || 12V || 330mA
* PoE hack adapter connected pin 1 (white-orange) and pin 3 (white-green) with 22K resistor.
+
|-
** if the pre-standard CP-79x0 is connected, it doesn't power, when you unplug it, it will enable power within 5 seconds; plug in, and the phone boots.
+
| Netgear GS110TP PoE +<br/>Cisco CP7940, step up || lab power supply || 12V || 740mA
* complete set on a lab power supply: PoE switch, one phone on a [[Telephone_system:Cisco PoE hack|hacky cable]], router two RasPis and my cell phone charging:
+
|-
** uses about 2A@12V and 1.6@13.8V
+
| rowspan="2" | Complete set: 2 RasPis,<br/>Fritz!box, switch,<br/>phone + cellphone charging || rowspan="2" | lab power supply || 12V || 2000mA
[[image:guerilla_prototype.jpg|right|400px|Complete Guerilla VoIP prototype running at 13.8V]]
+
|-
 +
| 13.8V || 1600mA
 +
|}
 +
 
 +
<gallery>
 +
image:phone_running_on_battery.jpg|Cisco CP7940 running on a drill battery pack, shows 0.36A at approximately 12V
 +
image:guerilla_prototype.jpg|Complete Guerilla VoIP prototype running at 13.8V
 +
</gallery>
 +
 
 +
==== interesting facts ====
 +
* Fritz!box has a switching regulator to 5V tested between 5.5V and 15V (drops off at 5.3V idle and <abbr title="Electrolytic capacitor">elco</abbr> at power supply segment is rated 16V)
 +
* [[Telephone_system:Cisco PoE hack|PoE hack adapter]] connected pin 1 (white-orange) and pin 3 (white-green) with 22K resistor.
 +
* if the pre-standard CP-79x0 is connected using the PoE adapter hack, the Netgear GS110TP doesn't power, when you unplug it, it will enable power within 5 seconds; plug in, and the phone boots.
 +
* if you configure the administrative VLAN, the phone will fetch a DHCP lease on that VLAN, allowing you to seperately set up dnsmasq on a Raspberry Pi
  
 
=== done ===
 
=== done ===
* wired the stuff (except for the battery)
+
* the first version works, but still needs some manual labor
 
* [[Telephone system:Cisco PoE hack]] cable
 
* [[Telephone system:Cisco PoE hack]] cable
 
* Cisco NL dialplan
 
* Cisco NL dialplan
Line 57: Line 70:
  
 
=== todo ===
 
=== todo ===
* add some trunks
+
* work out 'modus operandi': multiple config files switchable by phone
* rewrite internal dialplan (actually, make two sets: event and in-field-'office')
+
* work on dual linux config with GPIO hardware switch
 +
* test the fibre ports
 +
* add homeplug as a proof of concept
 
* design and create (or buy) small-sized float charger (13.8V 2A) with overcurrent protection, if needed
 
* design and create (or buy) small-sized float charger (13.8V 2A) with overcurrent protection, if needed
  
 
[[Category:Telephony]]
 
[[Category:Telephony]]

Revision as of 20:50, 23 January 2015

Project: Guerrilla VoIP
Featured:
State Active
Members xopr
GitHub No GitHub project defined. Add your project here.
Description low cost communication node
Picture
No project picture! Fill in form Picture or Upload a jpeg here

synopsis

Create a low cost communication node (with VoIP as a base), trying to connect as many as possible types of links, for example:

  • copper/fibre/WiFi network
  • DECT/POTS telephony
  • SIP/SCCP
  • HAM radio (or preferrably, CB radio: 27MC/PMR)
  • copper/WiFi/USB uplink


It also could need some of the following functionality:

  • PoE service (to drive phones, remote switches/accesspoints)
  • battery supported/powered (in case of power failures/lack of power)
  • Efficient power converter(s) when running on battery
  • sturdy compact waterproof casing

prototyping

So to make the first prototype, I chose the following:

  • ammo box
  • 7Ah battery
  • step-down converter 12->5V
  • step-up converter 12v->48V
  • Fritz!Box 7270 (NAT, FxS, FxO, DECT)
  • two Raspberry Pis running FreeSWITCH (external queue, internal SCCP server), DHCP and TFTP
  • Netgear GS110TP (8xPoE + 2xSFP)

Some power tests

hardware power source U I
Two Raspberry Pis, step down drill battery pack 12V 330mA
Cisco CP7940, step up drill battery pack 12V 360mA - 450mA
Fritz!box (wifi off), direct lab power supply 12V 360mA (idle) - 440mA
(42% - 52%, top ~880mA)
15V 250mA (idle)
Netgear GS110TP PoE, step up lab power supply 12V 330mA
Netgear GS110TP PoE +
Cisco CP7940, step up
lab power supply 12V 740mA
Complete set: 2 RasPis,
Fritz!box, switch,
phone + cellphone charging
lab power supply 12V 2000mA
13.8V 1600mA

interesting facts

  • Fritz!box has a switching regulator to 5V tested between 5.5V and 15V (drops off at 5.3V idle and elco at power supply segment is rated 16V)
  • PoE hack adapter connected pin 1 (white-orange) and pin 3 (white-green) with 22K resistor.
  • if the pre-standard CP-79x0 is connected using the PoE adapter hack, the Netgear GS110TP doesn't power, when you unplug it, it will enable power within 5 seconds; plug in, and the phone boots.
  • if you configure the administrative VLAN, the phone will fetch a DHCP lease on that VLAN, allowing you to seperately set up dnsmasq on a Raspberry Pi

done

  • the first version works, but still needs some manual labor
  • Telephone system:Cisco PoE hack cable
  • Cisco NL dialplan
  • tested with battery; float charging device still has to be made (haven't measured how long it would run on a single charge though, but enough time to do some important phone calling)

todo

  • work out 'modus operandi': multiple config files switchable by phone
  • work on dual linux config with GPIO hardware switch
  • test the fibre ports
  • add homeplug as a proof of concept
  • design and create (or buy) small-sized float charger (13.8V 2A) with overcurrent protection, if needed