<div dir="ltr">I'm using javascript to trigger the conference API to record when the moderator joins.<div><br></div><div>apiExecute("conference",argv[0] + " recording start $${recordings_dir}/conf-"+argv[0]+"/${strftime(%Y-%m-%d-%H-%M)}.mp3");<br><div><br></div><div>Those variables should be automatically expanded by FS, just like if it was used in the dialplan?</div><div>But it seems they are being treated literally:</div><div><br></div><div>2020-05-07 19:25:36.609713 [ERR] mod_shout.c:893 Error opening $${recordings_dir}/conf-test/${strftime(%Y-%m-%d-%H-%M)}.mp3<br>2020-05-07 19:25:36.609713 [ERR] conference_record.c:277 Error Opening File [$${recordings_dir}/conf-test/${strftime(%Y-%m-%d-%H-%M)}.mp3]</div><div><br></div><div>Ideas?<br>Should I expand them myself? I was wondering about wrapping it in an eval, but that would probably have the same issue. So running an API to get the results of an eval first...</div><div><br></div><div>Thanks,<br clear="all"><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">-Avi Marcus<br></div></div></div></div></div></div></div></div>