Do it through environment. <X-PRE-PROCESS cmd="env-set" data="var=$VAL"/> We also have "exec-set". https://freeswitch.org/confluence/display/FREESWITCH/Understanding+the+Confi... On Wed, Dec 1, 2021 at 4:03 PM Antony Stone < Antony.Stone@freeswitch.open.source.it> wrote:
Hi.
I have a need to assign a variable in vars.xml with the value output from a system command (in this specific instance "hostname -s", but I'd like to have a generic solution for future use).
How can I do that?
Any suggestions are welcome, as is pointing at any documentation I've so far failed to find :)
Thanks,
Antony.
-- Having been asked for a reference for this man, I can confirm that you will be very lucky indeed if you can get him to work for you.
Please reply to the list; please *don't* CC me.
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com