rejectIncomingEverywhere

Reject / decline an incoming call.

The observer will be notified about the call state change.

On SIP, the call is rejected with “603 Declined”. On XMPP, it is rejected with “busy”.

After calling this method, the call should be closed. In case the call is rigning on multiple devices (forking), the PBX is supposed to send CANCEL packets to all ringing devices.

Return

true if the call was rejected or false if the call is already established or terminated.

Parameters

call

The call to reject.

reason

The hangup reason, for logging purposes.

See also


Deprecated

recommended to use rejectIncomingEverywhere in order to have more informative logging.