@bradjsmith wrote:
Hello All,
We are currently attempting to use the post call recording script found in Advanced Settings to run a script that renames the recording file for use with callcabinet.
That said, I need to put quotes around a couple of the parameters for times when the parameter is not set. However placing the following in the post call recording script under Advanced Settings translates the quotes to their ASCII equivalent (") in the extensions_additional.conf…
Post Call Entry via Advanced Settings:
moverecfreepbx.sh ^{MIXMONITOR_FILENAME} "^{AMPUSER}" ^{CALLERID(number)}
.conf results in:
MIXMON_POST = moverecfreepbx.sh ^{MIXMONITOR_FILENAME} "^{AMPUSER}" ^{CALLERID(number)}
I need the actual quotes so that when {AMPUSER} is not set, it’s placeholder as a parameter is retained.
Current Asterisk Version: 13.22.0
**FreePBX 14.0.11
Posts: 18
Participants: 3