2
0
Эх сурвалжийг харах

mi_xmlrpc: added note about using xmlrpc as better alternative

- no dependency on specific external lib versions
Daniel-Constantin Mierla 13 жил өмнө
parent
commit
67d11b26dd

+ 14 - 8
modules_k/mi_xmlrpc/README

@@ -12,7 +12,7 @@ Edited by
 
 
 Juha Heinanen
 Juha Heinanen
 
 
-   Copyright © 2006 Voice Sistem SRL
+   Copyright © 2006 Voice Sistem SRL
      __________________________________________________________________
      __________________________________________________________________
 
 
    Table of Contents
    Table of Contents
@@ -67,6 +67,13 @@ Chapter 1. Admin Guide
 
 
 1. Overview
 1. Overview
 
 
+   NOTE: this module depends on specific versions of libxmlrpc-c3, which
+   may not be available on your OS. You better use the 'xmlrpc' module
+   located in 'modules/' folder. It can run any MI command by loading
+   'mi_rpc' module and executing RPC command 'mi', with first parameter
+   being the MI command, then followed by other parameters that will be
+   passed to the MI command.
+
    This module implements a xmlrpc server that handles xmlrpc requests and
    This module implements a xmlrpc server that handles xmlrpc requests and
    generates xmlrpc responses. When a xmlrpc message is received a default
    generates xmlrpc responses. When a xmlrpc message is received a default
    method is executed.
    method is executed.
@@ -108,14 +115,13 @@ Chapter 1. Admin Guide
    The following libraries or applications must be installed before
    The following libraries or applications must be installed before
    running Kamailio with this module loaded:
    running Kamailio with this module loaded:
      * libxml.
      * libxml.
-     * libxmlrpc-c3 version 0.9.10.
-     * libxmlrpc-c3-dev version 0.9.10.
+     * libxmlrpc-c3 version 0.9.10 or version 1.06.[10-30].
+     * libxmlrpc-c3-dev version 0.9.10 or version 1.06.[10-30].
 
 
    If libxmlrpc-c3[-dev] package is not available on your system, you may
    If libxmlrpc-c3[-dev] package is not available on your system, you may
    check if packages for your OS are not available on the
    check if packages for your OS are not available on the
-   “xmlrpc-c�project ( http://xmlrpc-c.sourceforge.net/). Otherwise you
-   need to install the library and devel headers from the sources. In both
-   cases, keep in mind to use the 0.9.10 version!!.
+   "xmlrpc-c"project ( http://xmlrpc-c.sourceforge.net/). Otherwise you
+   need to install the library and devel headers from the sources.
 
 
 4. Parameters
 4. Parameters
 
 
@@ -184,8 +190,8 @@ modparam("mi_xmlrpc", "buffer_size", 8192)
 
 
 6. Example
 6. Example
 
 
-   This is an example showing the xmlrpc format for the “get_statistics
-   dialog: tm:� MI commad: response.
+   This is an example showing the xmlrpc format for the "get_statistics
+   dialog: tm:" MI commad: response.
 
 
    Example 1.5. XMLRPC request
    Example 1.5. XMLRPC request
 POST /RPC2 HTTP/1.0
 POST /RPC2 HTTP/1.0

+ 7 - 0
modules_k/mi_xmlrpc/doc/mi_xmlrpc_admin.xml

@@ -15,6 +15,13 @@
 	
 	
 	<section>
 	<section>
 	<title>Overview</title>
 	<title>Overview</title>
+	<para>
+		NOTE: this module depends on specific versions of libxmlrpc-c3, which may
+		not be available on your OS. You better use the 'xmlrpc' module located in
+		'modules/' folder. It can run any MI command by loading 'mi_rpc' module and
+		executing RPC command 'mi', with first parameter being the MI command,
+		then followed by other parameters that will be passed to the MI command.
+	</para>
 	<para>
 	<para>
 		This module implements a xmlrpc server that handles xmlrpc requests and
 		This module implements a xmlrpc server that handles xmlrpc requests and
 		generates xmlrpc responses. When a xmlrpc message is received a default 
 		generates xmlrpc responses. When a xmlrpc message is received a default