<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ken,<br>
<br>
I have done what you suggested bellow, for security reason i can not
paste the query using the domain, just the localhost and i change the
public&nbsp; ip to 1.2.3.4.<br>
So i already setup a real name server with&nbsp; real domain and it uses&nbsp;
public ip, configure the 7.6.5.4.3.2.1.e164.arpa as a domain with my
name server as&nbsp; SOA and NS record and yet the freeswitch CLI still give
me no match when i try to query it using my name server.<br>
<br>
And yes, if i query 18005551212 e164.org it works like a charm ;-)<br>
<br>
Any other suggestions?<br>
<br>
Regards,<br>
<br>
-Pieter-<br>
I<br>
Ken Rice wrote:
<blockquote cite="mid:C55CED34.4AD19%25krice@suspicious.org" type="cite">
  <pre wrap="">Ok 1) Overriding the e164.arpa is probably not a good Idea... 2) the second
param for the enum command is a domain not a Server IP address

Example: enum 1234567890 e164.org

You should probably set up your enum records on your own private domain or
use a real domain that you own... If you have to use something like e164.int
as the domain then tell your name server its the SOA for that domain and set
all your records up there...

Then in FreeSwitch tell it the default domain is e164.int

Chances are if you do something like enum 18005551212 e164.org it will work
correctly...


  </pre>
  <blockquote type="cite">
    <pre wrap="">From: Pieter Eduard <a class="moz-txt-link-rfc2396E" href="mailto:pieter_eduard@biznetnetworks.com">&lt;pieter_eduard@biznetnetworks.com&gt;</a>
Reply-To: <a class="moz-txt-link-rfc2396E" href="mailto:freeswitch-users@lists.freeswitch.org">&lt;freeswitch-users@lists.freeswitch.org&gt;</a>
Date: Thu, 04 Dec 2008 15:03:36 +0700
To: <a class="moz-txt-link-rfc2396E" href="mailto:freeswitch-users@lists.freeswitch.org">"freeswitch-users@lists.freeswitch.org"</a>
<a class="moz-txt-link-rfc2396E" href="mailto:freeswitch-users@lists.freeswitch.org">&lt;freeswitch-users@lists.freeswitch.org&gt;</a>
Subject: [Freeswitch-users] freeswitch enum

Hi,

I'm trying to query freeswitch  to use my bind base enum server but i'm
having trouble to query the enum from Freeswitch CLI.

this what i did, i add 7.6.5.4.3.2.1.e164.arpa at my dns and after
restart the dns, i have this :

[root@fsbox]# host -t naptr 8.7.6.5.4.3.2.1.e164.arpa localhost
Using domain server:
Name: localhost
Address: 127.0.0.1#53
Aliases:

8.7.6.5.4.3.2.1.e164.arpa has NAPTR record 10 10 "U" "E2U+tel"
"!^.*$!tel:\\12345678!" .
8.7.6.5.4.3.2.1.e164.arpa has NAPTR record 5 10 "U" "E2U+sip"
"!^.*$!<a class="moz-txt-link-freetext" href="sip:1000@test.com">sip:1000@test.com</a>!" .

and if use the ip, the result is the same :
[root@fsbox]# host -t naptr 8.7.6.5.4.3.2.1.e164.arpa 1.2.3.4
Using domain server:
Name: 1.2.3.4
Address: 1.2.3.4#53
Aliases:

8.7.6.5.4.3.2.1.e164.arpa has NAPTR record 5 10 "U" "E2U+sip"
"!^.*$!<a class="moz-txt-link-freetext" href="sip:1000@test.com">sip:1000@test.com</a>!" .
8.7.6.5.4.3.2.1.e164.arpa has NAPTR record 10 10 "U" "E2U+tel"
"!^.*$!tel:\\12345678!" .

But if i try to query from the freeswitch CLI that's installed in the
same box, i get this :

freeswitch@fsbox&gt; enum 12345678 localhost
API CALL [enum(12345678 localhost)] output:
No Match!

freeswitch@fsbox&gt; enum 12345678 1.2.3.4
API CALL [enum(12345678 1.2.3.4)] output:
No Match!

even if i change the enum.conf.xml dns root with my enum ip and reload
the freeswitch i still get the same error.

Can anyone help me on this? i just want the fs to query on my local enum
or to query on different enum server.

Regards,
-Pieter-


_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->


_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
.

  </pre>
</blockquote>
</body>
</html>