PHP Asterisk Manager Interface ( AMI ) supports synchronous command ( action )/ responses and asynchronous events using the pattern observer-listener. Supports commands with responses with multiple events. Very suitable for development of operator consoles and / or asterisk / channels / peers monitoring through SOA, etc
it seems that asterisk (or chan_sip) is not sending the response in the right way. for dahdi channels, a response with eventlist: start followed by events and terminated by an eventlist: complete is sent.
for sip channels, the events DO NOT HAVE the Event: and neither the ActionId: and EventList: options. I'll try to fill a bug report with digium about this
it seems that asterisk (or chan_sip) is not sending the response in the right way. for dahdi channels, a response with eventlist: start followed by events and terminated by an eventlist: complete is sent.
for sip channels, the events DO NOT HAVE the Event: and neither the ActionId: and EventList: options. I'll try to fill a bug report with digium about this