You are visiting:Home arrow Articles for Geeks arrow Asterisk arrow Setting up ENUM for outbound calls on Trixbox Saturday, 04 July 2009
Google
Support Geek-Pages.com in making a small donation:
Main Menu
Home
Articles for Geeks
FAQs for Non-Geeks
Links
Kevan's Blog
Contact Us
Search
Login Form





Lost Password?
No account yet? Register
Submit article to:
Setting up ENUM for outbound calls on Trixbox PDF Print E-mail
Written by Kevan   

What is ENUM and why whould I want to set it up in Trixbox/Asterisk?

Simply put ENUM is a way for those of us that utilize VOIP to avoid using the PSTN to establish a call between to VOIP systems with out using the PSTN.  Think of it as a true Internet Phone - no phone company of any kind needed.  Your probably asking "Don't I do this already?".  Well if both you and the person your calling are using the same VOIP provider you are doing the next closest thing but still using a third party to complete your call.   Imagine being able to call from one * box to another * box directly over the internet without involving a third party.  ENUM offers us this ability. 


Click here for a HOWTO for inbound calls via ENUM and SIP on Trixbox

For help setting up your ENUM account at e164.org

Your phone number and server information are stored in a special DNS zone (very similar to a reverse lookup zone).  When an ENUM enabled * box calls your phone number, it will first attempt to find your phone number in the ENUM DNS zone.  If it finds your phone number it will use the infomation to setup a call directly between their * box and yours.   Here is a sample call flow:

 Caller Dials Phone #
|
Calling * Box checks ENUM DNS Zone
|
# is found and results are resturned
|
Calling * Box calls your server via SIP or IAX2
(eg. sip:// This email address is being protected from spam bots, you need Javascript enabled to view it

|

 Your * box answers and forwards the call to your extension

|

You answer the phone

Think about the potential...  you can contact someone via VOIP with no prior knowledge or configuration. Remeber, ENUM has no effect on how traditional PSTN users or VOIP users who are not using ENUM contact you.  ENUM only adds another option for other ENUM connected VOIP users.  

The benefits of ENUM really ring true when working with a per minute VOIP provider or when you make a lot of International calls.  

Setting up Trixbox with ENUM for outbound calls

1) Connect to the web interface on your Trixbox server with /admin after the url.  eg. http://server.com/admin

2)  Click on the Setup link and then click the Trunks link on the left hand side.

3)  Click the Add Enum Trunk link.

4) In the Outbound Caller ID field enter your callerid information in the format of "John Doe" <1112223333>  (Include the quotes)

5) To support 7 digit dialing via ENUM, in the Dial Rules field enter 1555+NXXXXXX  (1 followed by your area code and then +NXXXXXX) Replace 555 with your areacode.

6) On the next line enter 011|. (include the .)

7) Click the Submit Changes button at the bottom of the page.