[Freeswitch-users] Caller Domain Variable?
Matt
code.name.eric at gmail.com
Thu Sep 26 18:05:14 MSD 2013
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 :-))
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list