Browse code

- rename recently introduced function set_rpl_body to set_reply_body

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@5551 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 02/02/2009 10:40:53
Showing 3 changed files
... ...
@@ -19,8 +19,8 @@ Daniel-Constantin Mierla
19 19
 
20 20
    Copyright � 2003 FhG FOKUS
21 21
    Revision History
22
-   Revision $Revision$ $Date: 2008-08-11 09:46:44 +0300
23
-                              (Mon, 11 Aug 2008) $
22
+   Revision $Revision$ $Date: 2008-08-11 08:46:44 +0200
23
+                              (Mo, 11 Aug 2008) $
24 24
      __________________________________________________________
25 25
 
26 26
    Table of Contents
... ...
@@ -52,7 +52,7 @@ Daniel-Constantin Mierla
52 52
               1.3.12. subst_user('/re/repl/flags')
53 53
               1.3.13. subst_body('/re/repl/flags')
54 54
               1.3.14. set_body(txt,content_type)
55
-              1.3.15. set_rpl_body(txt,content_type)
55
+              1.3.15. set_reply_body(txt,content_type)
56 56
               1.3.16. filter_body(content_type)
57 57
               1.3.17. append_to_reply(txt)
58 58
               1.3.18. append_hf(txt)
... ...
@@ -95,7 +95,7 @@ Daniel-Constantin Mierla
95 95
    1.12. subst usage
96 96
    1.13. subst_body usage
97 97
    1.14. set_body usage
98
-   1.15. set_rpl_body usage
98
+   1.15. set_reply_body usage
99 99
    1.16. filter_body usage
100 100
    1.17. append_to_reply usage
101 101
    1.18. append_hf usage
... ...
@@ -423,7 +423,7 @@ if ( subst_body('/^o=(.*) /o=$fU /') ) {};
423 423
 set_body("test", "text/plain");
424 424
 ...
425 425
 
426
-1.3.15.  set_rpl_body(txt,content_type)
426
+1.3.15.  set_reply_body(txt,content_type)
427 427
 
428 428
    Set body to a SIP reply to be generated by Kamailio.
429 429
 
... ...
@@ -435,9 +435,9 @@ set_body("test", "text/plain");
435 435
    This function can be used from REQUEST_ROUTE, FAILURE_ROUTE,
436 436
    BRANCH_ROUTE.
437 437
 
438
-   Example 1.15. set_rpl_body usage
438
+   Example 1.15. set_reply_body usage
439 439
 ...
440
-set_rpl_body("test", "text/plain");
440
+set_reply_body("test", "text/plain");
441 441
 ...
442 442
 
443 443
 1.3.16.  filter_body(content_type)
... ...
@@ -561,7 +561,7 @@ set_body("test", "text/plain");
561 561
 
562 562
 	<section>
563 563
 		<title>
564
-		<function moreinfo="none">set_rpl_body(txt,content_type)</function>
564
+		<function moreinfo="none">set_reply_body(txt,content_type)</function>
565 565
 		</title>
566 566
 		<para>
567 567
 		Set body to a SIP reply to be generated by &kamailio;.
... ...
@@ -583,10 +583,10 @@ set_body("test", "text/plain");
583 583
 		This function can be used from REQUEST_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE.
584 584
 		</para>
585 585
 		<example>
586
-		<title><function>set_rpl_body</function> usage</title>
586
+		<title><function>set_reply_body</function> usage</title>
587 587
 		<programlisting format="linespecific">
588 588
 ...
589
-set_rpl_body("test", "text/plain");
589
+set_reply_body("test", "text/plain");
590 590
 ...
591 591
 </programlisting>
592 592
 		</example>
... ...
@@ -218,7 +218,7 @@ static cmd_export_t cmds[]={
218 218
 	{"set_body",         (cmd_function)set_body_f,        2,
219 219
 		fixup_spve_spve, 0,
220 220
 		REQUEST_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE|ONREPLY_ROUTE },
221
-	{"set_rpl_body",     (cmd_function)set_rpl_body_f,    2,
221
+	{"set_reply_body",     (cmd_function)set_rpl_body_f,    2,
222 222
 		fixup_spve_spve, 0,
223 223
 		REQUEST_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE },
224 224
 	{"is_method",        (cmd_function)is_method_f,       1,