Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] freeswitch enum


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
pieter_eduard at bizne...
Guest





PostPosted: Thu Dec 04, 2008 3:06 am    Post subject: [Freeswitch-users] freeswitch enum Reply with quote

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"
"!^.*$!sip:1000@test.com!" .

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"
"!^.*$!sip:1000@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@fsbox> enum 12345678 localhost
API CALL [enum(12345678 localhost)] output:
No Match!

freeswitch@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
krice at suspicious.org
Guest





PostPosted: Thu Dec 04, 2008 3:24 am    Post subject: [Freeswitch-users] freeswitch enum Reply with quote

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...


Quote:
From: Pieter Eduard <pieter_eduard@biznetnetworks.com>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Thu, 04 Dec 2008 15:03:36 +0700
To: "freeswitch-users@lists.freeswitch.org"
<freeswitch-users@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@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@test.com!" .

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"
"!^.*$!sip:1000@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@fsbox> enum 12345678 localhost
API CALL [enum(12345678 localhost)] output:
No Match!

freeswitch@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
pieter_eduard at bizne...
Guest





PostPosted: Thu Dec 04, 2008 4:17 am    Post subject: [Freeswitch-users] freeswitch enum Reply with quote

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 Wink

Any other suggestions?

Regards,

-Pieter-
I
Ken Rice wrote:
Quote:
Quote:
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...


Quote:
From: Pieter Eduard <pieter_eduard@biznetnetworks.com> (pieter_eduard@biznetnetworks.com)
Reply-To: <freeswitch-users@lists.freeswitch.org> (freeswitch-users@lists.freeswitch.org)
Date: Thu, 04 Dec 2008 15:03:36 +0700
To: "freeswitch-users@lists.freeswitch.org" (freeswitch-users@lists.freeswitch.org)
<freeswitch-users@lists.freeswitch.org> (freeswitch-users@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@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"
"!^.*$![url=sip:1000@test.com]sip:1000@test.com[/url]!" .

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"
"!^.*$![url=sip:1000@test.com]sip:1000@test.com[/url]!" .
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> enum 12345678 localhost
API CALL [enum(12345678 localhost)] output:
No Match!

freeswitch@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@lists.freeswitch.org (Freeswitch-users@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@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
.

Back to top
krice at suspicious.org
Guest





PostPosted: Thu Dec 04, 2008 4:28 am    Post subject: [Freeswitch-users] freeswitch enum Reply with quote

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@biznetnetworks.com>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Thu, 04 Dec 2008 16:12:36 +0700
To: "freeswitch-users@lists.freeswitch.org" <freeswitch-users@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 Wink

Any other suggestions?

Regards,

-Pieter-
I
Ken Rice wrote:
Quote:

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...




Quote:

From: Pieter Eduard <pieter_eduard@biznetnetworks.com> <mailto:pieter_eduard@biznetnetworks.com> (pieter_eduard@biznetnetworks.com)
Reply-To: <freeswitch-users@lists.freeswitch.org> <mailto:freeswitch-users@lists.freeswitch.org> (freeswitch-users@lists.freeswitch.org)
Date: Thu, 04 Dec 2008 15:03:36 +0700
To: "freeswitch-users@lists.freeswitch.org" <mailto:freeswitch-users@lists.freeswitch.org> (freeswitch-users@lists.freeswitch.org)
<freeswitch-users@lists.freeswitch.org> <mailto:freeswitch-users@lists.freeswitch.org> (freeswitch-users@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@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@test.com!" .

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"
"!^.*$!sip:1000@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@fsbox> enum 12345678 localhost
API CALL [enum(12345678 localhost)] output:
No Match!

freeswitch@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
krice at suspicious.org
Guest





PostPosted: Thu Dec 04, 2008 4:53 am    Post subject: [Freeswitch-users] freeswitch enum Reply with quote

Ooops lemme correct myself... .int is for international orgs and you shouldn’t use that either... Try .localnet or .rofl something that is not and probably never will be allocated.....

K


From: Ken Rice <krice@suspicious.org>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Thu, 04 Dec 2008 03:26:33 -0600
To: <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] freeswitch enum

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@biznetnetworks.com>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Thu, 04 Dec 2008 16:12:36 +0700
To: "freeswitch-users@lists.freeswitch.org" <freeswitch-users@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 Wink

Any other suggestions?

Regards,

-Pieter-
I
Ken Rice wrote:
Quote:

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...




Quote:

From: Pieter Eduard <pieter_eduard@biznetnetworks.com> <mailto:pieter_eduard@biznetnetworks.com> (pieter_eduard@biznetnetworks.com)
Reply-To: <freeswitch-users@lists.freeswitch.org> <mailto:freeswitch-users@lists.freeswitch.org> (freeswitch-users@lists.freeswitch.org)
Date: Thu, 04 Dec 2008 15:03:36 +0700
To: "freeswitch-users@lists.freeswitch.org" <mailto:freeswitch-users@lists.freeswitch.org> (freeswitch-users@lists.freeswitch.org)
<freeswitch-users@lists.freeswitch.org> <mailto:freeswitch-users@lists.freeswitch.org> (freeswitch-users@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@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@test.com!" .

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"
"!^.*$!sip:1000@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@fsbox> enum 12345678 localhost
API CALL [enum(12345678 localhost)] output:
No Match!

freeswitch@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@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services