The domain_name variable and domains in FreeSWITCH
Hello all, I have been an Asterisk user for almost 10 years... God I'm glad I took the leap and tried FS! Congratulations to all of you for the amazing dev you've put together. I have been trying to understand in depth how the domain_name variable is used throughout FS. Or more in general, what defines a domain name and how is it used? It doesn't seem that FS is domain sensitive for registrations / authenticated calls. If both sip.example.com and fs.example.com are IN A 1.2.3.4, I can register on both domains with no distinction whatsoever. How does that work? Best to you and thanks for your precious answers. -- Emrah <eka@ekanet.net>
If properly configured you can have each domain operate as a different tenant on the server, so they will be separate PBXs. On Mon, Aug 13, 2012 at 5:07 AM, Emrah <eka@ekanet.net> wrote:
Hello all,
I have been an Asterisk user for almost 10 years... God I'm glad I took the leap and tried FS! Congratulations to all of you for the amazing dev you've put together.
I have been trying to understand in depth how the domain_name variable is used throughout FS. Or more in general, what defines a domain name and how is it used?
It doesn't seem that FS is domain sensitive for registrations / authenticated calls. If both sip.example.com and fs.example.com are IN A 1.2.3.4, I can register on both domains with no distinction whatsoever.
How does that work?
Best to you and thanks for your precious answers. -- Emrah <eka@ekanet.net>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
Thanks for your reply, I appreciate it. I did read in the Wiki about how to configure a multi tenant instance, but it still does not tell me what function the domain name has. I am looking for a technical explanation and some examples if possible. Where and when is the domain name used in FreeSWITCH? Is it integrally part of a user's credentials? Will any aspect of the routing be affected by the actual domain name via DNS? (E.g.: how to differentiate on a core level users calling joe@a.net and joe@b.net where a.net and b.net point to the same SIP IP? I am not talking about a conditional routing in the dialplan here.) Thanks and best regards, Emrah From: Vik Killa <vipkilla@gmail.com> Sent: Mon, Aug 13, 2012 at 11:52:10AM -0400 Subject: Re: [Freeswitch-users] The domain_name variable and domains in FreeSWITCH
If properly configured you can have each domain operate as a different tenant on the server, so they will be separate PBXs.
On Mon, Aug 13, 2012 at 5:07 AM, Emrah <eka@ekanet.net> wrote:
Hello all,
I have been an Asterisk user for almost 10 years... God I'm glad I took the leap and tried FS! Congratulations to all of you for the amazing dev you've put together.
I have been trying to understand in depth how the domain_name variable is used throughout FS. Or more in general, what defines a domain name and how is it used?
It doesn't seem that FS is domain sensitive for registrations / authenticated calls. If both sip.example.com and fs.example.com are IN A 1.2.3.4, I can register on both domains with no distinction whatsoever.
How does that work?
Best to you and thanks for your precious answers. -- Emrah <eka@ekanet.net>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
-- Emrah <eka@ekanet.net>
It's all in the XML. Believe me, it works and works quite well :) Brian Foster Endigo Computer LLC Sent from a mobile device. On Aug 13, 2012 11:35 PM, "Emrah" <eka@ekanet.net> wrote:
Thanks for your reply, I appreciate it.
I did read in the Wiki about how to configure a multi tenant instance, but it still does not tell me what function the domain name has.
I am looking for a technical explanation and some examples if possible.
Where and when is the domain name used in FreeSWITCH? Is it integrally part of a user's credentials? Will any aspect of the routing be affected by the actual domain name via DNS? (E.g.: how to differentiate on a core level users calling joe@a.netand joe@b.net where a.net and b.net point to the same SIP IP? I am not talking about a conditional routing in the dialplan here.)
Thanks and best regards, Emrah
From: Vik Killa <vipkilla@gmail.com> Sent: Mon, Aug 13, 2012 at 11:52:10AM -0400 Subject: Re: [Freeswitch-users] The domain_name variable and domains in FreeSWITCH
If properly configured you can have each domain operate as a different tenant on the server, so they will be separate PBXs.
On Mon, Aug 13, 2012 at 5:07 AM, Emrah <eka@ekanet.net> wrote:
Hello all,
I have been an Asterisk user for almost 10 years... God I'm glad I took the leap and tried FS! Congratulations to all of you for the amazing dev you've put together.
I have been trying to understand in depth how the domain_name variable is used throughout FS. Or more in general, what defines a domain name and how is it used?
It doesn't seem that FS is domain sensitive for registrations / authenticated calls. If both sip.example.com and fs.example.com are IN A 1.2.3.4, I can register on both domains with no distinction whatsoever.
How does that work?
Best to you and thanks for your precious answers. -- Emrah <eka@ekanet.net>
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
-- Emrah <eka@ekanet.net>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
This falls into the multi tenant catagory. Please do a search on the wiki for multitenant there are guides on how to change that behavior. Its a relatively simple process. However you need to change certain aspects like file locations to accomidate multiple tenants. By default $$domain is generated as the local ipv4 address. Brian Foster Endigo Computer LLC Sent from a mobile device. On Aug 13, 2012 9:43 AM, "Emrah" <eka@ekanet.net> wrote:
Hello all,
I have been an Asterisk user for almost 10 years... God I'm glad I took the leap and tried FS! Congratulations to all of you for the amazing dev you've put together.
I have been trying to understand in depth how the domain_name variable is used throughout FS. Or more in general, what defines a domain name and how is it used?
It doesn't seem that FS is domain sensitive for registrations / authenticated calls. If both sip.example.com and fs.example.com are IN A 1.2.3.4, I can register on both domains with no distinction whatsoever.
How does that work?
Best to you and thanks for your precious answers. -- Emrah <eka@ekanet.net>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
I know it sounds like a trivial question. I just wanted to make sure I had a clear understanding of the implication of a domain name throughout FS. Asterisk in SIP will reject calls made to an unknown domain. E.g.: sip.example-a.com and sip.example-b.com both commonly IN A 1.2.3.4. If sip.conf only contains: domain=1.2.3.4 domain=sip.example-a.com Calls made to sip.example-b.com will be rejected. You can also use the same setting to force a call into a particular context, so that 11@conference.sip.example-a.com will land in a context defined for conferences. I thought domain names in FS had some more substantial implications and wanted to get a good grasp of them. All the best and thanks again for your input, Emrah On Aug 14, 2012, at 3:37 AM, Brian Foster <bdfoster@endigotech.com> wrote:
This falls into the multi tenant catagory. Please do a search on the wiki for multitenant there are guides on how to change that behavior. Its a relatively simple process. However you need to change certain aspects like file locations to accomidate multiple tenants. By default $$domain is generated as the local ipv4 address.
Brian Foster Endigo Computer LLC
Sent from a mobile device.
On Aug 13, 2012 9:43 AM, "Emrah" <eka@ekanet.net> wrote: Hello all,
I have been an Asterisk user for almost 10 years... God I'm glad I took the leap and tried FS! Congratulations to all of you for the amazing dev you've put together.
I have been trying to understand in depth how the domain_name variable is used throughout FS. Or more in general, what defines a domain name and how is it used?
It doesn't seem that FS is domain sensitive for registrations / authenticated calls. If both sip.example.com and fs.example.com are IN A 1.2.3.4, I can register on both domains with no distinction whatsoever.
How does that work?
Best to you and thanks for your precious answers. -- Emrah <eka@ekanet.net>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
participants (4)
-
Brian Foster
-
Emrah
-
Emrah
-
Vik Killa