Browse code

typos and aligment to t_uac_from

Jiri Kuthan authored on 20/10/2002 18:32:11
Showing 1 changed files
... ...
@@ -237,28 +237,51 @@ Desc: 	sends a stateful reply after a transaction has been
237 237
 External Usage of TM
238 238
 ---------------------
239 239
 There are applications which would like to generate SIP
240
-transactions without too big onvolvement in SIP stack, transaction
240
+transactions without too big involvement in SIP stack, transaction
241 241
 management, etc. An example of such an application
242 242
 is sending instant messages from a website. To address needs
243 243
 of such apps, SER accepts requests for new transactions via
244
-fifo pipes too. If you want to enable this feature, statrt
245
-FIFO server by configuration option
246
-	fifo="/tmp/filename"
244
+fifo pipes too. If you want to enable this feature, start
245
+FIFO server with configuration option
246
+	fifo="/tmp/ser_fifo"
247 247
 Then, an application can easily launch a new transaction by
248 248
 writing a transaction request to this named pipe. The request
249
-must follow very simple format, whic is
250
- :t_uac:[<file_name>]\n<method>\n<dst uri>\n<CR_separated_headers>\n<body>\n\n\n
249
+must follow very simple format, which is
250
+
251
+ :t_uac_from:[<file_name>]\n
252
+ <method>\n
253
+ <sender's uri>\n
254
+ <dst uri>\n
255
+ <CR_separated_headers>\n
256
+ <body>\n
257
+ .\n
258
+ \n
259
+
251 260
 (Filename is to where a report will be dumped. ser assumes /tmp
252 261
 as file's directory.)
253 262
 
254
-A convenience library fifo_uac.c implements this simple functionality.
255
-Note the the request write must be atomic, otherwise the request
256
-might get intermixes with writes from other writers.
257
-You can easily use it via Unix command-line tools, see the following
263
+Note the the request write must be atomic, otherwise it
264
+might get intermixed with writes from other writers.
265
+You can easily use it via Unix command-line tools, see 
266
+the following
258 267
 example:
259
-
260
-cat test/transaction.fifo > /tmp/ser_fifo
268
+---
269
+[jiri@bat jiri]$ cat > /tmp/ser_fifo
270
+:t_uac_from:xxx
271
+MESSAGE
272
+sip:sender@iptel.org
273
+sip:mrx@iptel.org
274
+header:value
275
+foo:bar
276
+bznk:hjhjk
277
+p_header: p_value
278
+
279
+body body body
280
+yet body
281
+end of body
282
+.
283
+
284
+or cat test/transaction.fifo > /tmp/ser_fifo
261 285
 
262 286
 Defines
263 287
 -------