Phone System: Unterschied zwischen den Versionen

Aus LaborWiki
Wechseln zu: Navigation, Suche
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
[[Datei:Telephone switch.jpg|300px|thumb|right]]
[[Datei:Telephone switch.jpg|300px|thumb|right]]
The Labor's telephone System lately got an [http://www.asterisk.org/ asterisk] system as addition. Since installed it grew more and more sophisticated, so it was time to document all the features the new system provides.
The current phone system uses two Fritz Fon 7150 Boxes, one of them is directly connected to the external ISDN bus, the other one is connected to it via ethernet. The ethernet connection


== Popular extensions ==
-- UK0 -- NTBA -- ISDN S0 -- Fritz!Fon 7150 --> DECT (Base 1)
{|
                                    |
| '''Number'''
                                      `-- SIP -- Fritz!Fon 7150 --> DECT (Base 2)
| '''Target'''
|-
| 1337
| Talk directly over the Music speakers
|-
| 1010
| All phones in the basement (none installed yet)
|-
| 1020
| All phones in the lecture ("Vortragsraum") room
|-
| 1030
| All phones in the lounge
|-
| 1040
| All phones in the workshop room (none installed yet)
|-
| 1111
| Conference room
|}


== Fun & Testing extensions ==
Due to the nature of the S0 bus, calls may not be transferred from one device to another without occupying the bus (thus blocking it for incoming calls).
{|
For this reason, one of the base stations is linked to the other one via ethernet. Base number 1 hosts a SIP server (dtmfbox), while the other Box registers to it - this way the amount of internal and/or conference calls is no longer limited by the capabilites of the ISDN S0 bus, but by the capabilities of the DECT base station (which supports 2 voice channels at a time).
| '''Number'''
| '''Target'''
|-
| 700{0..2}
| Trash reminders
|-
| 9710
| Will tell you the current unix time
|}


== Cells & Range ==
Base station number 1 is located in the basement, serving the basement and lecture room, while base station number 2 is standing on the table in the lounge and serves as base station for the workshop. The handsets from the good old Gigaset are registered to both base stations and will automatically choose the best one, but they don't support taking a call from one cell to another. All other handsets are registered to a fixed base station.


== Technical details ==
== VOIP service ==
=== Wiring ===
As mentioned above, the boxes are connected to one another via SIP. Incoming calls on the ISDN line are forwarded from base station number 1 to the other one.
The new wiring scheme is a bit different: There's a FritzBox in between the DECT Base station and the external S0 Bus. This Setup has two advantages: For one, people can't dial out to mobile Phones and other expensive "services" and the other most important feature is that all Voip Services are still reachable through the ISDN line (i.e. the [[Asterisk-phone-reminder]]).


Provider <= UK0 => NTBA <= S0 (ext.) => FritzBox <= S0 (int) => DECT Base
== Planned Services / TODO ==
                                              :==> Network
* Assign fixed numbers to handsets
* Port the [[Asterisk-phone-reminder]] to dtmfbox
* external VOIP connectivity (if internal resources allow)


=== Old wiring scheme ===
We have both SIP and analogue phones lying around, so we somehow needed to connect these. Another nice-to-have feature was to being able to talk to the outside world (via ISDN) even when the asterisk Server is not available. Unfortunately, this happens to be the case rather often because the system it runs on has lots of users with uid 0...
At first we connected the analogue phones to a box which can talk ISDN and SIP (a "fritzbox" in this case). The box is connected to the ISDN S0 bus and ethernet. It registers at the asterisk server with a given SIP account and is configured to dial out when a "0" is dialed or the SIP connection fails. Incoming calls on the ISDN line are answered whenever a user picks up the phone.
==========================  ISDN S0 (from phone provider)
  |          |
fritz      asterisk
  box          |
  |          |
==========================  Ethernet





Version vom 15. Januar 2012, 13:17 Uhr

The current phone system uses two Fritz Fon 7150 Boxes, one of them is directly connected to the external ISDN bus, the other one is connected to it via ethernet. The ethernet connection

-- UK0 -- NTBA -- ISDN S0 -- Fritz!Fon 7150 --> DECT (Base 1)
                                    |
                                     `-- SIP -- Fritz!Fon 7150 --> DECT (Base 2)

Due to the nature of the S0 bus, calls may not be transferred from one device to another without occupying the bus (thus blocking it for incoming calls). For this reason, one of the base stations is linked to the other one via ethernet. Base number 1 hosts a SIP server (dtmfbox), while the other Box registers to it - this way the amount of internal and/or conference calls is no longer limited by the capabilites of the ISDN S0 bus, but by the capabilities of the DECT base station (which supports 2 voice channels at a time).

Cells & Range

Base station number 1 is located in the basement, serving the basement and lecture room, while base station number 2 is standing on the table in the lounge and serves as base station for the workshop. The handsets from the good old Gigaset are registered to both base stations and will automatically choose the best one, but they don't support taking a call from one cell to another. All other handsets are registered to a fixed base station.

VOIP service

As mentioned above, the boxes are connected to one another via SIP. Incoming calls on the ISDN line are forwarded from base station number 1 to the other one.

Planned Services / TODO

  • Assign fixed numbers to handsets
  • Port the Asterisk-phone-reminder to dtmfbox
  • external VOIP connectivity (if internal resources allow)