<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    On 12/19/11 1:39 PM, Krishna Kurapati wrote:
    <blockquote
cite="mid:CAOzCjAekad1bWH2snr2AqQn6rMo87uHCwHYujKDxScB+4Edj2A@mail.gmail.com"
      type="cite">Daniel,
      <div><br>
      </div>
      <div>Thanks for the clarification. Since mi_xmlrpc is equivalent
        to mi_fifo, I could use this module</div>
      <div>to send MESSAGE and INVITE from a remote server.</div>
    </blockquote>
    mi_xmlrpc depends on specific versions of libxmlrpc client, on some
    distros it cannot be found. Also, it has some weaks in security (you
    have to use the firewall, there is no interaction from config file).<br>
    <br>
    You can run any mi command via rpc interface (e.g., sercmd or
    xmlrpc) if you load the mi_rpc modulem then use mi* RPC command:<br>
    <br>
<a class="moz-txt-link-freetext" href="http://www.kamailio.org/docs/docbooks/3.2.x/rpc_list/rpc_list.html#rpc_exports.mi_rpc">http://www.kamailio.org/docs/docbooks/3.2.x/rpc_list/rpc_list.html#rpc_exports.mi_rpc</a><br>
    <br>
    For example, running same mi command as done by 'kamctl fifo
    ds_list' is via sercmd: 'sercmd mi ds_list'.<br>
    <br>
    For instant messaging, you can use directly the rpc command
    tm.t_uac_start or tm.t_uac_wait. If you connect using sercmd, you
    can use 'help cmd' to read a bit about each rpc command.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <blockquote
cite="mid:CAOzCjAekad1bWH2snr2AqQn6rMo87uHCwHYujKDxScB+4Edj2A@mail.gmail.com"
      type="cite">
      <div><br>
      </div>
      <div>Krish Kura</div>
      <div><br>
        <div class="gmail_quote">On Mon, Dec 19, 2011 at 6:27 AM,
          Daniel-Constantin Mierla <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:miconda@gmail.com">miconda@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">
            Hello,<br>
            <br>
            On 12/17/11 6:08 PM, Ovidiu Sas wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              It is rather difficult to properly craft SIP messages in a
              single line<br>
              (to properly pass all parameters).<br>
              Therefore, the xhttp_rpc module does not support this kind
              of functionality.<br>
              Asynchronous commands are not implemented by the xhttp_rpc
              module:<br>
              <a moz-do-not-send="true"
href="http://kamailio.org/docs/modules/devel/modules/xhttp_rpc.html#id2521422"
                target="_blank">http://kamailio.org/docs/modules/devel/modules/xhttp_rpc.html#id2521422</a><br>
              <br>
              It is better to use the xmlrpc module for this kind of
              functionality.<br>
              <a moz-do-not-send="true"
                href="http://kamailio.org/docs/modules/stable/modules/xmlrpc.html"
                target="_blank">http://kamailio.org/docs/modules/stable/modules/xmlrpc.html</a><br>
            </blockquote>
            just to add a bit and make clear that xmlrpc module is
            different that mi_xmlrpc. Practically xmlrpc uses internally
            the same mechanism as xhttp, so no dependencies on http
            libs. You need libxml2, but since you deal with presence,
            you should have it.<br>
            <br>
            Cheers,<br>
            Daniel<span class="HOEnZb"><font color="#888888"><br>
                <br>
                -- <br>
                Daniel-Constantin Mierla -- <a moz-do-not-send="true"
                  href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
                <a moz-do-not-send="true"
                  href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a>
                -- <a moz-do-not-send="true"
                  href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a><br>
                <br>
              </font></span></blockquote>
        </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://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>