[Freeswitch-users] Assigning a variable with a value from a system command?

Antony Stone Antony.Stone at freeswitch.open.source.it
Wed Dec 1 11:27:33 UTC 2021


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.



More information about the FreeSWITCH-users mailing list