File:VoIP diagram.png

From Hackerspace ACKspace
Revision as of 07:59, 3 September 2019 by Xopr (talk | contribs) (Xopr uploaded a new version of File:VoIP diagram.png)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Original file(794 × 1,123 pixels, file size: 193 KB, MIME type: image/png)


The current VoIP setup consists essentially of three servers ('nodes')

  • NLnode (primary public system,
  • DEnode (fallback public system,
  • SpaceNode (internal system handling IVR and internal extensions)

The public servers are tied with SRV records as a semi-high availability setup with the primary service having high priority and weight (10 20), while the backup server has it the other way around. All (correctly implemented) services connect to the servers in the given order.

Note that currently, it is not yet possible for an extension on the primary server to call another extension on the fallback server. xopr has seen it happen that a third-party Fritz!Box falls back to the secondary server and never reconnects to the primary server without editing the credentials and reapplying the registration.

This is the SRV output:

$ dig -t srv

; <<>> DiG 9.10.3-P4-Ubuntu <<>> -t srv
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 783
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0


;; ANSWER SECTION:	384	IN	SRV	10 20 5060	384	IN	SRV	20 10 5060

;; Query time: 8 msec
;; WHEN: Wed May 03 20:15:15 CEST 2017
;; MSG SIZE  rcvd: 110

All nodes connect to the BudgetPhone PSTN trunk for incoming calls, both public nodes connect to CheapConnect for the conference (and backup) number, to VoipBuster for outgoing calls and to Speakup for Limesco cell phone services. The SpaceNode connects to VoipBuster for an alternative PSTN trunk and landline services and to InterVoip for cell phone services.

When a call comes in, both public nodes try to route the call within 3 seconds: they try to call the SpaceNode user/trunk. When this fails, they try to call each other in case one of the nodes wasn't connected to BudgetPhone. If this fails, a tape will be played after 10 seconds stating that "currently, we're not reachable", whereafter the user will be placed in the (public) conference room.

If both public nodes weren't connected to BudgetPhone, the SpaceNode will answer within 10 seconds with the IVR.


You are free to

  • Share — copy and redistribute the material in any medium or format
  • Adapt — remix, transform, and build upon the material

for any purpose, even commercially. The licensor cannot revoke these freedoms as long as you follow the license terms.

Under the following terms

  • Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

See also:

File history

Click on a date/time to view the file as it appeared at that time.

current07:59, 3 September 2019Thumbnail for version as of 07:59, 3 September 2019794 × 1,123 (193 KB)Xopr (talk | contribs)(caching problem) Reverted to version as of 07:50, 3 September 2019
07:57, 3 September 2019Thumbnail for version as of 07:57, 3 September 2019794 × 1,123 (193 KB)Xopr (talk | contribs)Updated to current status (apparently, there is nothing left of the infrastructure; stop blaming me)
07:50, 3 September 2019Thumbnail for version as of 07:50, 3 September 2019794 × 1,123 (193 KB)Xopr (talk | contribs)Updated to current status (apparently, there is nothing left of the infrastructure; stop blaming me)
15:10, 11 October 2017Thumbnail for version as of 15:10, 11 October 2017794 × 1,123 (217 KB)Xopr (talk | contribs)Server down, half of the diagram instantaneously invalid
11:57, 5 April 2017Thumbnail for version as of 11:57, 5 April 2017794 × 1,123 (237 KB)Xopr (talk | contribs)
  • You cannot overwrite this file.

The following 2 pages link to this file: