<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>the show command is using the db cli (e.g., mysql) to dump
content of database, so no rpc interaction with kamailio involved
there.</p>
<p>For the others, do you get any error in kamailio logs?</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 11.09.17 21:35, David Villasmil
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFGRPVoA9AJqp7teVQ7+n5JoNueOcVrpfT0B_oU8HoMa7y3RyA@mail.gmail.com">
<div dir="ltr">Hello guys,
<div><br>
</div>
<div>i configured jsonrpc on kamailio.cfg and RPCFIFOPATH on
kamctlrc to the same file, seems to work for some commands,
but not for others:</div>
<div><br>
</div>
<div>
<div style="font-size:12.8px"><font face="monospace,
monospace">root@ip-172-31-30-160:/home/<wbr>admin# kamctl
trusted show</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace">+----+--------------+-------+-<wbr>-------------+--------------+-<wbr>-----+----------+</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace">| id | src_ip | proto | from_pattern |
ruri_pattern | tag | priority |</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace">+----+--------------+-------+-<wbr>-------------+--------------+-<wbr>-----+----------+</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace">| 1 | 1.2.3.4 | udp | | NULL
| | 0 |</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace">| 2 | 5.4.3.2 | udp | | NULL
| | 0 |</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace">+----+--------------+-------+-<wbr>-------------+--------------+-<wbr>-----+----------+</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace"><br>
</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace">root@ip-172-31-30-160:/home/<wbr>admin# kamctl
trusted dump</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace">{</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace"> "jsonrpc": "2.0",</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace"> "error": {</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace"> "code": -32000,</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace"> "message": "Execution Error"</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace"> },</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace"> "id": 32022</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace">}</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace"><br>
</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace">root@ip-172-31-30-160:/home/<wbr>admin# kamctl
trusted reload</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace">{</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace"> "jsonrpc": "2.0",</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace"> "error": {</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace"> "code": -32000,</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace"> "message": "Execution Error"</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace"> },</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace"> "id": 32041</font></div>
<div style="font-size:12.8px"><font face="monospace,
monospace">}</font></div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Any help?</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Thanks!</div>
</div>
<div><br>
</div>
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>Regards,</div>
<div><br>
</div>
David Villasmil
<div>email: <a
href="mailto:david.villasmil.work@gmail.com"
target="_blank" moz-do-not-send="true">david.villasmil.work@gmail.com</a></div>
<div>phone: +34669448337</div>
</div>
</div>
</div>
</div>
<div hspace="streak-pt-mark" style="max-height:1px"><img alt=""
style="width:0px;max-height:0px;overflow:hidden"
src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=a2a072fe-38cb-4681-854a-4b460890d3f2"
moz-do-not-send="true"><font size="1" color="#ffffff">ᐧ</font></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>