Re: [asterisk-users] AGI and AMI in PHP -- What's current?

2014-11-18 Thread Eric Wieling
Other than a few minor patches, we use stock phpagi.  If you want simple, 
phpagi is the way to go.   

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Steve Edwards
Sent: Tuesday, November 18, 2014 3:34 PM
To: Asterisk Users Mailing List
Subject: [asterisk-users] AGI and AMI in PHP -- What's current?

I'm writing some code that needs to access AMI in PHP. (I'll probably be 
doing AGI later as well.)

I'm looking at phpagi (2.20), but it hasn't been updated since 2010 and 
appears to be a bit behind current Asterisk -- No event handler for event 
'fullybooted'.

What PHP framework/library are you using -- and why?

-- 
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

-- 
_
-- 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

-- 
_
-- 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


Re: [asterisk-users] AGI and AMI in PHP -- What's current?

2014-11-18 Thread Steve Edwards

On Tue, 18 Nov 2014, Eric Wieling wrote:


Other than a few minor patches, we use stock phpagi.


Can you spare me a flat spot on my forehead and share the wealth?

--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

--
_
-- 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


Re: [asterisk-users] AGI and AMI in PHP -- What's current?

2014-11-18 Thread Steve Edwards

On Tue, 18 Nov 2014, Eric Wieling wrote:


diff at http://pastebin.com/wfDR6u0a


--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

--
_
-- 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


Re: [asterisk-users] AGI and AMI in PHP -- What's current?

2014-11-18 Thread Johan Wilfer

Den 2014-11-18 21:33, Steve Edwards skrev:

I'm writing some code that needs to access AMI in PHP. (I'll probably be
doing AGI later as well.)

I'm looking at phpagi (2.20), but it hasn't been updated since 2010 and
appears to be a bit behind current Asterisk -- No event handler for
event 'fullybooted'.

What PHP framework/library are you using -- and why?



I use these, works very well:

https://github.com/marcelog/PAGI
https://github.com/marcelog/PAMI

More modern, uses composer, does get updates.

--
Johan Wilfer


--
_
-- 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