Module: kamailio Branch: master Commit: c57e61deb953b20fe22b3da79b11ef5a1accf28e URL: https://github.com/kamailio/kamailio/commit/c57e61deb953b20fe22b3da79b11ef5a1accf28e
Author: Kamailio Dev <[email protected]> Committer: Kamailio Dev <[email protected]> Date: 2026-06-11T09:46:06+02:00 modules: readme files regenerated - siprepo ... [skip ci] --- Modified: src/modules/siprepo/README --- Diff: https://github.com/kamailio/kamailio/commit/c57e61deb953b20fe22b3da79b11ef5a1accf28e.diff Patch: https://github.com/kamailio/kamailio/commit/c57e61deb953b20fe22b3da79b11ef5a1accf28e.patch --- diff --git a/src/modules/siprepo/README b/src/modules/siprepo/README index 1c3bf2cd88c..2d3948899fe 100644 --- a/src/modules/siprepo/README +++ b/src/modules/siprepo/README @@ -37,6 +37,7 @@ Daniel-Constantin Mierla 4.3. sr_msg_async_pull(callid, msgid, gname, rname, rmode) 4.4. sr_msg_rm(callid, msgid) 4.5. sr_msg_check() + 4.6. sr_msg_match(mode) List of Examples @@ -49,6 +50,7 @@ Daniel-Constantin Mierla 1.7. sr_msg_async_pull() usage 1.8. sr_msg_rm() usage 1.9. sr_msg_check() usage + 1.10. sr_msg_match() usage Chapter 1. Admin Guide @@ -74,6 +76,7 @@ Chapter 1. Admin Guide 4.3. sr_msg_async_pull(callid, msgid, gname, rname, rmode) 4.4. sr_msg_rm(callid, msgid) 4.5. sr_msg_check() + 4.6. sr_msg_match(mode) 1. Overview @@ -154,6 +157,7 @@ modparam("siprepo", "timer_procs", 2) 4.3. sr_msg_async_pull(callid, msgid, gname, rname, rmode) 4.4. sr_msg_rm(callid, msgid) 4.5. sr_msg_check() + 4.6. sr_msg_match(mode) 4.1. sr_msg_push(msgid, rmode) @@ -230,7 +234,7 @@ request_route { 4.5. sr_msg_check() - Check if the message is stored. + Check if the message is stored by matching the Call-Id. This function can be used from ANY_ROUTE. @@ -243,3 +247,24 @@ request_route { ... } ... + +4.6. sr_msg_match(mode) + + Check if the message is stored by matching first the Call-Id and then + match first Via branch parameter if mode is 1 (if no Via branch was + stored, then matching on Call-Id only returns success). + + Return: negative (false) on error or not found; positive (true) on + found (1 - matched on Call-Id; 2 - Matched on Call-Id and Via-branch). + + This function can be used from ANY_ROUTE. + + Example 1.10. sr_msg_match() usage +... +request_route { + ... + if(sr_msg_match("1")) { + } + ... +} +... _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
