I have a global val— val-one and I want the contents of /etc/asterisk/folder/john to be its value. What I have in there is 9876, just 4 digits.
Right now I just do the following:
That is hard coded and I would rather assign val-one whatever is in that file at time of start up.
I have tried using system() several ways but aren’t using it correctly enough to avoid error messages.
both made errors for me.
I have searched voip-info.org and not found enough to help me to get it to work right.