Telephone System

From Hackerspace ACKspace
Revision as of 17:52, 11 December 2011 by Xopr (talk | contribs) (updated dialplan)
Jump to: navigation, search
Project: Telephone System
Featured:
State Active
Members xopr
GitHub No GitHub project defined. Add your project here.
Description Telephone Communication System
Picture
No project picture! Fill in form Picture or Upload a jpeg here

synopsis

Create and/or implement a telephone communication system for companies to communicate with the front desk or vice versa, for notifications, emergency and-or quick automation.

This idea was mentioned before: not only can we be informed there is a pizza delivery boy at the desk, but also other companies can benefit from a telephone/intercom system.

The cheapest setup would be SIP/RTP (VoIP); make use of the current network infrastructure. I happen to have a system with FreeSWITCH running, but it's currently in experimental mode.

Be aware that FS has a very steep learning curve, but once you get the point, you'll never want to go back (hint: regular expressions ftw)

implementation

For the open day, I'm setting up a stand-alone test system with two Cisco 7940s, a FxS/FxO and dual FxS ATA, and any softclient that is willing to participate.

The phones were succesful in a rough field test on the open day, connected to a FreeSWITCH exchange and two ATAs which provided connections to two additional analog handsets. The field test proved reliable enough and a great platform for some hilarious phone pranks.

The next step is to install a more permanent FreeSWITCH installation on the AckSpace infrastructure and see if we can deploy the Cisco 7940/7960 phones in a more sensible manner, even throughout the entire building once the installation proves to be reliable enough.

Here's some information on how to power the Cisco 7940's through standard PoE switches. As featured on CampZone 2011.

The Cisco phones will have a menu where you can view a 2 bit grayscale snapshot of the two space cams, and you'll be able to switch some outlets. People are allowed to navigate the configs and exploit functionality. LuckY already mentioned he wants to sniff and replay audio, so I'll try and set up a working access point for it.


Extensions

This is the list of registered extensions. If you want to register your own extension, let Xopr know. For available extensions, refer to the #Dialplan

(refresh table)

ExtensionReference
172Coolepascal
109DECT
150
151
152
153
154
MCH2022
100
150
170
176
177
Reserved extension numbers
191Stuiterveer
196User:xopr
199Vicarious
150WHY2025
102hACKspace
101slACKspace
103stACKspace

Dialplan

The current dialplan expectation is defined as followed:

dialplan regex destination
100\d ACKspace (member) extensions
10[1-9]\d Other extensions
19\d\d Offsite extensions
Complete dialplan, compatible with Dutch PSTN as monitored by Opta
dialplan regex type remark
01[12356789][\d]{7} Geographical numbers
014 Internal network service seems to be the full number
0[2357][\d]{8} Geographical numbers
044[\d]* European routing length unknown
06[123458][\d]{7} cell numbers
066[\d]{7} Pager
067[012345789]{3} ISP access
0676[12345789] [UNREGISTERED]
06760[\d]{7} ISP access
069 [UNREGISTERED]
0800[\d]{4} Short toll free information numbers
0800[\d]{8} Long toll free information numbers
081 [UNREGISTERED]
082[01456789]\d\d VPN
082[23] [UNREGISTERED]
083 [UNREGISTERED]
08[47][\d]{7} Personal assistant services
91)[\d]+ General Electronic communications
086 [UNREGISTERED]
088[\d]{7} Business numbers
089 [UNREGISTERED]
090[069][\d]{4} Short paid information numbers
090[069][\d]{8} Short paid information numbers
09[2345689] [UNREGISTERED]
0970[\d]{8} available
097[1-9] [UNREGISTERED]
100[\d] Carrier select ACKspace main
10[1-9][\d] Carrier select TBD.
112 European harmonized
116(000|006|111|117|123) European harmonized
12\d\d Harmonized for own network
1200 services
13\d\d Local network facilities special services
14[1-9]{1,3} Harmonised services of social value
140[1234578][\d]{1,2} General Affairs Department
15[\d]{3} Pager TBD.
16\d\d Carrier select
17[0-8][\d] Mobile network codes TBD.
179\d\d Pager
18\d\d Subscriber information service
19[\d]{3} Pager Registered users external
(045) 2201000-2299999 [AVAILABLE] Local emergency call
(045) 4200000-4299999 [AVAILABLE] Xopr(?)
(045) 4400000-4499999 [AVAILABLE] Local emergency call
(045) 9[\d]* [UNREGISTERED] (Local) emergency call, 911, 999
2222|4444|112|911|999 (Local) emergency call

todo

  • register extensions at eventphone (done)
    • reserved numbers 2871 (BVR1), 2872 (BVR2) (spelled: Binary Voice Radio)
  • (backup and) install a fresh freeswitch/FusionPBX
  • create extensions
  • backup again, for

notes

Noticeable telephone numbers:

  • 4865: SvenR
  • 2779: PsychiC (2PSY)
  • 4214: xopr
  • 5225: socialhack/Binary Voice
  • 5636: gmc
  • 6510: Ranzbak/deFEEST
  • 6581: JinX/deFEEST
  • 94214: xopr cell
  • 4891: Vicarious

history

The CCC Binary Voice Radio telephony server was a mixed success. Actually, it was a disaster: -The visual ring indicator circuit didn't trigger the optocouplers so that was the first thing to fail. -a lot of power failures which caused a lot of downtime and eventually database corruption -the DECT system was getting too complex for the simple phones we've modded for field reporting (Technical clarification came from one of the Eventphone key people who explained that the antenna register on cheap phones was too small to identify them all). Besides that, it looked like the cabling had short-circuited because the 9v battery didn't have any oomph left to generate amplified audio. -wifi had a hard time maintaining the links and coverage wasn't 100% so the wifi field reporter wasn't a good alternative -last but not least: the public ip addressing threw a spanner in the works and the server went limbo. The server's database went corrupt, and after a restore, it didn't match the regular config files. I got it semi-working after it was far too late to make it useful to the studio. Also, after I got it to work, it wouldn't register correctly to the Eventphone trunk and we only got to call the editorial room (2781|BVR1) via DECT twice or so. Despite all that stress, it was promising, so better luck next time.

future

  • Set up a FS/FusionPBX virtual machine for ACKspacers to play with.
  • Create a larger deployment of the VOIP network as a testing ground for a more high-traffic environment.
  • Stoney would like to build a visual ring indicator which flashes once somebody calls a specific number.

Once it works, I would like to have the internal phone number 1984..

or 0118 999 881 999 119 7253

-- Vicarious