Quantcast
Channel: FreePBX - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 17447

The Post Call Recording Script will not accept a quote character

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 17447

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>