This function is called by the Audio Gateway service terminate a call.
DWORD BthAGNetworkHangupCall(DWORD dwFlags);
[in] A flag that specifies the call to terminate. The following table shows the possible flag options.
Flag options Description
Specifes that the active call must be terminated.
Specifies that a call that is on hold must be terminated.
Specifies that an incoming call must be terminated.
Specifies that the outcoming call must be terminated.
Specifies that all calls must be terminated.