Page 1 of 1

Poststatus option

PostPosted: Tue Feb 27, 2018 3:35 am
by pkalinowski
Hey guys

My setup:
Asterisk 11.25.3-vici
Vicidial VERSION: 2.14-655a
OpenSuSE Leap v.42.3 64-bit

Its basically a new vicibox installation.

I found that nice option to add disposition status to recording filename after the call is done.
In help its called --POST dialer option. and you need to add the value in "Campaign Rec Filename" named POSTSTATUS.
I did the second part about the POSTSTATUS but i dont know where to put --POST flag to enable it.
In help it doesn't say clearly and I couldnt find anything on google.

Thanks

Re: Poststatus option

PostPosted: Tue Feb 27, 2018 7:06 am
by mflorell
You have to edit the crontab entry for the "audio" processing scripts.

Re: Poststatus option

PostPosted: Fri Jan 25, 2019 4:35 pm
by deivish
Good afternoon Matt, where can I find the scripts that you mention??

Re: Poststatus option

PostPosted: Fri Jan 25, 2019 4:59 pm
by mflorell
You don't edit the scripts themselves, you edit the command line flags in the crontab entries for the scripts.

# /usr/share/astguiclient/AST_CRON_audio_1_move_VDonly.pl --help
allowed run time options:
[--help] = this screen
[--quiet] = suppress output, if possible
[--debug] = debug
[--debugX] = super debug
[--test] = test
[--HTTPS] = use https instead of http in local location
[--POST] = post call variable filename replacement, MUST define STATUS and CAMP below
[--STATUS-POST=X] = only run post call variable filename replacement on specific status calls
If multiple statuses, use --- delimiting, i.e.: SALE---PRESALE
For status wildcards, use * flag, i.e.: S* to match SALE and SQUAL
For all statuses, use ----ALL----

[--CAMP-POST=X] = only run post call variable filename replacement on specific campaigns or ingroups
If multiple campaigns or ingroups, use --- delimiting, i.e.: TESTCAMP---TEST_IN2
For all calls, use ----ALL----
[--CLEAR-POST-NO-MATCH] = clear POST filename variables if no match is found