HangUp action has been deprecated and it will be removed in a further release. Please update using CallUI.Button.
CallUI.Button.HangUp
HangUp action