瀏覽代碼

mi_xmlrpc: added note about using xmlrpc as better alternative

- no dependency on specific external lib versions
Daniel-Constantin Mierla 13 年之前
父節點
當前提交
67d11b26dd
共有 2 個文件被更改,包括 21 次插入8 次删除
  1. 14 8
      modules_k/mi_xmlrpc/README
  2. 7 0
      modules_k/mi_xmlrpc/doc/mi_xmlrpc_admin.xml

+ 14 - 8
modules_k/mi_xmlrpc/README

@@ -12,7 +12,7 @@ Edited by
 
 Juha Heinanen
 
-   Copyright © 2006 Voice Sistem SRL
+   Copyright © 2006 Voice Sistem SRL
      __________________________________________________________________
 
    Table of Contents
@@ -67,6 +67,13 @@ Chapter 1. Admin Guide
 
 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
    generates xmlrpc responses. When a xmlrpc message is received a default
    method is executed.
@@ -108,14 +115,13 @@ Chapter 1. Admin Guide
    The following libraries or applications must be installed before
    running Kamailio with this module loaded:
      * 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
    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
 
@@ -184,8 +190,8 @@ modparam("mi_xmlrpc", "buffer_size", 8192)
 
 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
 POST /RPC2 HTTP/1.0

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

@@ -15,6 +15,13 @@
 	
 	<section>
 	<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>
 		This module implements a xmlrpc server that handles xmlrpc requests and
 		generates xmlrpc responses. When a xmlrpc message is received a default