Difference between revisions of "Telephone System"

From Hackerspace ACKspace
Jump to: navigation, search
(updated dialplan)
(fixed extension ordering (somewhat: multiple extension won't order))
Line 35: Line 35:
 
|headers=show
 
|headers=show
 
|mainlabel=-
 
|mainlabel=-
|order=ASC
+
|sort=Extension
 +
|order=asc
 
|offset=0
 
|offset=0
 
}}
 
}}

Revision as of 00:51, 16 December 2011

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

Current setup consists of the following:

  1. a public accessible number
  2. simple IVR menu
  3. permanent space phone (1001)
  4. simple conference room (3100)
  5. various participant registrations (see #extensions)

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
100
150
170
176
177
Reserved extension numbers
101slACKspace
102hACKspace
103stACKspace
109DECT
150
151
152
153
154
MCH2022
150WHY2025
172Coolepascal
191Stuiterveer
196User:xopr
199Vicarious

dialplan

The current dialplan expectation is defined as followed:

dialplan destination
10xx Onsite (ACKspace) extensions
19xx Offsite extensions
1200 Customer service
1233 Mailbox
1300 ACKspace portal
1331 Conference rooms
2222 Emergency (as described on the sticker in each room)
Almost exhaustive dialplan, compatible with Dutch PSTN as defined by Ministry of Economic affairs and monitored/policed by Opta
dialplan regex type remark
01[12356789][\d]{7} Geographical numbers
014\d\d+ Internal network service seems to be the full number
0[2357][\d]{8} Geographical numbers
044\d{3,11} European routing length unknown
06[123458][\d]{7} cell numbers
066[\d]{7} Pager
[0-5]{7} ISP access
0676[12345789] [UNREGISTERED]
06760[\d]{7} ISP access
067[7-9]\d\d [UNREGISTERED]
069 [UNREGISTERED]
\d{7}) Toll free information numbers
081 [UNREGISTERED]
082\d+ VPN
083 [UNREGISTERED]
08[47][\d]{7} Personal assistant services
0(85|91)\d{7} General Electronic communications
086 [UNREGISTERED]
088[\d]{7} Business numbers
089 [UNREGISTERED]
\d{7} Paid information numbers
09[2345689] [UNREGISTERED]
0970[\d]{8} available?
097[1-9] [UNREGISTERED]
10\d{3} Carrier select ACKspace main (10xx)
112 European harmonized
116\d{3} European harmonized
120[0-4] Harmonized for own network Customer service
1233 Direct voicemail Voicemail
1234 Voice dial
1244 Pre paid service menu
13[03-9]\d Local network facilities special services
131 Hide caller ID
132 Show caller ID
14\d{2,3} Harmonised services of social value General Affairs Department
15[\d]{3} [UNREGISTERED] TBD.
16\d\d Carrier select
17[0-8][\d] [UNREGISTERED] TBD.
1[0-79]) Subscriber information service (except 1818)
19[\d]{3} [UNREGISTERED] 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

Also note that 085 can have a special tariff

todo

  • Correct dialplan (faster dialing)
  • Open up 19xx registrations
  • Trunking over VPN
  • install PoE blade
  • add other extensions (other residents)

history

CCC

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.


Open door day

For the open day, I set up a stand-alone test system with two Cisco 7940s, a FxS/FxO and dual FxS ATA, which included some softclients.

The phones were successful 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 Cisco phones had a menu where you could view a 2 bit grayscale snapshot of the two space cams, and you were able to switch some outlets. People were allowed to navigate the configs and exploit functionality and LuckY sniffed and replayed audio over a wifi link.

future

  • Move the current setup to the SAN server and release the current setup as a ACKspace FS playground.
  • 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.

notes

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