summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-06-05 17:37:52 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-06-05 17:37:52 +0200
commit23beca80ead983d7500a9b63b1e420b9185d4b1c (patch)
treef8b729b21dc7e05d34261bddc2ffc051af02bc24 /include
parent439c2f9cb452c20155d7080930e79bee978b9983 (diff)
config: add "call_local_timeout" config option
the config option is used for incoming calls, if the call is not answered after X seconds. The default value is 120 seconds. If the value is set to 0 the timeout timer is not enabled.
Diffstat (limited to 'include')
-rw-r--r--include/baresip.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/baresip.h b/include/baresip.h
index 68cf423..d60b0a5 100644
--- a/include/baresip.h
+++ b/include/baresip.h
@@ -150,6 +150,11 @@ struct config_sip {
char cert[256]; /**< SIP Certificate */
};
+/** Call config */
+struct config_call {
+ uint32_t local_timeout; /**< Incoming call timeout [sec] 0=off */
+};
+
/** Audio */
struct config_audio {
char src_mod[16]; /**< Audio source module */
@@ -210,6 +215,8 @@ struct config {
struct config_sip sip;
+ struct config_call call;
+
struct config_audio audio;
#ifdef USE_VIDEO