Module: kamailio
Branch: master
Commit: 7e447329d1a1281cdb84238dacdc5e045b9637d6
URL: https://github.com/kamailio/kamailio/commit/7e447329d1a1281cdb84238dacdc5e0…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2017-04-29T11:31:26+02:00
modules: readme files regenerated - presence ... [skip ci]
---
Modified: src/modules/presence/README
---
Diff: https://github.com/kamailio/kamailio/commit/…
[View More]7e447329d1a1281cdb84238dacdc5e0…
Patch: https://github.com/kamailio/kamailio/commit/7e447329d1a1281cdb84238dacdc5e0…
---
diff --git a/src/modules/presence/README b/src/modules/presence/README
index 35e4858..07ab870 100644
--- a/src/modules/presence/README
+++ b/src/modules/presence/README
@@ -898,12 +898,14 @@ if(method=="SUBSCRIBE")
4.3. pres_auth_status(watcher_uri, presentity_uri)
- The function checks if watcher is authorized to subscribe event
- 'presence' of presentity. Both watcher_uri and presentity_uri are
- pseudo variables. Function returns ACTIVE_STATUS, if subscription is
- allowed and PENDING_STATUS, TERMINATED_STATUS, or WAITING_STATUS
- otherwise. See presence/subscribe.h for the corresponding integer
- codes. In case of error, function returns -1.
+ The function checks if watcher URI is authorized to subscribe event
+ 'presence' of presentity URI. Both watcher_uri and presentity_uri can
+ be static strings or contain pseudo variables.
+
+ The function returns ACTIVE_STATUS, if subscription is allowed, and
+ PENDING_STATUS, TERMINATED_STATUS, or WAITING_STATUS otherwise. See
+ presence/subscribe.h for the corresponding integer codes. In case of
+ error, function returns -1.
This function can be used from REQUEST_ROUTE.
[View Less]
Module: kamailio
Branch: master
Commit: 7cccc82f1bdb8132d150f291158731b5c1aaa91e
URL: https://github.com/kamailio/kamailio/commit/7cccc82f1bdb8132d150f291158731b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-04-29T11:21:35+02:00
presence: documentation updates for pres_auth_status()
---
Modified: src/modules/presence/doc/presence_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/…
[View More]7cccc82f1bdb8132d150f291158731b…
Patch: https://github.com/kamailio/kamailio/commit/7cccc82f1bdb8132d150f291158731b…
---
diff --git a/src/modules/presence/doc/presence_admin.xml b/src/modules/presence/doc/presence_admin.xml
index f3b9d1a..0bedc37 100644
--- a/src/modules/presence/doc/presence_admin.xml
+++ b/src/modules/presence/doc/presence_admin.xml
@@ -1012,14 +1012,14 @@ if(method=="SUBSCRIBE")
<function moreinfo="none">pres_auth_status(watcher_uri, presentity_uri)</function>
</title>
<para>
- The function checks if watcher is authorized to subscribe
- event 'presence' of presentity. Both watcher_uri and
- presentity_uri are pseudo variables. Function returns
- ACTIVE_STATUS, if subscription is allowed and
- PENDING_STATUS, TERMINATED_STATUS, or WAITING_STATUS
- otherwise. See presence/subscribe.h for the
- corresponding integer codes. In case of error, function
- returns -1.
+ The function checks if watcher URI is authorized to subscribe
+ event 'presence' of presentity URI. Both watcher_uri and
+ presentity_uri can be static strings or contain pseudo variables.
+ </para>
+ <para>The function returns ACTIVE_STATUS, if subscription is allowed,
+ and PENDING_STATUS, TERMINATED_STATUS, or WAITING_STATUS otherwise.
+ See presence/subscribe.h for the corresponding integer codes. In case
+ of error, function returns -1.
</para>
<para>
This function can be used from REQUEST_ROUTE.
[View Less]