Module: kamailio
Branch: master
Commit: 1335e93a76d051cb724bc696ac857aa7c3a3f43e
URL: https://github.com/kamailio/kamailio/commit/1335e93a76d051cb724bc696ac857aa…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2023-07-13T17:46:27+02:00
modules: readme files regenerated - imc ... [skip ci]
---
Modified: src/modules/imc/README
---
Diff: https://github.com/kamailio/kamailio/commit/1335e93a76d051cb724bc696ac857aa……
[View More]Patch: https://github.com/kamailio/kamailio/commit/1335e93a76d051cb724bc696ac857aa…
---
diff --git a/src/modules/imc/README b/src/modules/imc/README
index 6fa83d72aa6..a62f56d429f 100644
--- a/src/modules/imc/README
+++ b/src/modules/imc/README
@@ -46,6 +46,7 @@ Joey Golan
4.1. imc_manager()
4.2. imc_room_active(room)
+ 4.3. imc_room_member(room, user)
5. RPC Commands
@@ -73,7 +74,8 @@ Joey Golan
1.10. Set check_on_create parameter
1.11. Usage of imc_manager() function
1.12. Usage of imc_room_active() function
- 1.13. List of commands
+ 1.13. Usage of imc_room_member() function
+ 1.14. List of commands
Chapter 1. Admin Guide
@@ -102,6 +104,7 @@ Chapter 1. Admin Guide
4.1. imc_manager()
4.2. imc_room_active(room)
+ 4.3. imc_room_member(room, user)
5. RPC Commands
@@ -289,6 +292,7 @@ modparam("imc", "check_on_create", 1)
4.1. imc_manager()
4.2. imc_room_active(room)
+ 4.3. imc_room_member(room, user)
4.1. imc_manager()
@@ -329,6 +333,21 @@ if(is_method("MESSAGE)
}
...
+4.3. imc_room_member(room, user)
+
+ Return 1 (true) if the user is member of the room, -1 (false) if the
+ user is not member of the room. The parameters are the SIP URIs to
+ identify the room and the user, they can contain variables.
+
+ This function can be used from ANY_ROUTE.
+
+ Example 1.13. Usage of imc_room_member() function
+...
+ if(imc_room_member("sip:chat-sip@$fd", "sip:$rU@$rd")) {
+ ...
+ }
+...
+
5. RPC Commands
5.1. imc.list_rooms
@@ -377,7 +396,7 @@ kamcmd imc_list_members _room_
Next picture presents the list of commands and their parameters.
- Example 1.13. List of commands
+ Example 1.14. List of commands
...
1.create
[View Less]
Module: kamailio
Branch: master
Commit: 27a4fc543cb60636308e587523236b1ac4d56754
URL: https://github.com/kamailio/kamailio/commit/27a4fc543cb60636308e587523236b1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-07-13T17:41:16+02:00
imc: docs for imc_room_member()
---
Modified: src/modules/imc/doc/imc_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/27a4fc543cb60636308e587523236b1……
[View More]Patch: https://github.com/kamailio/kamailio/commit/27a4fc543cb60636308e587523236b1…
---
diff --git a/src/modules/imc/doc/imc_admin.xml b/src/modules/imc/doc/imc_admin.xml
index 1b485ac77ca..d77c3028b9b 100644
--- a/src/modules/imc/doc/imc_admin.xml
+++ b/src/modules/imc/doc/imc_admin.xml
@@ -332,6 +332,29 @@ if(is_method("MESSAGE)
...
}
...
+</programlisting>
+ </example>
+ </section>
+ <section>
+ <title id="imc.p.imc_room_member">
+ <function moreinfo="none">imc_room_member(room, user)</function>
+ </title>
+ <para>
+ Return 1 (true) if the user is member of the room, -1 (false) if the
+ user is not member of the room. The parameters are the SIP URIs to
+ identify the room and the user, they can contain variables.
+ </para>
+ <para>
+ This function can be used from ANY_ROUTE.
+ </para>
+ <example>
+ <title>Usage of <varname>imc_room_member()</varname> function</title>
+ <programlisting format="linespecific">
+...
+ if(imc_room_member("sip:chat-sip@$fd", "sip:$rU@$rd")) {
+ ...
+ }
+...
</programlisting>
</example>
</section>
[View Less]
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, …
[View More]tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [x] Commit message has the format required by CONTRIBUTING guide
- [x] Commits are split per component (core, individual modules, libs, utils, ...)
- [x] Each component has a single commit (if not, squash them into one commit)
- [x] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [x] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [x] PR should be backported to stable branches
- [ ] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3489
-- Commit Summary --
* siptrace: fix pseudo var direction attribute length
-- File Changes --
M src/modules/siptrace/siptrace.c (4)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3489.patchhttps://github.com/kamailio/kamailio/pull/3489.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3489
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3489(a)github.com>
[View Less]