diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-06-01 15:39:52 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-06-01 15:39:52 +0000 |
commit | eccc9bdf7f99002d501ded2d37c74aa97c09faf9 (patch) | |
tree | 40a3e480dbb4d87aac4030ae175d87abb7ac7a3a /pjsip/src/pjsip-simple/evsub.c | |
parent | 3b3152d904a6e0da0946cd9dca64275586cde0ef (diff) |
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
Diffstat (limited to 'pjsip/src/pjsip-simple/evsub.c')
-rw-r--r-- | pjsip/src/pjsip-simple/evsub.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 /* |