Added --uas-duration and --uas-refresh option (the later is broken)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@305 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index a242406..95d1398 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -100,6 +100,8 @@
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 @@
/* 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? */