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:

<SIP/321-00000747>AGI Rx << EXEC SHARED callernum
    -- AGI Script Executing Application: (SHARED) Options: (callernum)
[Oct 19 00:06:13] WARNING[2638]: res_agi.c:1757 handle_exec: Could not
find application (SHARED)

Could you help me?
-- 
Appreciate your kindly advise and help.
Thanks & Regards
Sucan

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to