Ver Fonte

dialog: documented event routes

Daniel-Constantin Mierla há 13 anos atrás
pai
commit
dc434e7a0a
2 ficheiros alterados com 38 adições e 1 exclusões
  1. 23 0
      modules_k/dialog/README
  2. 15 1
      modules_k/dialog/doc/dialog_admin.xml

+ 23 - 0
modules_k/dialog/README

@@ -140,6 +140,11 @@ Alex Balashov
               10.5. $dlg_ctx(...)
               10.6. $dlg_var(key)
 
+        11. Event Routes
+
+              11.1. event_route[dialog:start]
+              11.2. event_route[dialog:end]
+
    2. Developer Guide
 
         1. Available Functions
@@ -323,6 +328,11 @@ Chapter 1. Admin Guide
         10.5. $dlg_ctx(...)
         10.6. $dlg_var(key)
 
+   11. Event Routes
+
+        11.1. event_route[dialog:start]
+        11.2. event_route[dialog:end]
+
 1. Overview
 
    Kamailio can behave as a stateful proxy through the TM module. However,
@@ -1657,6 +1667,19 @@ if(!uri == myself) {
 
    Note: You will receive "NULL", if there is no dialog for this request.
 
+11. Event Routes
+
+   11.1. event_route[dialog:start]
+   11.2. event_route[dialog:end]
+
+11.1. event_route[dialog:start]
+
+   Executed when 200OK for INVITE is processed.
+
+11.2. event_route[dialog:end]
+
+   Executed when BYE is processed or dialog timed out.
+
 Chapter 2. Developer Guide
 
    Table of Contents

+ 15 - 1
modules_k/dialog/doc/dialog_admin.xml

@@ -2149,6 +2149,20 @@ if(!uri == myself) {
 
 	</section>
 
-
+	<section>
+	<title>Event Routes</title>
+		<section>
+			<title><varname>event_route[dialog:start]</varname></title>
+			<para>
+			Executed when 200OK for INVITE is processed.
+			</para>
+		</section>
+		<section>
+			<title><varname>event_route[dialog:end]</varname></title>
+			<para>
+			Executed when BYE is processed or dialog timed out.
+			</para>
+		</section>
+	</section>
 
 </chapter>