Module: kamailio
Branch: master
Commit: 2dbaa727a38e29da0f887fa5d0d8d20392839f9b
URL: 
https://github.com/kamailio/kamailio/commit/2dbaa727a38e29da0f887fa5d0d8d20392839f9b

Author: Henning Westerholt <h...@gilawa.com>
Committer: Henning Westerholt <h...@gilawa.com>
Date: 2023-07-05T07:04:46Z

tm: remove obselete comment, add clarification for reply_wait mode 2

---

Modified: src/modules/tm/rpc_uac.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/2dbaa727a38e29da0f887fa5d0d8d20392839f9b.diff
Patch: 
https://github.com/kamailio/kamailio/commit/2dbaa727a38e29da0f887fa5d0d8d20392839f9b.patch

---

diff --git a/src/modules/tm/rpc_uac.c b/src/modules/tm/rpc_uac.c
index ce22b6121c1..d461d123a13 100644
--- a/src/modules/tm/rpc_uac.c
+++ b/src/modules/tm/rpc_uac.c
@@ -626,12 +626,12 @@ static void rpc_uac_block_callback(
  * only if reply_wait is set to 1. Otherwise the rpc reply will be sent
  * immediately and it will be success if the parameters were ok and t_uac did
  * not report any error.
- * Note: reply waiting (reply_wait==1) is not yet supported.
  * @param rpc - rpc handle
  * @param  c - rpc current context
  * @param reply_wait - if 1 do not generate a rpc reply until final response
  *                     for the transaction arrives, if 0 immediately send
- *                     an rpc reply (see above).
+ *                     an rpc reply (see above). If 2 blocking wait until
+ *                     final response for the transaction arrives.
  */
 static void rpc_t_uac(rpc_t *rpc, void *c, int reply_wait)
 {

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to