Difference between revisions of "Guerrilla VoIP"
 (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   | + | * two [[Raspberry Pi]]s running FreeSWITCH (external queue, internal SCCP server), DHCP and TFTP  | 
| − | |||
* Netgear GS110TP (8xPoE + 2xSFP)  | * Netgear GS110TP (8xPoE + 2xSFP)  | ||
| − | ===   | + | ==== Some power tests ====  | 
| − | + | ||
| − | + | {| class="wikitable"  | |
| − | + | ! hardware || power source || U || I  | |
| − | + | |-  | |
| − | + | | Two Raspberry Pis, step down || drill battery pack || 12V || 330mA  | |
| − | + | |-  | |
| − | * Fritz!box has a switching regulator to 5V tested between 5.5V and 15V (drops off at 5.3V idle and   | + | | Cisco CP7940, step up || drill battery pack || 12V || 360mA - 450mA  | 
| − | *  | + | |-  | 
| − | + | | rowspan="2" |Fritz!box (wifi off), direct || rowspan="2" | lab power supply || 12V || 360mA (idle) - 440mA<br/>(42% - 52%, top ~880mA)  | |
| − | + | |-  | |
| − | + | | 15V || 250mA (idle)  | |
| − | + | |-  | |
| − | + | | Netgear GS110TP PoE, step up || lab power supply || 12V || 330mA  | |
| − | + | |-  | |
| − | + | | Netgear GS110TP PoE +<br/>Cisco CP7940, step up || lab power supply || 12V || 740mA  | |
| − | *   | + | |-  | 
| − | + | | rowspan="2" | Complete set: 2 RasPis,<br/>Fritz!box, switch,<br/>phone + cellphone charging || rowspan="2" | lab power supply || 12V || 2000mA  | |
| − | + | |-  | |
| + | | 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 ===  | ||
| − | *   | + | * 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 ===  | ||
| − | *   | + | * 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  | * design and create (or buy) small-sized float charger (13.8V 2A) with overcurrent protection, if needed  | ||
[[Category:Telephony]]  | [[Category:Telephony]]  | ||
Revision as of 19: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
 

