Use Refuse instead of hangup while ringing
The client uses "hangup" to end a call in all states. However for incoming ringing calls, the ending should be done through "refuse".
The client uses "hangup" to end a call in all states. However for incoming ringing calls, the ending should be done through "refuse".