ami_OnStopCallback Type Declaration typedef void (*ami_OnStopCallback)( ami_Session inAmiSession, ami_Method inAmiMethod, void * inpUserData, ami_Subscription inAmiSubscription ); Purpose This is the prototype for the optional AMI asynchronous method on stop callback function. These functions are called whenever a subscription is stopped. The application should perform any necessary clean-up required when terminating a subscription. This callback should return AMI_OK if no error, otherwise an ami_Error describing the failure. Parameters Parameter Description inAmiSession Handle of AMI session. inAmiMethod Handle of AMI method. inpUserData User data associated with the method. inAmiSubscription Asynchronous method subscription.