Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Html
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.11';
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

...

Html
 <div class="lang-box-pdf">
	<div>
		<div class="google-lang">
			<div id="google_translate_element">
			</div>
			<script type="text/javascript">
					function googleTranslateElementInit() {
						new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'de,es,fr,it,nl', autoDisplay: false}, 'google_translate_element');
						}
			</script>
			<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
		</div>
		
		<div class="pdf-button">
			<a href="https://confluence.wildix.com/spaces/flyingpdf/pdfpageexport.action?pageId=32505943" alt="Convert to .pdf" title="Convert to .pdf"><img src="https://confluence.wildix.com/download/attachments/14549012/pdf-button-download-wildix-documentation.png"></a>
		</div>
	</div>
</div>


Info

The Document provides the information about E.164 Number Mapping (ENUM) and describes how to configure and execute ENUM lookup can be configured and executedon Wildix PBX.

Created: December 2018

Permalink: https://confluence.wildix.com/x/VwDwAQ

Table of Contents

...

ENUM Lookup

E.164 Number Mapping (ENUM) is a standard that uses DNS to to map telephone numbers to web addresses or URLs. ENUM  ENUM provides a single number to replace the multiple numbers and addresses for user's home phone, business phone, fax, cell phone and email. A  A server with ENUM support lookups looks up a dialled telephone dialed telephone number in the ENUM database of the DNS to see if there is a way to set up the call instead of just calling out on the PSTN telephone the PSTN telephone line. You  You can dial a telephone number and reach a SIPa SIP, H H.323 or 323 or any other Internet telephony user. 

How it works

ENUM works by translating standard telephone numbers into internet addresses (URL or IP address). Servers that support ENUM search any dialed phone number in the ENUM tree of the DNS to locate substitute ways to setup a call outside of the standard PSTN telephone line.

ENUM lookup is executed in the following way:

  • Take the number you want to call and normalize it into E.164 format - in other words, by removing any leading zero and punctuation and adding the country code. For example, for an Italian number "0461 1715111", the country code is +39 and so the normalized number is +39 0461 1715111
  • Choose the ENUM suffix. The official ENUM tree defined by the IETF uses the e164.arpa ENUM suffix. There are several third-party suffixes as well, such as e164.org and for the sip5060.net service, use the suffix e164-addr.sip5060.net
  • Perform a DNS lookup, typically looking for NAPTR records

Registration of ENUM number

...

Wildix PBX can be used to run ENUM lookup (ENUMLOOKUP command) to identify if a number is present or not in a remote list (ENUM database).  If the looked up number is available in the database, a call is sent to ENUM server that proxies the call to correct destination.  

Configuration

To be able to execute the lookup in ENUM databaseENUMLOOKUP, you need to proceed with the following configuration:

Step 1. Enable external connection to LDAP Server

  • Go to WMS -> Settings -> System -> LDAP/ Radius server
  • Check off Enable external connections to LDAP

This will allow connection of your ENUM server to PBX and prepare the internal LDAP directory to have an updated list of users, extensions and office numbers. Then ENUM lookup is performed to identify WiIldix users on EMUN server and, when the needed number is found, PBX receives a SIP call instead of ISDN call.

Note

Note: Consult LDAP Server connection -> consult WMS Settings Guide for the information about LDAP Server connection.

Step 2. Configure routing of calls via ISDN line

To perform ENUM lookup, you need to configure ISDN trunk group. Before configuring, make sure that BRI/PRI media gateway are provisioned to your PBX. Trunk groups are added in WMS -> Trunks -> Trunk Group.

Note

Note: General information about ISDN lines : -> WMS Start Guide.

Step 3.

...

Configure Dialplan applications

Add the following Dialplan applications:Image Removed


  1. Authenticate user 
  2. Set -> Caller number
  3. Custom application -

...

  1. Set(

...

  1. DESTINATION=${ENUMLOOKUP(+39${EXTEN},sip,c,1,1,enum.

...

  1. myserver.

...

  1. com))}

    where

    • <ENUMLOOKUP> - the function that executes the lookup in enum.

...

    • myserver.

...

    • com
    • <+39> - the country code
    • <enum.myserver.com> - your ENUM server
  1. Custom application -

...

  1. GotoIf($["${

...

  1. DESTINATION}" != "1"]?

...

  1. callsNotEnum,${EXTEN},1) 

    It is executed in case a phone number is not present in ENUM database

  2. Custom application -

...

  1. Dial(SIP/

...

  1. MySIPTrunk/+39${EXTEN} 

    where

...

    • <MySIPTrunk> - a number that is dialed in case ENUMLOOKUP function is not executed because a lookup number is not present in ENUM database
  1. Trunk group -> route calls through the specified trunk group

Note

Note: Refer to Dialplan applications Guide for detailed information about Dialplan applications.

...