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:
issues.asterisk.org/view.php?id=8758

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

  • context
  • user
  • password

[code]#!/usr/bin/perl

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;
[/code]

Thank you.