summaryrefslogtreecommitdiff
path: root/pjsip/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-03-06 16:25:59 +0000
committerBenny Prijono <bennylp@teluu.com>2006-03-06 16:25:59 +0000
commitf6e88e0c3564207609925acae24798c84dbceb2b (patch)
tree0432c4c0dfd37744354cdc730f314622ac0d0136 /pjsip/include
parent094150d602cf3b5f6b8eff1ba128756c2c25b8b3 (diff)
Added --uas-duration and --uas-refresh option (the later is broken)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@305 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h4
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? */