Phone:+31979922

From Hackerspace ACKspace
Revision as of 10:18, 27 November 2014 by Xopr (talk | contribs) (updated link)
Jump to: navigation, search

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:

part 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)


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.

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