This commits improves tracking and handling of call states. It also adds three commands to automatically handle incoming calls while there's already an active call and fixes a buffer overflow from mishandling the remote party number when multiple calls are active.
New options in the chat:
callwait mode default: Let the host's userspace handle call waiting (same behaviour as before, some apps don't support call waiting and may crash)
callwait auto ignore: Automatically send a message to the user informing about the call, but don't pass call notification to the host while another call is in progress. The other party will hear a dialing tone but the user will only get the message about the call. This avoids gnome-calls from crashing
callwait auto hangup: Automatically send a message to the user informing about the call, and reject it. That way there can't be a ghost call if the user terminates the call before the other party hangs up. The call rejection will take about 1/2 tone, so the remote party may not see a busy but a hang up (depending on network)"
This commits improves tracking and handling of call states. It also adds three commands to automatically handle incoming calls while there's already an active call and fixes a buffer overflow from mishandling the remote party number when multiple calls are active. New options in the chat: