CDR Logging , Custom Fields - DISA Logging


#1

I want to log what authenticate code is used in my CDR-CSV file. My current DISA script is fairly straight forward:

exten => s,1,Authenticate(/home/supalogs/4passwords)
exten => s,2,DISA(no-password|from-internal)

How can I make it so CDR-CSV picks up which of my four passwords are used?


#2

what about:

a - Set account code to the password that is entered. The password will be stored in the CDR field “accountcode” and the channel variable ${ACCOUNTCODE} will be set.

where can I define account code…in my password file that I have created?