Module: kamailio
Branch: master
Commit: c349530a1419c23bd4fb02c619788dadcae23f70
URL:
https://github.com/kamailio/kamailio/commit/c349530a1419c23bd4fb02c619788da…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2021-09-21T21:01:12+02:00
modules: readme files regenerated - kazoo ... [skip ci]
---
Modified: src/modules/kazoo/README
Modified: src/modules/registrar/README
---
Diff:
https://github.com/kamailio/kamailio/commit/c349530a1419c23bd4fb02c619788da…
Patch:
https://github.com/kamailio/kamailio/commit/c349530a1419c23bd4fb02c619788da…
---
diff --git a/src/modules/kazoo/README b/src/modules/kazoo/README
index ab9206a243..7497dd20e8 100644
--- a/src/modules/kazoo/README
+++ b/src/modules/kazoo/README
@@ -443,9 +443,9 @@ modparam("kazoo", "amqp_connection",
"kazoo://guest:guest@otherhost:5672")
handles control to the next sub-loop.
...
while(true) // main loop
- while(ACK or timeout) // acknowledge from worker process
- while(SEND or timeout) // anything to send ?
- while(CONSUME or timeout) // any data on consumed exchanges ?
+while(ACK or timeout) // acknowledge from worker process
+while(SEND or timeout) // anything to send ?
+while(CONSUME or timeout) // any data on consumed exchanges ?
...
4.2.1. amqp_consumer_loop_count(int)
@@ -652,11 +652,11 @@ modparam("kazoo", "pua_mode", 0)
Example 1.22. kazoo_publish usage
...
-$var(amqp_payload_request) = "{'Event-Category' : 'directory',
'Event-Name' : 'r
-eg_success', 'Contact' : '" + $var(fs_contact) + "',
'Call-ID' : '" + $ci + "',
-'Realm' : '" + $fd +"', 'Username' : '" + $fU
+ "', 'From-User' : '" + $fU + "',
- 'From-Host' : '" + $fd + "', 'To-User' : '" +
$tU +"', 'To-Host' : '" + $td + "
-', 'User-Agent' : '" + $ua +"' ," +
$var(register_contants)+ " }";
+$var(amqp_payload_request) = $_s({"Event-Category" : "directory",
"Event-Name" :
+ "reg_success", "Contact" :
"$(ct{s.escape.common}{s.replace,\','}{s.replace,$$,
+})", "Call-ID" : "$ci", "Realm" : "$fd",
"Username" : "$fU", "From-User" : "$fU"
+, "From-Host" : "$fd", "To-User" : "$tU",
"To-Host" : "$td", "User-Agent" : "$(u
+a{s.escape.common}{s.replace,\','}{s.replace,$$,})" });
$var(amqp_routing_key) = "registration.success." + $(fd{kz.encode}) +
"." + $fU;
kazoo_publish("callmgr", $var(amqp_routing_key), $var(amqp_payload_request));
...
diff --git a/src/modules/registrar/README b/src/modules/registrar/README
index 94ab08ab3c..7643dfee4f 100644
--- a/src/modules/registrar/README
+++ b/src/modules/registrar/README
@@ -725,15 +725,20 @@ modparam("registrar", "reg_callid_avp",
"$avp(s:avp)")
Defines the name of XAVP class to store runtime module config values.
The values are stored as inner XAVPs, like $xavp(class=>attribute).
Valid inner XAVP names:
- * expires - the number of maximum contacts to be stored for the
- current registration AoR. It overwrites the 'max_contacts' module
- parameter value.
- * q - the expires value, to overwrite the value from SIP headers.
+ * match_callid - filter contacts by callid. Used in registered().
+ * match_contact - filter contacts by contact. Used in registered().
+ * match_received - filter contacts by received. Used in registered().
+ * rlf_bflags - filter contacts by branch flags. Used in lookup().
+ * q - q value of contact (integer 0-1000). It overrides q value given
+ in contact header and default_q parameter. Used in save().
+ * expires - the expires value, to overwrite the value from SIP
+ headers. Used in save().
* max_contacts - the number of maximum contacts to be stored for the
current registration AoR. It overwrites the 'max_contacts' module
- parameter value.
+ parameter value. Used in save().
* socket - the string representing the socket on which the register
- request was received, as alternative to using the sock_hdr.
+ request was received, as alternative to using the sock_hdr. Used in
+ save().
For example. if this parameter is set to 'reg', then the number of
maximum contacts can be set in $xavp(reg=>max_contacts).
@@ -1120,7 +1125,7 @@ lookup_branches("location");
* uri (optional) - SIP URI to do be used instead of Request/To-URI.
It can be a dynamic string with pseudo-variables.
* match_option (optional) - flag parameter to restrict contact
- search. use reg_xavp_cfg to set the values to compare to.
+ search. use xavp_cfg to set the values to compare to.
flag values is as follows:
+ 1 - match_callid
+ 2 - match_received