diff options
Diffstat (limited to 'pjsip/include')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h index a2424063..95d1398c 100644 --- a/pjsip/include/pjsua-lib/pjsua.h +++ b/pjsip/include/pjsua-lib/pjsua.h @@ -100,6 +100,8 @@ struct pjsua_call pjmedia_sock_info skinfo; /**< Preallocated media sockets. */ void *app_data; /**< Application data. */ + pj_timer_entry refresh_tm;/**< Timer to send re-INVITE. */ + pj_timer_entry hangup_tm; /**< Timer to hangup call. */ }; typedef struct pjsua_call pjsua_call; @@ -196,6 +198,8 @@ struct pjsua /* User Agent behaviour: */ int auto_answer; /**< Automatically answer in calls. */ + int uas_refresh; /**< Time to re-INVITE. */ + int uas_duration; /**< Max call duration. */ /* Account: */ pj_bool_t has_acc; /**< Any --id cmdline? */ |