From eccc9bdf7f99002d501ded2d37c74aa97c09faf9 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Mon, 1 Jun 2009 15:39:52 +0000 Subject: Ticket #869: Make various event/presence subscription time settings configurable (thanks Johan Lantz for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2730 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/src/pjsip-simple/evsub.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pjsip/src/pjsip-simple/evsub.c') diff --git a/pjsip/src/pjsip-simple/evsub.c b/pjsip/src/pjsip-simple/evsub.c index e820ce0f..d4dc8b4b 100644 --- a/pjsip/src/pjsip-simple/evsub.c +++ b/pjsip/src/pjsip-simple/evsub.c @@ -105,16 +105,16 @@ static pj_str_t evsub_state_names[] = */ /* Number of seconds to send SUBSCRIBE before the actual expiration */ -#define TIME_UAC_REFRESH 5 +#define TIME_UAC_REFRESH PJSIP_EVSUB_TIME_UAC_REFRESH /* Time to wait for the final NOTIFY after sending unsubscription */ -#define TIME_UAC_TERMINATE 5 +#define TIME_UAC_TERMINATE PJSIP_EVSUB_TIME_UAC_TERMINATE /* If client responds NOTIFY with non-2xx final response (such as 401), * wait for this seconds for further NOTIFY, otherwise client will * unsubscribe */ -#define TIME_UAC_WAIT_NOTIFY 5 +#define TIME_UAC_WAIT_NOTIFY PJSIP_EVSUB_TIME_UAC_WAIT_NOTIFY /* -- cgit v1.2.3