AMI issues

Hi team,

how to capture any specific Response of an event like i am logging in an agent from AMI and now i want to capture agent logged in reponse, is it success or failed…
the real problem is that there are many messages coming , how can i get my reponse on specific action, i also set Action id, but dont know how to get reponse?

Regards,
Jehanzaib

action_id should do the trick. I would dissect the messages a bit to see if you are getting what you set in the response packet.

How would you do that? kindly guide me or send me the code in php so i can start working, i will really appreaciate you thanks

Regards,

Jehanzaib

unfortunately i am not going to code your project for you. You can set an action_id in the action and asterisk will echo it back in the response/event.

take a look at the AMI docs and all your questions will be answered.