api,call: new Deflect() method
This method allows deflecting an incoming or waiting call to a different number.
This commit is contained in:
@@ -1387,6 +1387,7 @@ typedef enum { /*< underscore_name=mm_call_state >*/
|
||||
* @MM_CALL_STATE_REASON_ERROR: Wrong number or generic network error.
|
||||
* @MM_CALL_STATE_REASON_AUDIO_SETUP_FAILED: Error setting up audio channel.
|
||||
* @MM_CALL_STATE_REASON_TRANSFERRED: Call has been transferred. Since 1.12.
|
||||
* @MM_CALL_STATE_REASON_DEFLECTED: Call has been deflected to a new number. Since 1.12.
|
||||
*
|
||||
* Reason for the state change in the call.
|
||||
*/
|
||||
@@ -1400,6 +1401,7 @@ typedef enum { /*< underscore_name=mm_call_state_reason >*/
|
||||
MM_CALL_STATE_REASON_ERROR = 6,
|
||||
MM_CALL_STATE_REASON_AUDIO_SETUP_FAILED = 7,
|
||||
MM_CALL_STATE_REASON_TRANSFERRED = 8,
|
||||
MM_CALL_STATE_REASON_DEFLECTED = 9,
|
||||
} MMCallStateReason;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user