Brandon
Well-Known Member
For the Asterisk syntax gurus:
Please help!
Scenario: Need to record trunk to trunk calls in Elastix; simply inserting a MixMonitor into the dialplan does record but doesn't show up in the Monitoring List on the web gui.
What is needed is to set the db variable that is checked in the macro-record-enable.
What would the correct Set(DB... syntax be for the above so that the variable returns "Always" when passed through the above ExecIf check??
Any help is greatly appreciated!
Please help!
Scenario: Need to record trunk to trunk calls in Elastix; simply inserting a MixMonitor into the dialplan does record but doesn't show up in the Monitoring List on the web gui.
What is needed is to set the db variable that is checked in the macro-record-enable.
Code:
ExecIf($["${CUT(DB(AMPUSER/${ARG1}/recording),\\\|,1):4}" != "Always"]?MacroExit())
What would the correct Set(DB... syntax be for the above so that the variable returns "Always" when passed through the above ExecIf check??
Any help is greatly appreciated!
Last edited: