Hi,
I have already figured out that I have to add the mi to the xmlrpc command. Not it fails on parameter missing.
the following xml is being sent:
<?xml version='1.0'?>
<methodCall>
<methodName>mi</methodName>
<mi_command>mt_reload</mi_command>
<parameters>lnp</parameters>
</methodCall>
I tried to set the parameter to mt_name and it doesn't work. Any ideas?
On Mon, Jan 16, 2012 at 1:07 PM, Javier Gallart
<jgallartm@gmail.com> wrote:
Hello Yaron
can you try "mi mt_reload"?
Regards
Javi
Message: 2
Date: Mon, 16 Jan 2012 11:54:04 +0200
From: Yaron Nachum <nachum.yaron@gmail.com>
Subject: [SR-Users] using XMLRPC module for fifo commands
To: sr-users@lists.sip-router.org
Message-ID:
<CADKX-JDqsxBb3T6XOsiUUs=Xj+idNAXEECBx1HeuAu8dSEdbsA@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi everyone,
Is it possible to use the xmlrpc module in order to send fifo commands to
the kamailio. for example I would like to use it in order to trigger mtree
table reload.
I have already enabled the xmlrpc module and it responds. however I didn't
succeeded in sending the appropriate syntax in lrder to make the mtree
reload work.
I tried using mtree.mt_reload method or fifo.mt_reload .
Does anyone have a clue?
Yaron.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120116/27c6f31f/attachment-0001.htm>