242
edits
No edit summary |
|||
| Line 78: | Line 78: | ||
| Various utilities and functions are defined here. | | Various utilities and functions are defined here. | ||
|} | |} | ||
===Dial Plan Considerations=== | |||
VoIP phones have a configurable "Dial Plan" that decides when a call should be sent to the server. A good dial plan improves the user experience, as it means they don't have to press "dial" or wait for a timeout to kick in. The dial plan should also handle users prefixing calls with a 9, as this has become a (bad) habit for some. | |||
The table below lays out the numbering plan used in the Hackspace. Emergency numbers should ''always'' go straight out, and the dialplan should be ordered so the user has to wait the minimum amount of time before the call is placed, eg an 11 digit number starting with a 0 should go straight out. | |||
{| class="wikitable" | |||
! Number | |||
! Description | |||
! Notes | |||
|- | |||
| 999 | |||
| Emergency Services | |||
| | |||
|- | |||
| 911 | |||
| US Emergency Services | |||
| Should be re-written as 999 | |||
|- | |||
| 112 | |||
| Emergency Services (EU) | |||
| | |||
|- | |||
| 101 | |||
| Non Emergency Police | |||
| | |||
|- | |||
| 105 | |||
| Local Electricity Network Operator | |||
| | |||
|- | |||
| 111 | |||
| Non Emergency Medical | |||
| | |||
|- | |||
| 888 | |||
| Routed the same as 999, for testing. | |||
| | |||
|- | |||
| 100 | |||
| Automated Operator | |||
| | |||
|- | |||
| 152 | |||
| Echo Test | |||
| | |||
|- | |||
| 155 | |||
| Hello World | |||
| | |||
|- | |||
| 1XX | |||
| Other Network Numbers | |||
| | |||
|- | |||
| 116XXX | |||
| European Helpline Numbers | |||
| | |||
|- | |||
| 6XXX | |||
| Internal Extensions | |||
| | |||
|- | |||
| 7XXX | |||
| Internal Short Codes for Ring Groups etc | |||
| | |||
|- | |||
| 8XXX | |||
| Reserved for DECT users | |||
| | |||
|- | |||
| 0ZXXXXXXXXX | |||
| UK Numbers | |||
| Blocked | |||
|- | |||
| 0ZX. | |||
| Shorter UK Numbers | |||
| Blocked | |||
|- | |||
| 00Z. | |||
| International Calls | |||
| Blocked | |||
|} | |||
====Example Dialplan==== | |||
The following is an example Dialplan for a Linksys / Sipura / Newer Cisco device. Make sure if copying and pasting its a single line, with no whitespace. | |||
'''!!! Currently Untested !!!''' | |||
(999S0|<9:>911S0|<9:>888S0|<9:>11[1234579]S0|<9:>116xxxS0|<9:>10xS0|<9:>15[0234568]S0|<9:>1x7[1-9]S0|<9:>6xxxS0|<9:>7xxxS0|<9:>8xxxS0|<9:>0[1-9]xxxxxxxxxS0|<9:>0[1-9]x.|<9:>00[1-9]x.|<9:>x.) | |||
==Infrastructure needs/Future uses:== | ==Infrastructure needs/Future uses:== | ||
edits