Browse code

tm: docs - fixed section for rpc.t_uac_wait_block

Daniel-Constantin Mierla authored on 04/07/2022 13:51:32
Showing 1 changed files
... ...
@@ -70,9 +70,9 @@
70 70
 		</para>
71 71
 	</section>
72 72
 
73
-	<section id="tm.rpc.t_uac_wait">
73
+	<section id="tm.rpc.t_uac_wait_block">
74 74
 		<title>
75
-		<function moreinfo="none">tm.t_uac_wait</function>
75
+		<function moreinfo="none">tm.t_uac_wait_block</function>
76 76
 		</title>
77 77
 		<para>
78 78
 		Similar to tm.t_uac_start, but blocks waiting for the SIP response and
Browse code

tm: docs for rpc t_uac_wait_block

Daniel-Constantin Mierla authored on 20/01/2021 07:54:21
Showing 1 changed files
... ...
@@ -65,8 +65,20 @@
65 65
 		<function moreinfo="none">tm.t_uac_wait</function>
66 66
 		</title>
67 67
 		<para>
68
-		Similar to tm.t_uac_start, but waits for the SIP response and tries to
69
-		provide its details via RPC response.
68
+		Similar to tm.t_uac_start, but waits asynchronously for the SIP response
69
+		and tries to provide its details via RPC response.
70
+		</para>
71
+	</section>
72
+
73
+	<section id="tm.rpc.t_uac_wait">
74
+		<title>
75
+		<function moreinfo="none">tm.t_uac_wait</function>
76
+		</title>
77
+		<para>
78
+		Similar to tm.t_uac_start, but blocks waiting for the SIP response and
79
+		returns the SIP reply code and reason text via RPC response. It waits
80
+		up to 80 seconds, if no reply is received, it returns a RPC fault 500
81
+		code. While waiting, the RPC process cannot handle other RPC commands.
70 82
 		</para>
71 83
 	</section>
72 84
 
Browse code

tm: add RPC call tm.stats to documentation

Mikko Lehto authored on 30/10/2017 13:30:45
Showing 1 changed files
... ...
@@ -192,4 +192,19 @@
192 192
 		</itemizedlist>
193 193
 	</section>
194 194
 
195
+	<section id="tm.stats">
196
+		<title>
197
+		<function moreinfo="none">tm.stats</function>
198
+		</title>
199
+		<para>
200
+		Gets information about current and past TM transaction handling.
201
+		</para>
202
+		<para>Parameters: </para>
203
+		<itemizedlist>
204
+			<listitem><para>
205
+				<emphasis>none</emphasis>
206
+			</para></listitem>
207
+		</itemizedlist>
208
+	</section>
209
+
195 210
 </section>
Browse code

tm: fix documentation typos and changed or obsolete paths

Mikko Lehto authored on 30/10/2017 12:42:02
Showing 1 changed files
... ...
@@ -65,7 +65,7 @@
65 65
 		<function moreinfo="none">tm.t_uac_wait</function>
66 66
 		</title>
67 67
 		<para>
68
-		Similar to rm.t_uac_start, but waits for the SIP reponse and tries to
68
+		Similar to tm.t_uac_start, but waits for the SIP response and tries to
69 69
 		provide its details via RPC response.
70 70
 		</para>
71 71
 	</section>
Browse code

tm: documentation for rpc tm.clean command

Daniel-Constantin Mierla authored on 14/09/2017 07:46:19
Showing 1 changed files
... ...
@@ -177,5 +177,19 @@
177 177
 			</para></listitem>
178 178
 		</itemizedlist>
179 179
 	</section>
180
+	<section id="tm.rpc.clean">
181
+		<title>
182
+		<function moreinfo="none">tm.clean</function>
183
+		</title>
184
+		<para>
185
+		Trigger an hard clean of expired transactions.
186
+		</para>
187
+		<para>Parameters: </para>
188
+		<itemizedlist>
189
+			<listitem><para>
190
+				<emphasis>none</emphasis>
191
+			</para></listitem>
192
+		</itemizedlist>
193
+	</section>
180 194
 
181 195
 </section>
Browse code

tm: documentation for tm.list rpc command

Daniel-Constantin Mierla authored on 30/08/2017 18:55:20
Showing 1 changed files
... ...
@@ -7,6 +7,21 @@
7 7
     </sectioninfo>
8 8
 	<title>RPC Commands</title>
9 9
 
10
+	<section id="tm.rpc.list">
11
+		<title>
12
+		<function moreinfo="none">tm.list</function>
13
+		</title>
14
+		<para>
15
+		List details of transactions.
16
+		</para>
17
+		<para>Parameters: </para>
18
+		<itemizedlist>
19
+			<listitem><para>
20
+				<emphasis>none</emphasis>
21
+			</para></listitem>
22
+		</itemizedlist>
23
+	</section>
24
+
10 25
 	<section id="tm.rpc.t_uac_start">
11 26
 		<title>
12 27
 		<function moreinfo="none">tm.t_uac_start</function>
Browse code

tm: documentation for rpc commands

Daniel-Constantin Mierla authored on 24/12/2016 08:26:54
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,166 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3
+   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
4
+
5
+<section id="tm.rpcs" xmlns:xi="http://www.w3.org/2001/XInclude">
6
+    <sectioninfo>
7
+    </sectioninfo>
8
+	<title>RPC Commands</title>
9
+
10
+	<section id="tm.rpc.t_uac_start">
11
+		<title>
12
+		<function moreinfo="none">tm.t_uac_start</function>
13
+		</title>
14
+		<para>
15
+		Generates and sends a local SIP request.
16
+		</para>
17
+		<para>Parameters: </para>
18
+		<itemizedlist>
19
+			<listitem><para>
20
+				<emphasis>method</emphasis> - request method
21
+			</para></listitem>
22
+			<listitem><para>
23
+				<emphasis>RURI</emphasis> - request SIP URI
24
+			</para></listitem>
25
+			<listitem><para>
26
+				<emphasis>NEXT HOP</emphasis> - next hop SIP URI (OBP);
27
+				use <quote>.</quote> if no value.
28
+			</para></listitem>
29
+			<listitem><para>
30
+				<emphasis>socket</emphasis> - local socket to be used for
31
+				sending the request; use <quote>.</quote> if no value.
32
+			</para></listitem>
33
+			<listitem><para>
34
+				<emphasis>headers</emphasis> - set of additional headers to
35
+				be added to the request; at least
36
+				<quote>From</quote> and <quote>To</quote> headers must be
37
+				provided)
38
+			</para></listitem>
39
+			<listitem><para>
40
+				<emphasis>body</emphasis> - (optional, may not be present)
41
+				request body (if present, requires the
42
+				<quote>Content-Type</quote> and <quote>Content-length</quote>
43
+				headers)
44
+			</para></listitem>
45
+		</itemizedlist>
46
+	</section>
47
+
48
+	<section id="tm.rpc.t_uac_wait">
49
+		<title>
50
+		<function moreinfo="none">tm.t_uac_wait</function>
51
+		</title>
52
+		<para>
53
+		Similar to rm.t_uac_start, but waits for the SIP reponse and tries to
54
+		provide its details via RPC response.
55
+		</para>
56
+	</section>
57
+
58
+	<section id="tm.rpc.cancel">
59
+		<title>
60
+		<function moreinfo="none">tm.cancel</function>
61
+		</title>
62
+		<para>
63
+		Generates and sends a CANCEL for an existing local SIP request.
64
+		</para>
65
+		<para>Parameters: </para>
66
+		<itemizedlist>
67
+			<listitem><para>
68
+				<emphasis>callid</emphasis> - callid of the INVITE request
69
+				to be cancelled.
70
+			</para></listitem>
71
+			<listitem><para>
72
+				<emphasis>cseq</emphasis> - cseq of the INVITE request to be
73
+				cancelled.
74
+			</para></listitem>
75
+		</itemizedlist>
76
+	</section>
77
+
78
+	<section id="tm.rpc.hash_stats">
79
+		<title>
80
+		<function moreinfo="none">tm.hash_stats</function>
81
+		</title>
82
+		<para>
83
+		Gets information about the load of TM internal hash table.
84
+		</para>
85
+		<para>Parameters: </para>
86
+		<itemizedlist>
87
+			<listitem><para>
88
+				<emphasis>none</emphasis>
89
+			</para></listitem>
90
+		</itemizedlist>
91
+	</section>
92
+
93
+	<section id="tm.rpc.reply">
94
+		<title>
95
+		<function moreinfo="none">tm.reply</function>
96
+		</title>
97
+		<para>
98
+		Generates and sends a reply for an existing inbound SIP transaction.
99
+		</para>
100
+		<para>Parameters: </para>
101
+		<itemizedlist>
102
+			<listitem><para>
103
+				<emphasis>code</emphasis> - reply code
104
+			</para></listitem>
105
+			<listitem><para>
106
+				<emphasis>reason</emphasis> - reason phrase.
107
+			</para></listitem>
108
+			<listitem><para>
109
+				<emphasis>trans_id</emphasis> - transaction identifier
110
+				(has the hash_entry:label format)
111
+			</para></listitem>
112
+			<listitem><para>
113
+				<emphasis>to_tag</emphasis> - To tag to be added to TO header
114
+			</para></listitem>
115
+			<listitem><para>
116
+				<emphasis>new_headers</emphasis> - extra headers to be
117
+				appended to the reply; use a dot (<quote>.</quote>) char
118
+				only if there are no headers;
119
+			</para></listitem>
120
+			<listitem><para>
121
+				<emphasis>body</emphasis> - (optional, may not be present)
122
+				reply body (if present, requires the
123
+				<quote>Content-Type</quote> and <quote>Content-length</quote>
124
+				headers)
125
+			</para></listitem>
126
+		</itemizedlist>
127
+	</section>
128
+	<section id="tm.rpc.reply_callid">
129
+		<title>
130
+		<function moreinfo="none">tm.reply_callid</function>
131
+		</title>
132
+		<para>
133
+		Generates and sends a reply for an existing inbound SIP transaction.
134
+		</para>
135
+		<para>Parameters: </para>
136
+		<itemizedlist>
137
+			<listitem><para>
138
+				<emphasis>code</emphasis> - reply code
139
+			</para></listitem>
140
+			<listitem><para>
141
+				<emphasis>reason</emphasis> - reason phrase.
142
+			</para></listitem>
143
+			<listitem><para>
144
+				<emphasis>callid</emphasis> - SIP Call-ID header
145
+			</para></listitem>
146
+			<listitem><para>
147
+				<emphasis>cseq</emphasis> - SIP CSeq header
148
+			</para></listitem>
149
+			<listitem><para>
150
+				<emphasis>to_tag</emphasis> - To tag to be added to TO header
151
+			</para></listitem>
152
+			<listitem><para>
153
+				<emphasis>new_headers</emphasis> - extra headers to be
154
+				appended to the reply; use a dot (<quote>.</quote>) char
155
+				only if there are no headers;
156
+			</para></listitem>
157
+			<listitem><para>
158
+				<emphasis>body</emphasis> - (optional, may not be present)
159
+				reply body (if present, requires the
160
+				<quote>Content-Type</quote> and <quote>Content-length</quote>
161
+				headers)
162
+			</para></listitem>
163
+		</itemizedlist>
164
+	</section>
165
+
166
+</section>