PAMI
PAMI copied to clipboard
Asterisk12 async agi events
Coverage decreased (-6.2%) to 91.956% when pulling d6628293b0eabf9dc2c1a99bc3821761efbe4fce on ilgiz-badamshin:asterisk12 into f8b5999a7800cc0b92b061218f269dff7a86cd6a on marcelog:master.
Hello,
Thanks for the pull. Could you please provide a description for the changes and also unit tests?
Cheers,
Asterisk 12+ trigger AsyncAGIStartEvent instead AsyncEvent with sub event "Start". And it trigger AsyncAGIExecEvent where we should handle lastCommmandId. So extracted two interfaces to detect this events. Also added "ASYNCAGI BREAK" call in AsyncClientImpl to return control to dialplan: https://wiki.asterisk.org/wiki/display/AST/AGICommand_asyncagi+break