List of $$ variables
Hello, Is there a list available for variables starting with $$? Like $${local_ip_v4}? Does the following xml element support multiple values? <X-PRE-PROCESS cmd="set" data="bind_server_ip=auto "/> Something like: <X-PRE-PROCESS cmd="set" data="bind_server_ip=192.168.1.1,10.0.0.1 "/> #Notice the comma separating the bind IP's. Thanks, Grant
There isn't a list per se, since technically any variable could be used with $$. For this item it's best to search the wiki for "bind_server_ip" which yields this page: https://wiki.freeswitch.org/wiki/Getting_Started_Guide#Preprocessor_Variable... -MC On Tue, Aug 20, 2013 at 5:53 AM, Grant Bagdasarian <GB@cm.nl> wrote:
Hello,****
** **
Is there a list available for variables starting with $$? Like $${local_ip_v4}?****
** **
Does the following xml element support multiple values?****
<X-PRE-PROCESS cmd="set" data="bind_server_ip=auto "/>****
** **
Something like:****
<X-PRE-PROCESS cmd="set" data="bind_server_ip=192.168.1.1,10.0.0.1 "/> #Notice the comma separating the bind IP’s.****
** **
Thanks,****
** **
Grant****
** **
** **
_________________________________________________________________________ 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
On 08/20/2013 01:27 PM, Michael Collins wrote:
There isn't a list per se, since technically any variable could be used with $$. For this item it's best to search the wiki for "bind_server_ip" which yields this page:
https://wiki.freeswitch.org/wiki/Getting_Started_Guide#Preprocessor_Variable...
I think his question is a list of ones that are not defined in the configs - but already defined. $${local_ip_v4} is set before vars.xml is scanned. A list of all the available predefined variables could be useful. -------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 Why are so many spending time watching dark movies about hopelessness, the macabre, and perversion; why are they reading books about unfaithfulness and self destruction? Why is nothing uplifting, also considered 'cool' or entertaining? -kps --------------------------------------------------------------------------------
mike@mike [Tue Aug 20 04:08 PM] ~/src/freeswitch/src <5>:git grep -n switch_core_set_variable *.c …. hostname local_ip_v4 local_mask_v4 local_ip_v6 switch_serial base_dir recordings_dir sound_prefix sounds_dir core_uuid zrtp_enabled nat_public_addr nat_private_addr nat_type On Aug 20, 2013, at 4:02 PM, Karl Schmidt <karl@xtronics.com> wrote:
On 08/20/2013 01:27 PM, Michael Collins wrote:
There isn't a list per se, since technically any variable could be used with $$. For this item it's best to search the wiki for "bind_server_ip" which yields this page:
https://wiki.freeswitch.org/wiki/Getting_Started_Guide#Preprocessor_Variable...
I think his question is a list of ones that are not defined in the configs - but already defined.
$${local_ip_v4} is set before vars.xml is scanned.
A list of all the available predefined variables could be useful.
Thanks - this list probably should exist at the top of vars.xml as a comment On 08/20/2013 03:10 PM, Michael Jerris wrote:
hostname local_ip_v4 local_mask_v4 local_ip_v6 switch_serial base_dir recordings_dir sound_prefix sounds_dir core_uuid zrtp_enabled nat_public_addr nat_private_addr nat_type
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 Opportunity is missed by most people because it is dressed in overalls and looks like work. Thomas Alva Edison --------------------------------------------------------------------------------
If you add those to your vars.xml, make a diff, and then throw it on a Jira then one of the committers will gladly add it. -MC On Tue, Aug 20, 2013 at 1:32 PM, Karl Schmidt <karl@xtronics.com> wrote:
Thanks - this list probably should exist at the top of vars.xml as a comment
On 08/20/2013 03:10 PM, Michael Jerris wrote:
hostname local_ip_v4 local_mask_v4 local_ip_v6 switch_serial base_dir recordings_dir sound_prefix sounds_dir core_uuid zrtp_enabled nat_public_addr nat_private_addr nat_type
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434
Opportunity is missed by most people because it is dressed in overalls and looks like work. Thomas Alva Edison
--------------------------------------------------------------------------------
_________________________________________________________________________ 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
Thanks everyone! From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Tuesday, August 20, 2013 11:34 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] List of $$ variables If you add those to your vars.xml, make a diff, and then throw it on a Jira then one of the committers will gladly add it. -MC On Tue, Aug 20, 2013 at 1:32 PM, Karl Schmidt <karl@xtronics.com<mailto:karl@xtronics.com>> wrote: Thanks - this list probably should exist at the top of vars.xml as a comment On 08/20/2013 03:10 PM, Michael Jerris wrote:
hostname local_ip_v4 local_mask_v4 local_ip_v6 switch_serial base_dir recordings_dir sound_prefix sounds_dir core_uuid zrtp_enabled nat_public_addr nat_private_addr nat_type
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com<mailto:Karl@xtronics.com> Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089<tel:%28785%29%20841-3089> Lawrence, KS 66049 FAX (785) 841-0434<tel:%28785%29%20841-0434> Opportunity is missed by most people because it is dressed in overalls and looks like work. Thomas Alva Edison -------------------------------------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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<mailto: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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
participants (4)
-
Grant Bagdasarian
-
Karl Schmidt
-
Michael Collins
-
Michael Jerris