The Document describes how to configure and execute ENUM lookup on Wildix PBX. Created: December 2018 Permalink: https://wildix.atlassian.net/wiki/x/YAfOAQ |
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.
To be able to execute ENUMLOOKUP, you need to proceed with the following configuration:
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. |
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. |
Add the following Dialplan applications:
where
Custom application -> GotoIf($["${DESTINATION}" != "1"]?callsNotEnum,${EXTEN},1)
It is executed in case a phone number is not present in ENUM database
Custom application -> Dial(SIP/MySIPTrunk/+39${EXTEN}
where
Trunk group -> route calls through the specified trunk group
Note: Refer to Dialplan applications Guide for detailed information about Dialplan applications. |