From 33570d9f575e3b0566ac5f0b9904940420be9ae2 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Fri, 23 Jan 2015 10:47:45 +0100 Subject: [PATCH] jsonrpc-c: added note that it depends on Linux specific API - reported by Olle E. Johansson, GH#33 --- modules/jsonrpc-c/README | 9 ++++++--- modules/jsonrpc-c/doc/jsonrpc-c_admin.xml | 4 ++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/modules/jsonrpc-c/README b/modules/jsonrpc-c/README index bfa8ea36562..fcddab08d37 100644 --- a/modules/jsonrpc-c/README +++ b/modules/jsonrpc-c/README @@ -10,7 +10,7 @@ Jordan Levy - Copyright © 2011 Flowroute LLC (flowroute.com) + Copyright © 2011 Flowroute LLC (flowroute.com) __________________________________________________________________ Table of Contents @@ -77,6 +77,9 @@ Chapter 1. Admin Guide 2.1. Kamailio Modules 2.2. External Libraries or Applications + This module uses Linux specific API, it might not compile on other + types of operating systems. + 2.1. Kamailio Modules The following modules must be loaded before this module: @@ -112,7 +115,7 @@ modparam("jsonrpc", "servers", "localhost:9999,2 10.10.0.1:9999,2 backup.server: 4.2. jsonrpc_request(method, parameters, return_route, error_route, result_var) -4.1. jsonrpc_notification(method, parameters) +4.1. jsonrpc_notification(method, parameters) Invokes the remote 'method' with the given 'parameters' as a notification. Unlike jsonrpc_request (below), notifications do not @@ -127,7 +130,7 @@ modparam("jsonrpc", "servers", "localhost:9999,2 10.10.0.1:9999,2 backup.server: jsonrpc_notification("update_user", "{'id': 1234, 'name': 'Petros'}") ... -4.2. jsonrpc_request(method, parameters, return_route, error_route, +4.2. jsonrpc_request(method, parameters, return_route, error_route, result_var) Invokes the remote 'method' with the given 'parameters'. When the diff --git a/modules/jsonrpc-c/doc/jsonrpc-c_admin.xml b/modules/jsonrpc-c/doc/jsonrpc-c_admin.xml index ef5dcae1352..c27508b0fc8 100644 --- a/modules/jsonrpc-c/doc/jsonrpc-c_admin.xml +++ b/modules/jsonrpc-c/doc/jsonrpc-c_admin.xml @@ -32,6 +32,10 @@
Dependencies + + This module uses Linux specific API, it might not compile on other + types of operating systems. +
&kamailio; Modules