<div dir="ltr">Hi,<div>I managed to set it up. The following is the xml.</div><div><pre class="PROGRAMLISTING" style="background-color:rgb(239,248,248);border-width:initial;border-color:initial;border-left-style:solid;border-left-color:rgb(153,204,204);border-left-width:1px;border-right-style:solid;border-right-color:rgb(153,204,204);border-right-width:1px;border-top-style:solid;border-top-color:rgb(153,204,204);border-top-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,204,204);border-bottom-width:1px;padding-left:15pt">
&lt;?xml version=&quot;1.0&quot; ?&gt;
&lt;methodCall&gt;
   &lt;methodName&gt;mi&lt;/methodName&gt;
   &lt;params&gt;
       &lt;param&gt;
           &lt;value&gt;&lt;string&gt;mt_reload&lt;/string&gt;&lt;/value&gt;
       &lt;/param&gt;
       &lt;param&gt;
           &lt;value&gt;&lt;string&gt;lnp&lt;/string&gt;&lt;/value&gt;
       &lt;/param&gt;
  &lt;/params&gt;
&lt;/methodCall&gt;
</pre><br><div class="gmail_quote">On Mon, Jan 16, 2012 at 5:42 PM, Yaron Nachum <span dir="ltr">&lt;<a href="mailto:nachum.yaron@gmail.com">nachum.yaron@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div>I have already figured out that I have to add the mi to the xmlrpc command. Not it fails on parameter missing.</div><div><br></div><div>the following xml is being sent:</div><div><div>&lt;?xml version=&#39;1.0&#39;?&gt;</div>

<div>&lt;methodCall&gt;</div><div>&lt;methodName&gt;mi&lt;/methodName&gt;</div><div>&lt;mi_command&gt;mt_reload&lt;/mi_command&gt;</div><div>&lt;parameters&gt;lnp&lt;/parameters&gt;</div><div>&lt;/methodCall&gt;</div><div>

<br></div><div>I tried to set the parameter to mt_name and it doesn&#39;t work. Any ideas?</div><div><div class="h5"><br><div class="gmail_quote">On Mon, Jan 16, 2012 at 1:07 PM, Javier Gallart <span dir="ltr">&lt;<a href="mailto:jgallartm@gmail.com" target="_blank">jgallartm@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div>Hello Yaron</div><div><br></div><div>can you try &quot;mi mt_reload&quot;?</div><div> </div>

<div>Regards</div><div><br></div><div>Javi</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Message: 2<br>
Date: Mon, 16 Jan 2012 11:54:04 +0200<br>
From: Yaron Nachum &lt;<a href="mailto:nachum.yaron@gmail.com" target="_blank">nachum.yaron@gmail.com</a>&gt;<br>
Subject: [SR-Users] using XMLRPC module for fifo commands<br>
To: <a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
Message-ID:<br>
        &lt;CADKX-JDqsxBb3T6XOsiUUs=<a href="mailto:Xj%2BidNAXEECBx1HeuAu8dSEdbsA@mail.gmail.com" target="_blank">Xj+idNAXEECBx1HeuAu8dSEdbsA@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hi everyone,<br>
Is it possible to use the xmlrpc module in order to send fifo commands to<br>
the kamailio. for example I would like to use it in order to trigger mtree<br>
table reload.<br>
<br>
I have already enabled the xmlrpc module and it responds. however I didn&#39;t<br>
succeeded in sending the appropriate syntax in lrder to make the mtree<br>
reload work.<br>
<br>
I tried using mtree.mt_reload method or fifo.mt_reload .<br>
<br>
Does anyone have a clue?<br>
<br>
Yaron.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://lists.sip-router.org/pipermail/sr-users/attachments/20120116/27c6f31f/attachment-0001.htm" target="_blank">http://lists.sip-router.org/pipermail/sr-users/attachments/20120116/27c6f31f/attachment-0001.htm</a>&gt;<br>



<br></blockquote></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div>