Quote:
Originally Posted by rybshik
Please see attachment
|
OK. Found the problem.
More recent versions of Perl appear to be more strict about using uninitialized variables.
In calleridname.agi, the function $AGI->verbose() is used. But, all instances omit the verbose logging level parameter required by the function. Previous versions of Perl appear to overlook the fact that the parameter was not passed to the function. More recent versions of Perl warn about the using an uninitialized variable (in this case the undefined $level parameter).
The easiest fix would be to edit /var/lib/asterisk/agi-bin/calleridname.agi and change all instances of:
$AGI->verbose("some message")
to
$AGI->verbose("some message",1)
That will alleviate the constant warning messages generated when $AGI-verbose() is used in calleridname.agi.
See ya...
d.c.