[asterisk-users] AMI 'meetme list concise' hanging

Matthew Jordan mjordan at digium.com
Mon Sep 7 13:22:47 CDT 2015


On Mon, Aug 31, 2015 at 10:52 AM, Steve Edwards
<asterisk.org at sedwards.com> wrote:
> I have a problem with AMI 'meetme list concise' hanging. I'm running
> Asterisk 11.15.1, and PHPAGI 2.20.
>
> The AMI stuff is in the file phpagi-asmanager.php, which says it is v 1.10
> 2005/05/25.
>
> Here's the relevant snippet of my PHP code:
>
> // get list of conferences
>                 if      ($debug)
>                         {
>                         echo 'getting list of conferences' . PHP_EOL;
>                         }
>                 $response = $ami->command("meetme list concise");
>                 if      ($debug)
>                         {
>                         echo 'got list of conferences' . PHP_EOL;
>                         }
>
> I never get to 'got.'
>
> 1) Is this the current / best version of the PHP AMI interface?
>
> 2) Is this a 'known issue' with either Asterisk 11.15.1 or PHPAGI 2.20?

I'm not aware of this issue in a recent version of Asterisk (where
11.15.1 is relatively recent). It may be worth looking at the Asterisk
logs to see if the command is returning. If so, then the issue may
just be in the underlying PHP library.

> 3) Can I set some sort of timer to abort the AMI command if it takes longer
> that a second or two?
>
> 4) Is there a better 'work-around?'
>
> --
> Thanks in advance,
> -------------------------------------------------------------------------
> Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
>
> --
> _____________________________________________________________________
> -- 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



-- 
Matthew Jordan
Digium, Inc. | Director of Technology
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org



More information about the asterisk-users mailing list