add call cancellation/hang-up code