Hi everyone,<div><br></div><div>I got HTTP AMI working fine here. For example this dials <a href="tel:1-415-999-8888" value="+14159998888" target="_blank">1-415-999-8888</a> and then sends to Extension 9999@from-internal:</div>
<div><br></div><div><font color="#3333ff"><a href="http://192.168.0.100:8088/asterisk/manager?action=command&originate&DAHDI/g0/14159998888&extension&9999@from-internal" target="_blank">http://192.168.0.100:8088/asterisk/manager?action=command&originate&DAHDI/g0/14159998888&extension&9999@from-internal</a></font></div>
<div><br></div><div>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. </div>
<div><br></div><div>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...</div>
<div><br></div><div>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?</div><div><br></div><div>Thanks a lot</div>