[Freeswitch-users] freeswitch enum

Ken Rice krice at suspicious.org
Thu Dec 4 01:26:33 PST 2008


No other suggestion your DNS setup is broken... You have proven that
freeswitch is working by querying e164.org...

Again you need to use a domain other than one that ends in .arpa that is a
reservered TLD and you will break things... Use the .int TLD that¹s what its
for and if you are really worried about leaking things to the outside world
put an ACL on your DNS server to not let anyone outside your netblocks query
it... 2) resolv.conf on your fs box must point only at your name servers
that are SOA (either primary or secondary) for your private domain and much
not contain servers of your ISP that will cause lookup failures...
3) and once again you do not specify the IP address you are querying using
the enum command... You specify the number and the root (root being the
domain ie: mydomain.int)

Beyond that you need to check out other resources appropriate for setting up
enum records for your specific DNS implementation



From: Pieter Eduard <pieter_eduard at biznetnetworks.com>
Reply-To: <freeswitch-users at lists.freeswitch.org>
Date: Thu, 04 Dec 2008 16:12:36 +0700
To: "freeswitch-users at lists.freeswitch.org"
<freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] freeswitch enum

Ken,

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  ip
to 1.2.3.4.
So i already setup a real name server with  real domain and it uses public
ip, configure the 7.6.5.4.3.2.1.e164.arpa as a domain with my name server as
SOA and NS record and yet the freeswitch CLI still give me no match when i
try to query it using my name server.

And yes, if i query 18005551212 e164.org it works like a charm ;-)

Any other suggestions?

Regards,

-Pieter-
I
Ken Rice wrote: 
>  
> 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...
> 
> 
>   
>  
>>  
>> From: Pieter Eduard <pieter_eduard at biznetnetworks.com>
>> <mailto:pieter_eduard at biznetnetworks.com>
>> Reply-To: <freeswitch-users at lists.freeswitch.org>
>> <mailto:freeswitch-users at lists.freeswitch.org>
>> Date: Thu, 04 Dec 2008 15:03:36 +0700
>> To: "freeswitch-users at lists.freeswitch.org"
>> <mailto:freeswitch-users at lists.freeswitch.org>
>> <freeswitch-users at lists.freeswitch.org>
>> <mailto:freeswitch-users at lists.freeswitch.org>
>> 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 at 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"
>> "!^.*$!sip:1000 at test.com!" .
>> 
>> and if use the ip, the result is the same :
>> [root at 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"
>> "!^.*$!sip:1000 at test.com!" .
>> 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 at fsbox> enum 12345678 localhost
>> API CALL [enum(12345678 localhost)] output:
>> No Match!
>> 
>> freeswitch at fsbox> 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
>> Freeswitch-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>     
>>  
>>  
>> 
>> 
>> 
>> _______________________________________________
>> Freeswitch-users mailing list
>> Freeswitch-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>> .
>> 
>>   
>> 
>> 
>> _______________________________________________
>> Freeswitch-users mailing list
>> Freeswitch-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081204/aacd283e/attachment-0002.html 


More information about the FreeSWITCH-users mailing list