[Freeswitch-users] freeswitch enum
Pieter Eduard
pieter_eduard at biznetnetworks.com
Thu Dec 4 01:12:36 PST 2008
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>
>> 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
>>
>
>
>
> _______________________________________________
> 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/add2bf31/attachment-0002.html
More information about the FreeSWITCH-users
mailing list