Hello, I want to use this fork of phpagi:
Examples are much older and they link to a file phpagi-asmanager.php which is not there.
If I try this code:
require_once('../manager.php');
$astman = new AGI_AsteriskManager();
then I get:
Class 'AGI_AsteriskManager' not found error
tm1000
(Andrew Nagy)
3
You can’t use the examples unfortunately and it’s not documented how to use that.
Thank you for explaining this. Can you tell me how Sangoma phpagi is related to this: https://git.freepbx.org/projects/FREEPBX/repos/framework/browse/amp_conf/htdocs/admin/libraries/php-asmanager.php ?
And what part of this code could be removed in this file when I want to use it also in a pure Asterisk system?
tm1000
(Andrew Nagy)
5
Use what you’ve already posted https://github.com/sangoma/phpagi
You can’t use php-asmanager.php directly.
But I don’t know how to link this library into my project…
system
(system)
Closed
7
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.