[sr-dev] git:master:54475ed0: uac: docbook for event_route[uac:reply]

Daniel-Constantin Mierla miconda at gmail.com
Sat Apr 18 21:59:39 CEST 2015


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-04-18T19:16:36+02:00

uac: docbook for event_route[uac:reply]

---

Modified: modules/uac/doc/uac_admin.xml

---

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

---

diff --git a/modules/uac/doc/uac_admin.xml b/modules/uac/doc/uac_admin.xml
index 5bd7c9d..0a154d9 100644
--- a/modules/uac/doc/uac_admin.xml
+++ b/modules/uac/doc/uac_admin.xml
@@ -796,6 +796,39 @@ failure_route[REMOTE_AUTH] {
 		Exported pseudo-variables are documented at &kamwikilink;.
 		</para>
 	</section>
+
+	<section>
+		<title>Event Routes</title>
+		<section id="uac.ert.uac_reply">
+			<title>
+				<function moreinfo="none">event_route[uac:reply]</function>
+			</title>
+		<para>
+			Event route executed for the final reply to the request set with
+			uac_req_send(). The associated $uac_req(evroute) has to be set to
+			1.
+		</para>
+		<example>
+		<title><function>event_route[uac:reply]</function> usage</title>
+			<programlisting format="linespecific">
+...
+$uac_req(method)="OPTIONS";
+$uac_req(ruri)="sip:kamailio.org";
+$uac_req(furi)="sip:kamailio.org";
+$uac_req(turi)="sip:kamailio.org";
+$uac_req(callid)=$(mb{s.md5});
+$uac_req(evroute)=1;
+uac_req_send();
+...
+event_route[uac:reply] {
+    xlog("received reply code is: $uac_req(evcode)\n");
+}
+...
+			</programlisting>
+		</example>
+		</section>
+	</section>
+
 	<section>
 		<title>Counters</title>
 		<itemizedlist>




More information about the sr-dev mailing list