Store authentication on a field different than accountcode

Hi everydody,

I need to do double athentication of password when a user make a call, and store the password they use, I know that with ‘Authenticate’ commad I can store the password in accountcode field on CDR, but as I need double authentication only the second password gets stored, so the question is: Is there any way to specify in wich field store the password or concatenate both passwords into the same accountcode field? In wich version of Asterisk it could be done if possible?

Thanks for your help.


Authenticate the first time
Copy the CDR(USERFIELD) into a temporary variable
Authenticate the seond time
Copy the CDR(USERFIELD) into a second temporary variable
Concatinate the first and second variables and write it back to the USERFIELD.

1 Like

:clap: :clap: :clap: :clap: :clap:
Simple and clever.