[sr-dev] [kamailio/kamailio] presence : add default_expires and use in the presence* modules (PR #3003)

Laurențiu Nicola notifications at github.com
Fri Jan 14 15:03:21 CET 2022


@lnicola commented on this pull request.



>      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) ) 

```suggestion
	if(param && type == INT_PARAM) 
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3003#pullrequestreview-852949116
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/3003/review/852949116 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220114/d6d5ad2f/attachment-0001.htm>


More information about the sr-dev mailing list