Module: kamailio
Branch: master
Commit: 60abf767988dba052d7e08c386a589c1aeb711ef
URL: https://github.com/kamailio/kamailio/commit/60abf767988dba052d7e08c386a589c…
Author: Nikolay Ivanuschak <ivanuschak.nikolay(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-07-14T14:47:12+02:00
geoip2: added distance function
Added distance function which allows to calculate the distance
between the geocoordinates of the the IP-address passed as
incoming parameter (coordinates for the IP are determined inside
the function) and the geocoordinates passed as parameters for the function.
---
Modified: src/modules/geoip2/doc/geoip2_admin.xml
Modified: src/modules/geoip2/geoip2_mod.c
Modified: src/modules/geoip2/geoip2_pv.c
Modified: src/modules/geoip2/geoip2_pv.h
---
Diff: https://github.com/kamailio/kamailio/commit/60abf767988dba052d7e08c386a589c…
Patch: https://github.com/kamailio/kamailio/commit/60abf767988dba052d7e08c386a589c…
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3491
-- Commit Summary --
* mohqueue: typo
* osp: typos
* p_usrloc: typo
* permissions: typos
* pike: typo
* presence: typo
* qos: typos
* ratelimit: typo
* regex: typos
* registrar: typos and formatting
* rls: typos
* rr: typo
* rtimer: typo
* rtp_media_server: typos
* ruxc: typos
* sca: typos
* seas: typo
* snmpstats: typos
* statsd: typo
* tcpops: typos
* textops: typos
-- File Changes --
M src/modules/mohqueue/doc/mohqueue_admin.xml (2)
M src/modules/osp/destination.c (2)
M src/modules/osp/doc/osp_admin.xml (4)
M src/modules/osp/orig_transaction.c (2)
M src/modules/osp/osp_mod.c (2)
M src/modules/osp/osptoolkit.h (2)
M src/modules/p_usrloc/udomain.c (2)
M src/modules/permissions/trusted.c (4)
M src/modules/permissions/trusted.h (2)
M src/modules/pike/doc/pike_devel.xml (2)
M src/modules/presence/doc/presence_admin.xml (2)
M src/modules/qos/doc/qos_devel.xml (6)
M src/modules/qos/qos.c (2)
M src/modules/qos/qos_cb.c (4)
M src/modules/qos/qos_handlers.c (2)
M src/modules/ratelimit/doc/ratelimit_admin.xml (2)
M src/modules/regex/regex_mod.c (6)
M src/modules/registrar/doc/registrar_admin.xml (21)
M src/modules/registrar/lookup.c (4)
M src/modules/registrar/save.c (2)
M src/modules/registrar/save.h (2)
M src/modules/rls/notify.c (2)
M src/modules/rls/resource_notify.c (6)
M src/modules/rls/rls.c (4)
M src/modules/rls/subscribe.c (2)
M src/modules/rr/doc/rr_devel.xml (2)
M src/modules/rtimer/doc/rtimer_admin.xml (2)
M src/modules/rtp_media_server/doc/rtp_media_server_admin.xml (4)
M src/modules/rtp_media_server/rms_sdp.c (2)
M src/modules/rtp_media_server/rtp_media_server.c (6)
M src/modules/ruxc/doc/ruxc_admin.xml (8)
M src/modules/sca/sca_call_info.c (2)
M src/modules/sca/sca_subscribe.c (4)
M src/modules/sca/sca_util.c (2)
M src/modules/seas/event_dispatcher.c (2)
M src/modules/snmpstats/snmpObjects.c (2)
M src/modules/snmpstats/snmpstats.c (2)
M src/modules/statsd/doc/statsd_admin.xml (2)
M src/modules/tcpops/doc/params.xml (2)
M src/modules/tcpops/doc/tcpops.xml (2)
M src/modules/textops/api.h (2)
M src/modules/textops/doc/textops_admin.xml (2)
M src/modules/textopsx/api.h (2)
M src/modules/textopsx/doc/functions.xml (12)
M src/modules/textopsx/textopsx.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3491.patchhttps://github.com/kamailio/kamailio/pull/3491.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3491
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3491(a)github.com>
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…
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
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…
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>