Executes a Perl function or script.
Perl(function[:arg1[:arg2[:...]]])
Perl(loadfile:filename[:arg1[:arg2[:...]]])
|
|
|
Use of |
Executes a function from the Asterisk::Embed Perl
module in
/usr/local/res_perl/modules/asterisk_init.pm or a
specfied Perl script (e.g.
demo.pl) from the
/usr/local/res_perl/apps/ directory. The advantage of
this over shell execution is that the interpreter need not be re-loaded
every time, which will improve performance.
The res_perl module is not necessarily compatible
with current Asterisk versions and will not be described further in this
book.
See also. the section called “System()”, the section called “AGI()”
[56] from http://www.pbxfreeware.org/; more details on its use may be found at http://www.voip-info.org/wiki-Asterisk+cmd+Perl