<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    thanks for troubleshooting and fixing suggestions. Probably the MI
    command used by kamctl was updated to have the third parameter
    optional, but the RPC equivalent wasn't. I will push a fix soon.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 11/7/12 4:45 PM, Kristofer Signer
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAPVLOkpJdTXPQL6qo6sp2niSd83kMuT8YhtDBpYWV1Prxo8VJQ@mail.gmail.com"
      type="cite">Found it!
      <div><br>
      </div>
      <div>in modules_k/dialog/dialog.c in method rpc_dlg_briodge</div>
      <div><br>
      </div>
      <div>it checks for three mandatory parameters&nbsp;</div>
      <div>
        <div>if (rpc-&gt;scan(c, "SSS", &amp;from, &amp;to, &amp;op)
          &lt; 2) {</div>
        <div>&nbsp; &nbsp; &nbsp; &nbsp; return;</div>
        <div>} &nbsp; &nbsp;</div>
      </div>
      <div><br>
      </div>
      <div>
        <div>but it should be two mandatory and one optional</div>
      </div>
      <div>if (rpc-&gt;scan(c, "SS", &amp;from, &amp;to) &lt; 2) return;<br>
      </div>
      <div>
        if (rpc-&gt;scan(c, "*S", &amp;op) &lt; 0) return;</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>the same for method rpc_end_dlg_entry_id</div>
      <div>
        <div>// &nbsp; &nbsp; &nbsp;if (rpc-&gt;scan(c, "ddS", &amp;h_entry, &amp;h_id,
          &amp;rpc_extra_hdrs) &lt; 2) return;</div>
        <div>&nbsp; &nbsp; &nbsp; &nbsp; if (rpc-&gt;scan(c, "dd", &amp;h_entry, &amp;h_id)
          &lt; 2) return;</div>
        <div>&nbsp; &nbsp; &nbsp; &nbsp; if (rpc-&gt;scan(c, "*S", &amp;rpc_extra_hdrs) &lt;
          0) return;</div>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>./Kristofer</div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Wed, Nov 7, 2012 at 9:55 AM,
          Kristofer Signer <span dir="ltr">&lt;<a
              moz-do-not-send="true"
              href="mailto:kristofer.signer@gmail.com" target="_blank">kristofer.signer@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">Hi all,
            <div><br>
            </div>
            <div>I have an kamailio 3.3.2 server&nbsp;deployed&nbsp;with dialog
              awareness.</div>
            <div><br>
            </div>
            <div>When call dlg.end_dlg over xmlrpc I get an 200 OK
              response but the dialog is not ended.</div>
            <div><br>
            </div>
            <div>What I can do;</div>
            <div>call dlg.list (xmlrpc) and get the active dialog list,
              xmlrpc interface working.</div>
            <div>call dlg.dlg_list (xmlrpc) and get description of one
              dialog, xmlrpx method call with parameters working.</div>
            <div>call dlg_end_dlg (kamctl) and&nbsp;successfully&nbsp;end the
              dialog.</div>
            <div><br>
            </div>
            <div>so my questions are...</div>
            <div>Is the xmlrpc method dlg.end_dlg known to work?</div>
            <div>and if, what have I missed?</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>thanks</div>
            <div>./Kristofer Signer</div>
            <div><br>
            </div>
            <div>
              <div>$ /usr/local/kamailio-3.3/sbin/kamailio -V &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div>
              <div>version: kamailio 3.3.2 (x86_64/freebsd) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div>
              <div>flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS,
                TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST,
                DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC,
                FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
                USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST,
                HAVE_RESOLV_RES</div>
              <div>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE
                262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE
                65535, DEFAULT PKG_SIZE 4MB</div>
              <div>poll method support: poll, select, kqueue.</div>
              <div>id: unknown&nbsp;</div>
              <div>compiled on 09:53:26 Nov &nbsp;2 2012 with gcc 4.2.1</div>
            </div>
          </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://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>
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a></pre>
  </body>
</html>