Phone:+31979922

From Hackerspace ACKspace
Jump to: navigation, search
NOTE:
spacephone.org doesn't have SSL yet; the domain name was released and xopr bought it to make sure it is kept in the hackerspace scene.
Contact xopr if you have spare time and want to pick up this project, and he might just give you a bunch of credentials.

synopsis

This telephone number (+31979922) is part of the SpacePhone ENUM project, and works in two ways:

  • Be accessible to other people having only a numeric keypad, without additional costs.
  • Call other spaces with a short-hand number, in our case: 922 for ACKspace

The latter has some impact in our internal and Cisco dial plan (and extensions what would have started with a '9', the former is just allowing +31979922@ackspace.nl to be reached from our external dial plan.

This number consists of the following parts:

number function
+31 international country code
979 area code (zone/net number), reserved by defined by Ministry of Economic affairs for internal use
922 short hand number (note that 9 is not used in domestic dial plans)

The spacephone configs are available on GitHub

Listing

This is a non-exhaustive Spacephone directory. Not all numbers are tested, but they are assigned by SpacePhone at the time of writing (14:42, 1 May 2015 (CEST)).

short hand number who?
9HELP (94357) SpacePhone support
922 ACKspace (that's us!)
923 Bitlair
942 Hack42
966 MoNoNoKe
968 NURDspace
973 Project073
974 PiXelBar
975 Sk1llz

Enabling spacephone on other FreeSWITCH instances

To route calls to its correct destination using the SpacePhone ENUM, one needs to add the following dial plan snippet. This script will try and resolve the number, or send the SIT, followed by the message that the number is unallocated.

<extension name="SpacePhone ENUM">
    <condition field="destination_number" expression="^(\+31|0031|0)(9799\d\d)(\d*)$">
        <action application="set" data="continue_on_fail=true"/>
        <action application="enum" data="sip:+31$2 e164.spacephone.org"/>
        <action application="bridge" data="${enum_auto_route}"/>
        <action application="playback" data="tone_stream://%(330,15,950);%(330,15,1400);%(330,1000,1800);loops=2"/>
        <action application="playback" data="ivr/ivr-unallocated_number.wav"/>
        <action application="playback" data="tone_stream://%(330,15,950);%(330,15,1400);%(330,1000,1800);loops=2"/>
    </condition>
</extension>


extra information

A nice and quick way to see if a number is part of an ENUM system, one can go to sipbroker.com's ENUM lookup page. Note that for checking the spacephone numbers, you need to include e164.spacephone.org as additional ENUM root.

SpacePhone lookup does this automatically

You can also lookup 31979922 from the command line (remember to reverse the number, and forget about nslookup, it won't work):

$ dig 2.2.9.9.7.9.1.3.e164.spacephone.org -t NAPTR

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> 2.2.9.9.7.9.1.3.e164.spacephone.org -t NAPTR
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49677
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;2.2.9.9.7.9.1.3.e164.spacephone.org. IN        NAPTR

;; ANSWER SECTION:
2.2.9.9.7.9.1.3.e164.spacephone.org. 300 IN NAPTR 10 10 "u" "E2U+web:http" "!^(.*)$!https://ackspace.nl/wiki/Phone:\\1!" .
2.2.9.9.7.9.1.3.e164.spacephone.org. 300 IN NAPTR 10 10 "u" "E2U+cnam" "!^.*$!data:,ACKSpace!" .
2.2.9.9.7.9.1.3.e164.spacephone.org. 300 IN NAPTR 10 10 "u" "E2U+sip" "!^(.*)$!sip:\\1@ackspace.nl!" .

;; Query time: 512 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri May  1 15:59:02 2015
;; MSG SIZE  rcvd: 233

ACKspace also has an e164.org ENUM registration which will translate +31-45-71-12345 into sip:31457112345@sip1.budgetphone.nl, our DID (or DDI) service provider.