welltime / phpagi

PHPAGI is a PHP class for the Asterisk Gateway Interface. The package is available for use and distribution under the terms of the GNU Public License.
GNU Lesser General Public License v2.1
58 stars 93 forks source link

Support events for asterisk 14 and newer #23

Closed DmitryMCN closed 4 years ago

DmitryMCN commented 5 years ago

Support events for asterisk 14 and newer

FreeSS commented 5 years ago

Related to https://github.com/welltime/phpagi/issues/17

slesru commented 5 years ago

Hello!

I tested it and connection looks good now.

There is another issue with data handling. If I ask meetme list 4404:

require "phpagi-asmanager.php";

$as = new AGI_AsteriskManager(); $res = $as->connect(); $room = 4404;

print $room;

$res=$as->Command('meetme list '.$room); print $res['data'];

I get php -f test.php User # 1 users in that conference.

While right output is meetme list 4404 User #: 01 6401 D.Melekhov Channel: DAHDI/i1/6401-30 (not talking) 00:05:40 1 users in that conference.

Anyway, I rewrote my code without phpagi long time ago :-)

Thank you!