The Document describes how to configure and execute ENUM lookup on Wildix PBX.


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



<span class="page-title-pdf">How Wildix interacts with ENUM</span>



<div class="fb-like" data-href="https://confluence.wildix.com/x/VwDwAQ" data-layout="button_count" data-action="recommend" data-size="large" data-show-faces="true" data-share="true"></div>


 <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="#" 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>


The Document describes how to configure and execute ENUM lookup on Wildix PBX.

Created: December 2018

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

ENUM Lookup

E.164 Number Mapping (ENUM) is a standard that uses DNS to map telephone numbers to web addresses or URLs. 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 looks up a dialed telephone number in 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 line. You can dial a telephone number and reach a SIP, H.323 or any other Internet telephony user. 

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 ENUMLOOKUP, you need to proceed with the following configuration:

Step 1. Enable external connection to LDAP Server

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: LDAP Server connection -> consult WMS Settings Guide.

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: General information about ISDN lines -> WMS Start Guide.

Step 3. Configure Dialplan applications

Add the following Dialplan applications:


  1. Authenticate user 
  2. Set -> Caller number
  3. Custom application -> Set(DESTINATION=${ENUMLOOKUP(+39${EXTEN},sip,c,1,1,enum.myserver.com))}

    where

  4. Custom application -> GotoIf($["${DESTINATION}" != "1"]?callsNotEnum,${EXTEN},1) 

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

  5. Custom application -> Dial(SIP/MySIPTrunk/+39${EXTEN} 

    where

  6. Trunk group -> route calls through the specified trunk group

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


<div class="fb-like" data-href="https://confluence.wildix.com/x/VwDwAQ" data-layout="button_count" data-action="recommend" data-size="large" data-show-faces="true" data-share="true"></div>



<div class="ask-question">
		<div class="text-before-buttons">
			<span style="font-size: 24px; text-align: center;">Not finding the help you need?</span><br>
Join the Facebook group to ask a question!
		</div>
<div class="fb-buttons">
<span style="align: center;"><a href="https://www.facebook.com/groups/wildixtechwizards" target="_blank"><img src="https://manuals.wildix.com/wp-content/uploads/2017/03/facebook_tech-wizards.png" alt="facebook_tech-wizards" width="282" height="80" align="center"/></a></span></div>
	</div>
</div>