Matt, I've re-read your posts a few times now, but I'm still struggling to understand what you are trying to achieve, and what the exact problem is that you are having (as you mentioned in your post, perhaps you are asking the wrong questions). Can you try re-wording into specific questions (i.e. how do I get X, or "what is the best way to do X"). Hopefully this will get you a better response - also welcome to FreeSWITCH! Cal On Thu, Sep 26, 2013 at 3:05 PM, Matt <code.name.eric@gmail.com> wrote:
I have already perused the Multi-tenant section of the wiki. I purchased the book a couple of days ago.
The FAQ (at least what I could find) didn't answer my question about accessing the value of domain name variable as it is set in the sip profile.
We have multiple subnets and vlans. In particular, the hardphones are on a subnet of their own. Using the example in the Multi-tenant section of the wiki, one would have to create different voicemail numbers in order to set the domain. Obviously, that it is unwieldy and impractical.
This is not an insurmountable obstacle to implementation. The bit of Lua code I am using now is viable - however, it would be convenient to be able to create a new sip profile and have things like the voicemail app automagically work with modifying downstream code.
I could possibly do this by one of the following:
1. Unify the sip profile and domain name. 2. Set the initial context to the desired domain name. 3. Use a strict sip profile naming convention so that I can do some text manipulation on it to build the domain name.
If there is not a better option, I am leaning toward method (2).
Matt
On 9/26/13 3:41 AM, Stanislav Sinyagin wrote:
you need this: http://wiki.freeswitch.org/wiki/Multi-tenant
but before reading that, you need to read the FreeSWITCH book. http://www.packtpub.com/freeswitch-1-2/book
then you will start answering questions on this mailing list, instead of asking :-))
_________________________________________________________________________ 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
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