Re: [asterisk-users] Where can I find some good examples of listening to AMI events via PHP how to listen to a specific event?

2012-02-24 Thread virendra bhati
hi,

it will help you ..
http://www.micpc.com/eventmonitor/

On Fri, Feb 24, 2012 at 9:38 AM, Ast Coder asteriskcod...@gmail.com wrote:

 Hi everyone,

 I got HTTP AMI working fine here. For example this dials 1-415-999-and 
 then sends to Extension @from-internal
 :


 http://192.168.0.100:8088/asterisk/manager?action=commandoriginateDAHDI/g0/1415999extension@from-internal

 However, I want to have some control over this call. I want to be notified
 the moment this call is hangup. I guess there would be a hangup event
 generated. I am not sure if that would be done through action:waitevent? or
 if there is another method.

 I am also looking for some php samples on listening for these events as I
 am trying to create a Web GUI for a dialer that will allow me to show
 status of a call in real-time like Call In Progress, Call Ended, etc...

 I see that too many events are generated and I am wondering if there is an
 easy way of listening for a particular event? Would that be ActionID? if
 so, how to use it?

 Thanks a lot

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




-- 

Thanks and regards

 Virendra Bhati
+91-8885268942
Software Engineer
E-mail-: virbh...@gmail.com
Skype id:- virbhati2
--
_
-- 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

[asterisk-users] Where can I find some good examples of listening to AMI events via PHP how to listen to a specific event?

2012-02-23 Thread Ast Coder
Hi everyone,

I got HTTP AMI working fine here. For example this dials 1-415-999- and
then sends to Extension @from-internal:

http://192.168.0.100:8088/asterisk/manager?action=commandoriginateDAHDI/g0/1415999extension@from-internal

However, I want to have some control over this call. I want to be notified
the moment this call is hangup. I guess there would be a hangup event
generated. I am not sure if that would be done through action:waitevent? or
if there is another method.

I am also looking for some php samples on listening for these events as I
am trying to create a Web GUI for a dialer that will allow me to show
status of a call in real-time like Call In Progress, Call Ended, etc...

I see that too many events are generated and I am wondering if there is an
easy way of listening for a particular event? Would that be ActionID? if
so, how to use it?

Thanks a lot
--
_
-- 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