[sr-dev] git:master:e128d46e: rtpproxy: added note about rtpproxy_manage() afte t_continue()

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 21 12:16:32 CET 2016


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-11-21T12:15:54+01:00

rtpproxy: added note about rtpproxy_manage() afte t_continue()

- or after any other function that does suspend/resume of the
  transaction
- it behaves as used in failure_route

---

Modified: modules/rtpproxy/doc/rtpproxy_admin.xml

---

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

---

diff --git a/modules/rtpproxy/doc/rtpproxy_admin.xml b/modules/rtpproxy/doc/rtpproxy_admin.xml
index 49edff7..fcbab3a 100644
--- a/modules/rtpproxy/doc/rtpproxy_admin.xml
+++ b/modules/rtpproxy/doc/rtpproxy_admin.xml
@@ -680,7 +680,12 @@ rtpproxy_destroy();
 		</listitem>
 		<listitem>
 			<para>
-			If BYE or CANCEL, or called within a FAILURE_ROUTE[], then do <function>unforce_rtpproxy()</function>
+			If BYE or CANCEL, or called within a FAILURE_ROUTE[], then call
+			<function>unforce_rtpproxy()</function>. Be careful with calling
+			this function after resuming a suspended transaction (e.g., after
+			t_continue()), because the context of executed route is FAILURE
+			ROUTE (in other words, rtpproxy_manage() in the route block of
+			t_continue() does the same as in failure_route).
 			</para>
 		</listitem>
 		<listitem>




More information about the sr-dev mailing list