Hi,<div><br></div><div>I'm using kamailio-3.3.2, it contains this changes, just checked. Yes db is also workaround.</div><div><br></div><div>Thanks,</div><div>Pavel.</div><div><br><div class="gmail_quote">2012/12/7 Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
what version are you using? There was an enhancement to the ctl
module to cope better with large data:<br>
<br>
<a href="http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3d195f2675569954a1f74128508db07cbc604ed9" target="_blank">http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3d195f2675569954a1f74128508db07cbc604ed9</a><br>
<br>
An alternative will be to fetch the data from database and send via
mi/rpc only the command to end the dialog.<br>
<br>
Cheers,<br>
Daniel<div><div class="h5"><br>
<br>
<div>On 12/7/12 2:21 PM, Pavel Zalunin
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">Hi.
<div><br>
</div>
<div>In our project we need to query current users, dialogs and
ability to end dialog using some rpc. Requirements are - do this
remotely. I already tried to use xmlrpc module. When we had 42
users online it returned 17kb broken xml file. Then I tried to
use binrpc protocol from CTL module. Usage ends with returning
broken message too (in case, when message is biger than 21kb). </div>
<div>Are there any other more stable solutions to query mi
information using some tcp protocol?</div>
<div><br>
</div>
<div>P.S. When I discovered sources of CTL module I found usage of
writev - here is the problem about partial packets, when buffer
is longer, than 21kb it don't pushes all vector buffers into
socket. And in general, this module is using async sockets,
AFAIK writev don't gives any guarantees, that it will write all
vectors in async sockets.</div>
<div><br>
</div>
<div>P.P.S. Of couse, last resort solution will be writing proxy
for using mi_fifo on kamailio side to forward all records to
other servers, but if there are more pretty solutions, please
give me know:)</div>
<div><br>
</div>
<div>Thanks.</div>
<div>Pavel.</div>
<div><br>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre cols="72">--
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
</font></span></div>
</blockquote></div><br></div>