Difference between revisions of "Telephone System"

From Hackerspace ACKspace
Jump to: navigation, search
(cleaned up)
(updated dialplan)
Line 42: Line 42:
 
The current dialplan expectation is defined as followed:
 
The current dialplan expectation is defined as followed:
 
{| class="wikitable"
 
{| class="wikitable"
! scope="col" | dialplan regex
+
! scope="col" | dialplan
 
! scope="col" | destination
 
! scope="col" | destination
 
|-
 
|-
| 100\d
+
| 10xx
| ACKspace (member) extensions
+
| Onsite (ACKspace) extensions
 
|-
 
|-
| 10[1-9]\d
+
| 19xx
| Other extensions
+
| Offsite extensions
 
|-
 
|-
| 19\d\d
+
| 2222
| Offsite extensions
+
| Emergency (as described on the sticker in each room)
 
|}
 
|}
  
 
{| class="wikitable"
 
{| class="wikitable"
|+ Complete dialplan, compatible with Dutch <abbr title="Public Switched Telephone Network">PSTN</abbr> as monitored by [http://opta.nl Opta]
+
|+ Almost exhaustive dialplan, compatible with Dutch <abbr title="Public Switched Telephone Network">PSTN</abbr> as [http://wetten.overheid.nl/BWBR0010198/ defined by Ministry of Economic affairs] and monitored/policed by [http://opta.nl Opta]
 
! scope="col" | dialplan regex
 
! scope="col" | dialplan regex
 
! scope="col" | type
 
! scope="col" | type
Line 65: Line 65:
 
|  
 
|  
 
|-
 
|-
| 014
+
| 014\d\d+
 
| Internal network service
 
| Internal network service
 
| seems to be the full number
 
| seems to be the full number
Line 73: Line 73:
 
|  
 
|  
 
|-
 
|-
| 044[\d]*
+
| 044\d{3,11}
 
| European routing
 
| European routing
 
| length unknown
 
| length unknown
Line 85: Line 85:
 
|  
 
|  
 
|-
 
|-
| 067[012345789]{3}
+
| 067([0-5]{3}|[0-5]{7}
 
| ISP access
 
| ISP access
 
|  
 
|  
Line 97: Line 97:
 
|
 
|
 
|-
 
|-
| 069
+
| 067[7-9]\d\d
 
| [UNREGISTERED]
 
| [UNREGISTERED]
 
|
 
|
 
|-
 
|-
| 0800[\d]{4}
+
| 069
| Short toll free information numbers
+
| [UNREGISTERED]
 
|
 
|
 
|-
 
|-
| 0800[\d]{8}
+
| 0800(\d{4}|\d{7})
| Long toll free information numbers
+
| Toll free information numbers
 
|
 
|
 
|-
 
|-
Line 113: Line 113:
 
|
 
|
 
|-
 
|-
| 082[01456789]\d\d
+
| 082\d+
 
| VPN
 
| VPN
|
 
|-
 
| 082[23]
 
| [UNREGISTERED]
 
 
|
 
|
 
|-
 
|-
Line 129: Line 125:
 
|
 
|
 
|-
 
|-
| |0(85|91)[\d]+
+
| |0(85|91)\d{7}
 
| General Electronic communications
 
| General Electronic communications
 
|
 
|
Line 145: Line 141:
 
|
 
|
 
|-
 
|-
| 090[069][\d]{4}
+
| 090[069](\d{4}|\d{7}
| Short paid information numbers
+
| Paid information numbers
|
 
|-
 
| 090[069][\d]{8}
 
| Short paid information numbers
 
 
|
 
|
 
|-
 
|-
Line 158: Line 150:
 
|-
 
|-
 
| 0970[\d]{8}
 
| 0970[\d]{8}
| available
+
| available?
 
|
 
|
 
|-
 
|-
Line 165: Line 157:
 
|
 
|
 
|-
 
|-
| 100[\d]
+
| 10\d{3}
 
| Carrier select
 
| Carrier select
| ACKspace main
+
| ACKspace main (10xx)
|-
 
| 10[1-9][\d]
 
| Carrier select
 
| TBD.
 
 
|-
 
|-
 
| 112
 
| 112
Line 177: Line 165:
 
|
 
|
 
|-
 
|-
| |116(000|006|111|117|123)
+
| |116\d{3}
 
| European harmonized
 
| European harmonized
 
|
 
|
 
|-
 
|-
| 12\d\d
+
| 120[0-4]
 
| Harmonized for own network
 
| Harmonized for own network
|
+
| Customer service
 +
|-
 +
| 1233
 +
| Direct voicemail
 +
| Voicemail
 +
|-
 +
| 1234
 +
| Voice dial
 +
|  
 
|-
 
|-
| 1200
+
| 1244
|
+
| Pre paid service menu
| services
+
|  
 
|-
 
|-
| 13\d\d
+
| 13[03-9]\d
 
| Local network facilities
 
| Local network facilities
 
| special services
 
| special services
 
|-
 
|-
| 14[1-9]{1,3}
+
| 131
 +
| Hide caller ID
 +
|
 +
|-
 +
| 132
 +
| Show caller ID
 +
|
 +
|-
 +
| 14\d{2,3}
 
| Harmonised services of social value
 
| Harmonised services of social value
|
 
|-
 
| 140[1234578][\d]{1,2}
 
 
| General Affairs Department
 
| General Affairs Department
|
 
 
|-
 
|-
 
| 15[\d]{3}
 
| 15[\d]{3}
| Pager
+
| [UNREGISTERED]
 
| TBD.
 
| TBD.
 
|-
 
|-
Line 210: Line 210:
 
|-
 
|-
 
| 17[0-8][\d]
 
| 17[0-8][\d]
| Mobile network codes
+
| [UNREGISTERED]
 
| TBD.
 
| TBD.
 
|-
 
|-
| 179\d\d
+
| 18([02-9]\d|1[0-79])
| Pager
+
| Subscriber information service (except 1818)
|
 
|-
 
| 18\d\d
 
| Subscriber information service
 
 
|
 
|
 
|-
 
|-
 
| 19[\d]{3}
 
| 19[\d]{3}
| Pager
+
| [UNREGISTERED]
 
| Registered users external
 
| Registered users external
  
Line 250: Line 246:
 
| (Local) emergency call
 
| (Local) emergency call
 
|}
 
|}
 +
Also note that 085 can have a special tariff
  
 
=== todo ===
 
=== todo ===

Revision as of 23:06, 12 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
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 destination
10xx Onsite (ACKspace) extensions
19xx Offsite extensions
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