[Freeswitch-users] freeswitch enum

Ken Rice krice at suspicious.org
Thu Dec 4 00:13:08 PST 2008


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>
> Reply-To: <freeswitch-users at lists.freeswitch.org>
> Date: Thu, 04 Dec 2008 15:03:36 +0700
> To: "freeswitch-users at lists.freeswitch.org"
> <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






More information about the FreeSWITCH-users mailing list