Install PortaOne on Asterisk - problem with ast-rad-acc.pl

Hi all!
I try to install PortaOne on my Astrisk1.4
But when I run ast-rad-acc.pl :

Can’t call method “val” on an undefined value at ./ast-rad-acc.pl line 302.

I can’t debug it…
Need some help

Thx