<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body 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 class="moz-txt-link-freetext" href="http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3d195f2675569954a1f74128508db07cbc604ed9">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<br>
    <br>
    <div class="moz-cite-prefix">On 12/7/12 2:21 PM, Pavel Zalunin
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAH6sOuhvtkfotsxihzUDHJPm05QnOLM+7bfyARE3PZt0AWzqBw@mail.gmail.com"
      type="cite">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).&nbsp;</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 class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.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-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>