Voicemail externpass

I am trying to get “externpass” working and update mailbox passwords in my database.
Can anyone tell me what arguments to expect from asterisk?
Sample Perl code is highly appreciated.

Any Docs?

I wouldn’t call this documentation, but there is a hint at the end of this:

However, in Asterisk 1.4.26 I’m seeing only three parameters:

  • context
  • user
  • password


open FP, “>/tmp/text” or die $!;
$argc = @ARGV;
print FP “Received $argc parameters.\n”;

for ($i = 0; $i < $argc; $i++) {
print FP “$i:$ARGV[$i]\n”;
close FP;

Thank you.