]> sjero.net Git - linphone/blobdiff - coreapi/private.h
add automatic tone user indications
[linphone] / coreapi / private.h
index 13087dc0497efac9e6f9d8acabe60b1b644ccdea..5e265c616cb0b930b353257e4799c50fb68514e7 100644 (file)
@@ -211,6 +211,7 @@ struct _LinphoneCall
        bool_t was_automatically_paused;
        bool_t ping_replied;
        bool_t record_active;
+       bool_t paused_by_app;
 };
 
 
@@ -678,6 +679,8 @@ void ec_calibrator_destroy(EcCalibrator *ecc);
 
 void linphone_call_background_tasks(LinphoneCall *call, bool_t one_second_elapsed);
 void linphone_core_preempt_sound_resources(LinphoneCore *lc);
+int _linphone_core_pause_call(LinphoneCore *lc, LinphoneCall *call);
+
 /*conferencing subsystem*/
 void _post_configure_audio_stream(AudioStream *st, LinphoneCore *lc, bool_t muted);
 /* When a conference participant pause the conference he may send a music.
@@ -718,6 +721,15 @@ void linphone_chat_message_store_state(LinphoneChatMessage *msg);
 void linphone_core_message_storage_init(LinphoneCore *lc);
 void linphone_core_message_storage_close(LinphoneCore *lc);
 
+typedef enum _LinphoneToneID{
+       LinphoneToneBusy,
+       LinphoneToneCallWaiting,
+       LinphoneToneCallOnHold,
+       LinphoneToneCallFailed
+}LinphoneToneID;
+void linphone_core_play_named_tone(LinphoneCore *lc, LinphoneToneID id);
+bool_t linphone_core_tone_indications_enabled(LinphoneCore*lc);
+
 #ifdef __cplusplus
 }
 #endif