Ticket #869: Make various event/presence subscription time settings configurable (thanks Johan Lantz for the suggestion)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2730 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip/src/pjsip-simple/evsub.c b/pjsip/src/pjsip-simple/evsub.c
index e820ce0..d4dc8b4 100644
--- a/pjsip/src/pjsip-simple/evsub.c
+++ b/pjsip/src/pjsip-simple/evsub.c
@@ -105,16 +105,16 @@
*/
/* 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
/*