deflect_sync
Description:
[ Version ( since = "1.12" ) ]
public bool deflect_sync (string number, Cancellable? cancellable = null) throws Error
public bool deflect_sync (string number, Cancellable? cancellable = null) throws Error
Synchronously requests to deflect the incoming call.
This call will be considered terminated once the deflection is performed.
The calling thread is blocked until an incoming call is ready. See deflect for the asynchronous version of this method.
Parameters:
this |
A Call. |
number |
new number where the call will be deflected. |
cancellable |
A Cancellable or |
Returns:
|