From 8da60f5a0a55fa2d5bb084b8215b96ec4c032161 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Mon, 10 Jul 2023 10:48:46 +0200 Subject: [PATCH] msilo: docs for m_store_addrs() --- src/modules/msilo/doc/msilo_admin.xml | 43 +++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/src/modules/msilo/doc/msilo_admin.xml b/src/modules/msilo/doc/msilo_admin.xml index abd3e45bbff..189ee5ee9e6 100644 --- a/src/modules/msilo/doc/msilo_admin.xml +++ b/src/modules/msilo/doc/msilo_admin.xml @@ -731,6 +731,49 @@ m_store(...); m_store(); m_store("$tu"); ... + + + +
+ <function moreinfo="none">m_store_addrs(owner, srcaddr, dstaddr)</function> + + Similar to m_store(), but instead of getting source user address from + From-URI and destination user address from To_URI, this function allows + to give them via parameters. + + Meaning of the parameters is as follows: + + + + owner - is a string that must contain + a SIP URI in whose inbox the message will be stored. It can have + any pseudo variable. + + + + + srcaddr - is a string that must contain + a SIP URI corresponding to From user. It can have + any pseudo variable. + + + + + dstaddr - is a string that must contain + a SIP URI correspinding to To user. It can have + any pseudo variable. + + + + + This function can be used from REQUEST_ROUTE, FAILURE_ROUTE. + + + <function>m_store_addrs</function> usage + +... +m_store_addrs("sip:$rU@a.com", "sip:$fU@a.com", "sip:$tU@a.com"); +...