Browse Source

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
Daniel-Constantin Mierla 8 năm trước cách đây
mục cha
commit
e128d46e6a

+ 6 - 1
modules/rtpproxy/doc/rtpproxy_admin.xml

@@ -680,7 +680,12 @@ rtpproxy_destroy();
 		</listitem>
 		</listitem>
 		<listitem>
 		<listitem>
 			<para>
 			<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>
 			</para>
 		</listitem>
 		</listitem>
 		<listitem>
 		<listitem>