How to execute Asterisk Functions in PHPAGI

Home » Asterisk Users » How to execute Asterisk Functions in PHPAGI
Asterisk Users No Comments

Hi, all
I can use $agi->exec() to excute applications in Asterisk.
such as $agi->exec(“Set”,abc=1)

But how could i excute Asterisk Functions use agi functions? for example:

I want to excute SHARED function in PHPAGI. i use
$agi->exec(“SHARED”,callernum) to do it.

but failed with info:

AGI Rx << EXEC SHARED callernum