@lnicola commented on this pull request.


In src/modules/presence_mwi/add_events.c:

> @@ -116,6 +117,15 @@ int mwi_add_events(void)
 {
 	pres_ev_t event;
 
+	/* read default expires from presence, if exists */
+	int pres_default_expires = 3600;
+	modparam_t type = 0;
+	int *param = find_param_export(find_module_by_name("presence"), "default_expires", INT_PARAM, &type);
+	if ( param && (type == INT_PARAM) ) 
⬇️ Suggested change
-	if ( param && (type == INT_PARAM) ) 
+	if(param && type == INT_PARAM) 


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3003/review/852948965@github.com>