[Freeswitch-users] Variables for install directories

Michael Jerris mike at jerris.com
Tue Dec 22 20:31:16 PST 2009


For the path in the dialplan I don't think we have any right now but  
file a bug on jira and I can try to add them.  As for something in the  
script itself that is a bit more work but if anyone has a patch to  
inject some vars into scripts like that it would be a nice addition.

Mike

On Dec 21, 2009, at 7:03 PM, "Joseph L. Casale" <JCasale at activenetwerx.com 
 > wrote:

> Searching through the wiki for any indication as to what if any  
> variables exist
>
> for the install location in that I can leverage in a script.
>
>
>
> Can anyone point me along, I can’t seem to find anything. I want to  
> place a shell
>
> script in /opt/freeswitch/scripts that needs a reference to a conf  
> file that a binary
>
> it runs is calling.
>
>
>
> So now I have in two places hardcoded paths that I was hoping to  
> avoid, in the dialplan
>
> and in the shell script. When either of these is run, does there  
> exist something like
>
>
>
> <action application="system" data=${freeswitch_install_dir}/scripts/ 
> shell_script.sh"/>
>
>
>
> and the same for use inside the shell script?
>
>
>
> Thanks!
> jlc
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
> users
> http://www.freeswitch.org




More information about the FreeSWITCH-users mailing list