Difference between revisions of "Telephone System"

From Hackerspace ACKspace
Jump to: navigation, search
(updated dialplan)
(cleaned up)
Line 16: Line 16:
 
== implementation ==
 
== implementation ==
  
 +
Current setup consists of the following:
 +
# a public accessible number
 +
# simple IVR menu
 +
# permanent space phone (1001)
 +
# simple conference room (3100)
 +
# various participant registrations (see [[#extensions]])
  
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.
+
=== extensions ===
 
 
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.
 
 
 
[http://www.voip-info.org/wiki/view/Cisco+POE 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. [[User:LuckY|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.
 
This is the list of registered extensions.
 
If you want to register your own extension, let [[User:Xopr|Xopr]] know.
 
If you want to register your own extension, let [[User:Xopr|Xopr]] know.
For available extensions, refer to the [[#Dialplan]]
+
For available extensions, refer to the [[#dialplan]]
  
 
{{refresh}}
 
{{refresh}}
Line 46: Line 39:
 
}}
 
}}
  
=== Dialplan ===
+
=== dialplan ===
 
The current dialplan expectation is defined as followed:
 
The current dialplan expectation is defined as followed:
 
{| class="wikitable"
 
{| class="wikitable"
Line 136: Line 129:
 
|
 
|
 
|-
 
|-
| 0(85|91)[\d]+
+
| |0(85|91)[\d]+
 
| General Electronic communications
 
| General Electronic communications
 
|
 
|
Line 259: Line 252:
  
 
=== todo ===
 
=== todo ===
* register extensions at eventphone (done)
+
* Correct dialplan (faster dialing)
** reserved numbers 2871 (BVR1), 2872 (BVR2) (spelled: Binary Voice Radio)
+
* Open up 19xx registrations
* (backup and) install a fresh freeswitch/FusionPBX
+
* Trunking over VPN
* create extensions
+
* install PoE blade
* backup again, for
+
* add other extensions (other residents)
  
=== notes ===
+
== history ==
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: [[User:Vicarious|Vicarious]]
 
  
== history ==
+
=== CCC ===
 
The CCC Binary Voice Radio telephony server was a mixed success.
 
The CCC Binary Voice Radio telephony server was a mixed success.
 
Actually, it was a disaster:
 
Actually, it was a disaster:
Line 288: Line 271:
 
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.
 
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.
 
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 [[User:LuckY|LuckY]] sniffed and replayed audio over a wifi link.
  
 
== future ==
 
== future ==
* Set up a FS/FusionPBX virtual machine for ACKspacers to play with.
+
* 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.
 
* Create a larger deployment of the VOIP network as a testing ground for a more high-traffic environment.
 
* [[User:Stoney3K|Stoney]] would like to build a visual ring indicator which flashes once somebody calls a specific number.
 
* [[User:Stoney3K|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..
+
== notes ==
 
 
or [http://www.youtube.com/watch?v=ab8GtuPdrUQ 0118 999 881 999 119 7253]
 
  
-- [[User:Vicarious|Vicarious]]
+
[http://www.voip-info.org/wiki/view/Cisco+POE Here's some information on how to power the Cisco 7940's through standard PoE switches. As featured on CampZone 2011.] Thanks, [[User:Stoney3K|Stoney]]

Revision as of 18:35, 11 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 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
0(85|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

  • 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