10 #ifndef TAF_VOICECALL_COMMON_H_INCLUDE_GUARD 11 #define TAF_VOICECALL_COMMON_H_INCLUDE_GUARD 19 #define IFGEN_TAF_VOICECALL_PROTOCOL_ID "9d88c6710fe7cde0980776c02d1464d1" 20 #define IFGEN_TAF_VOICECALL_MSG_SIZE 38 29 #define TAF_VOICECALL_EVENT_CONNECTED 2 35 #define TAF_VOICECALL_EVENT_TERMINATED 3 41 #define TAF_VOICECALL_EVENT_BUSY 5 48 #define TAF_VOICECALL_TERM_NETWORK_FAIL 1 54 #define TAF_VOICECALL_TERM_BAD_ADDRESS 2 60 #define TAF_VOICECALL_TERM_BUSY 3 66 #define TAF_VOICECALL_TERM_LOCAL_ENDED 4 72 #define TAF_VOICECALL_TERM_REMOTE_ENDED 5 78 #define TAF_VOICECALL_TERM_UNDEFINED 6 391 #endif // TAF_VOICECALL_COMMON_H_INCLUDE_GUARD LE_SHARED taf_voicecall_StateHandlerRef_t ifgen_taf_voicecall_AddStateHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_voicecall_StateHandlerFunc_t handlerPtr, void *contextPtr)
Map to legacy bad address.
Definition: taf_voicecall_common.h:138
No remote response.
Definition: taf_voicecall_common.h:150
Not supported.
Definition: taf_voicecall_common.h:105
LE_SHARED le_result_t ifgen_taf_voicecall_Hold(le_msg_SessionRef_t _ifgen_sessionRef, taf_voicecall_CallRef_t reference)
Active call; map to legacy connected.
Definition: taf_voicecall_common.h:97
Call answer failed.
Definition: taf_voicecall_common.h:109
Map to legacy network fail.
Definition: taf_voicecall_common.h:136
Call hold failed.
Definition: taf_voicecall_common.h:117
LE_SHARED taf_voicecall_CallRef_t ifgen_taf_voicecall_Start(le_msg_SessionRef_t _ifgen_sessionRef, const char *LE_NONNULL destinationID, uint8_t phoneId)
Normal call end.
Definition: taf_voicecall_common.h:134
LE_SHARED void ifgen_taf_voicecall_CleanupCommonData(le_msg_SessionRef_t _ifgen_sessionRef)
Call end failed.
Definition: taf_voicecall_common.h:107
On hold call.
Definition: taf_voicecall_common.h:113
taf_voicecall_Event_t
Definition: taf_voicecall_common.h:93
Incoming call; not answered yet.
Definition: taf_voicecall_common.h:111
Call rejected.
Definition: taf_voicecall_common.h:148
void(* taf_voicecall_StateHandlerFunc_t)(taf_voicecall_CallRef_t reference, const char *LE_NONNULL identifer, taf_voicecall_Event_t event, void *contextPtr)
Definition: taf_voicecall_common.h:169
LE_SHARED le_result_t ifgen_taf_voicecall_Delete(le_msg_SessionRef_t _ifgen_sessionRef, taf_voicecall_CallRef_t reference)
End cause undefined for TelAF.
Definition: taf_voicecall_common.h:146
LE_SHARED le_result_t ifgen_taf_voicecall_End(le_msg_SessionRef_t _ifgen_sessionRef, taf_voicecall_CallRef_t reference)
Call resume failed.
Definition: taf_voicecall_common.h:119
Call swap failed.
Definition: taf_voicecall_common.h:121
LE_SHARED le_result_t ifgen_taf_voicecall_GetEndCause(le_msg_SessionRef_t _ifgen_sessionRef, taf_voicecall_CallRef_t reference, taf_voicecall_CallEndCause_t *causePtr)
Not supported.
Definition: taf_voicecall_common.h:101
Waiting call; map to legacy busy.
Definition: taf_voicecall_common.h:103
LE_SHARED le_result_t ifgen_taf_voicecall_Resume(le_msg_SessionRef_t _ifgen_sessionRef, taf_voicecall_CallRef_t reference)
LE_SHARED void ifgen_taf_voicecall_RemoveStateHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_voicecall_StateHandlerRef_t handlerRef)
MO call; dialing.
Definition: taf_voicecall_common.h:115
struct taf_voicecall_StateHandler * taf_voicecall_StateHandlerRef_t
Definition: taf_voicecall_common.h:161
LE_SHARED bool ifgen_taf_voicecall_HasLocalBinding(void)
Call end.
Definition: taf_voicecall_common.h:99
struct taf_voicecall_Call * taf_voicecall_CallRef_t
Definition: taf_voicecall_common.h:85
LE_SHARED void ifgen_taf_voicecall_InitCommonData(void)
LE_SHARED le_result_t ifgen_taf_voicecall_Answer(le_msg_SessionRef_t _ifgen_sessionRef, taf_voicecall_CallRef_t reference)
LE_SHARED le_result_t ifgen_taf_voicecall_OpenSession(le_msg_SessionRef_t _ifgen_sessionRef, bool isBlocking)
Alerting call; MO only.
Definition: taf_voicecall_common.h:95
#define LE_NONNULL
Definition: le_basics.h:368
le_result_t
Definition: le_basics.h:45
Not supported.
Definition: taf_voicecall_common.h:142
struct le_msg_Session * le_msg_SessionRef_t
Definition: le_messaging.h:860
taf_voicecall_CallEndCause_t
Definition: taf_voicecall_common.h:132
#define LE_SHARED
Definition: le_basics.h:297
Not supported.
Definition: taf_voicecall_common.h:144
Remote busy.
Definition: taf_voicecall_common.h:140
LE_SHARED le_result_t ifgen_taf_voicecall_Swap(le_msg_SessionRef_t _ifgen_sessionRef, taf_voicecall_CallRef_t reference)