Android 5: headset's button mutes an active phonecall instead of ending the call
ok so apparently I can still end a call with a long press of the headset's button.

I wonder if there is any way to tweak these settings.