<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  
  
    <font face="Courier New, Courier, monospace">Hello;<br>
          You are right. I found rpc_add function. we can add whatever
      we want to response xml.<br>
      <br>
      Cheers<br>
      <br>
       <br>
      <br>
      <br>
    </font><br>
    <div class="moz-cite-prefix">29.03.2016 11:10 tarihinde
      Daniel-Constantin Mierla-6 [via SIP Router] yazdı:<br>
    </div>
    <blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' cite="mid:56FA3870.9000709@gmail.com" type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      Hello,<br>
      <br>
      I haven't originally implemented the rpc interface in Kamailio
      (which we inherited via SER merge in 2008), but I expect to be
      some reason for this behaviour, give the code is like 10 years old
      by now. A fault code is a fault code, and if there was successful
      execution, then there was no fault.<br>
      <br>
      It is why I asked to check the xmlrpc specifications, because they
      must say what should be done in case of a successful execution
      without any data to be returned.<br>
      <br>
      If there is a problem with existing returned xml document, then of
      course needs to be fixed. But adding a fault code when the specs
      don't say that, it is not a fix, but breaking the specs.<br>
      <br>
      Cheers,<br>
      Daniel<br>
      <br>
      <div class="moz-cite-prefix">On 29/03/16 09:54, ycaner wrote:<br>
      </div>
      <blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #CCCCCC;padding:0 1em"
        cite="mid:56FA349B.3030207@netgsm.com.tr" type="cite">
        <meta content="text/html; charset=utf-8"
          http-equiv="Content-Type">
        <font face="Courier New, Courier, monospace">Hello Daniel;<br>
              there is only rpc_send method in rpc module that dont 
          have any code and other parameters. it sends empty xml text.
          if it has parameters like fault function , i think it will be
          useful.<br>
          <br>
          Cheers.<br>
        </font><br>
        <?xml version="1.0"?><br>
        <methodResponse><br>
            <params><br>
                <param><br>
                <value></value><br>
                </param><br>
            </params><br>
        </methodResponse><br>
        <br>
        <br>
        <div class="moz-cite-prefix">29.03.2016 10:32 tarihinde
          Daniel-Constantin Mierla-6 [via SIP Router] yazdı:<br>
        </div>
        <blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #CCCCCC;padding:0 1em"
          cite="mid:56FA2F6C.30204@gmail.com" type="cite"> Hello, <br>
          <br>
          is this correct if there was no error? The fault node should
          be in case <br>
          of errors, not success. You should check the xmlrpc specs to
          be sure any <br>
          chance is conform with the requirements there. <br>
          <br>
          Cheers, <br>
          Daniel <br>
          <br>
          On 29/03/16 09:26, ycaner wrote:
          <div class="shrinkable-quote"><br>
            > hello; <br>
            > i checked the rpc command and yes , you are right there
            isnt . i will add a <br>
            > rpc return code. it will look like if my pr is
            accepted. <br>
            > <br>
            > <?xml version="1.0"?> <br>
            > <methodResponse> <br>
            >     <fault> <br>
            >         <value> <br>
            >             <struct> <br>
            >                 <member> <br>
            >                     <name>faultCode</name>
            <br>
            >                     <value> <br>
            >                         <int>200</int> <br>
            >                     </value> <br>
            >                 </member> <br>
            >                 <member> <br>
            >                    
            <name>faultString</name> <br>
            >                     <value> <br>
            >                         <string>domain is
            reloaded</string> <br>
            >                     </value> <br>
            >                 </member> <br>
            >             </struct> <br>
            >         </value> <br>
            >     </fault> <br>
            > </methodResponse> <br>
            > <br>
            > <br>
            > <br>
            > -- <br>
            > View this message in context: <a
              moz-do-not-send="true"
href="http://sip-router.1086192.n5.nabble.com/XML-RPC-reply-doesn-t-contain-any-data-tp146894p146895.html"
              target="_top" rel="nofollow" link="external"><a class="moz-txt-link-freetext" href="http://sip-router.1086192.n5.nabble.com/XML-RPC-reply-doesn-t-contain-any-data-tp146894p146895.html" target="_top" rel="nofollow" link="external">http://sip-router.1086192.n5.nabble.com/XML-RPC-reply-doesn-t-contain-any-data-tp146894p146895.html</a></a><br>
            > Sent from the Users mailing list archive at Nabble.com.
            <br>
            > <br>
            > _______________________________________________ <br>
            > SIP Express Router (SER) and Kamailio (OpenSER) -
            sr-users mailing list <br>
            > <a moz-do-not-send="true"
              href="/user/SendEmail.jtp?type=node&node=146897&i=0"
              target="_top" rel="nofollow" link="external">[hidden
              email]</a> <br>
            > <a moz-do-not-send="true"
              href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
              target="_top" rel="nofollow" link="external">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></div>
          <br>
          -- <br>
          Daniel-Constantin Mierla <br>
          <a moz-do-not-send="true" href="http://www.asipto.com"
            target="_top" rel="nofollow" link="external">http://www.asipto.com</a><br>
          <a moz-do-not-send="true"
            href="http://twitter.com/#%21/miconda" target="_top" rel="nofollow" link="external">http://twitter.com/#!/miconda</a> -


          <a moz-do-not-send="true"
            href="http://www.linkedin.com/in/miconda" target="_top" rel="nofollow" link="external">http://www.linkedin.com/in/miconda</a><br>
          Kamailio World Conference, Berlin, May 18-20, 2016 - <a
            moz-do-not-send="true" class="moz-txt-link-freetext"
            href="http://www.kamailioworld.com" target="_top" rel="nofollow" link="external"><a class="moz-txt-link-freetext" href="http://www.kamailioworld.com" target="_top" rel="nofollow" link="external">http://www.kamailioworld.com</a></a><br>
          <br>
          <br>
          _______________________________________________ <br>
          SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
          mailing list <br>
          <a moz-do-not-send="true"
            href="/user/SendEmail.jtp?type=node&node=146897&i=1"
            target="_top" rel="nofollow" link="external">[hidden email]</a>
          <br>
          <a moz-do-not-send="true"
            href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
            target="_top" rel="nofollow" link="external">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
          <br>
          <br>
          <hr color="#cccccc" noshade="noshade" size="1">
          <div style="color:#444; font: 12px
            tahoma,geneva,helvetica,arial,sans-serif;">
            <div style="font-weight:bold">If you reply to this email,
              your message will be added to the discussion below:</div>
            <a moz-do-not-send="true"
href="http://sip-router.1086192.n5.nabble.com/XML-RPC-reply-doesn-t-contain-any-data-tp146894p146897.html"
              target="_top" rel="nofollow" link="external">http://sip-router.1086192.n5.nabble.com/XML-RPC-reply-doesn-t-contain-any-data-tp146894p146897.html</a>
          </div>
          <div style="color:#666; font: 11px
tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
            To unsubscribe from XML-RPC reply doesn't contain any data,
            <a moz-do-not-send="true" href="" target="_top" rel="nofollow" link="external">click here</a>.<br>
            <a moz-do-not-send="true"
href="http://sip-router.1086192.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a> </div>
        </blockquote>
        <br>
        <div class="moz-signature">-- <br>
          <meta http-equiv="Content-Type" content="text/html;
            charset=utf-8">
          <title></title>
          <div align="left">
            <div style="width:300px;" align="left"> <a
                moz-do-not-send="true" href="http://www.netgsm.com.tr"
                target="_blank" rel="nofollow" link="external"> <img
                  moz-do-not-send="true"
src="http://sip-router.1086192.n5.nabble.com/attachment/146899/0/yasin-imza-2014.jpg"
                  alt"netgsm"="" border="0"> </a> </div>
          </div>
        </div>
        <br>
        <hr align="left" width="300"> View this message in context: <a
          moz-do-not-send="true"
href="http://sip-router.1086192.n5.nabble.com/XML-RPC-reply-doesn-t-contain-any-data-tp146894p146899.html"
          target="_top" rel="nofollow" link="external">Re: XML-RPC reply
          doesn't contain any data</a><br>
        Sent from the <a moz-do-not-send="true"
          href="http://sip-router.1086192.n5.nabble.com/Users-f3.html"
          target="_top" rel="nofollow" link="external">Users mailing
          list archive</a> at Nabble.com.<br>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="/user/SendEmail.jtp?type=node&node=146900&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_top" rel="nofollow" link="external">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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com" target="_top" rel="nofollow" link="external">http://www.asipto.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda" target="_top" rel="nofollow" link="external">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda" target="_top" rel="nofollow" link="external">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, Berlin, May 18-20, 2016 - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.kamailioworld.com" target="_top" rel="nofollow" link="external">http://www.kamailioworld.com</a></pre>
      <br>
      _______________________________________________
      <br>
      SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
      list
      <br>
      <a moz-do-not-send="true"
        href="/user/SendEmail.jtp?type=node&node=146900&i=1"
        target="_top" rel="nofollow" link="external">[hidden email]</a>
      <br>
      <a moz-do-not-send="true"
        href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
        target="_top" rel="nofollow" link="external">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
      <br>
      <br>
      <hr color="#cccccc" noshade="noshade" size="1">
      <div style="color:#444; font: 12px
        tahoma,geneva,helvetica,arial,sans-serif;">
        <div style="font-weight:bold">If you reply to this email, your
          message will be added to the discussion below:</div>
        <a moz-do-not-send="true"
href="http://sip-router.1086192.n5.nabble.com/XML-RPC-reply-doesn-t-contain-any-data-tp146894p146900.html" target="_top" rel="nofollow" link="external">http://sip-router.1086192.n5.nabble.com/XML-RPC-reply-doesn-t-contain-any-data-tp146894p146900.html</a>
      </div>
      <div style="color:#666; font: 11px
tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
        To unsubscribe from XML-RPC reply doesn't contain any data, <a
          moz-do-not-send="true"
href="" target="_top" rel="nofollow" link="external">click
          here</a>.<br>
        <a moz-do-not-send="true"
href="http://sip-router.1086192.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a> </div>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <title></title>
      <div align="left">
        <div style="width:300px;" align="left">
          <a href="http://www.netgsm.com.tr" target="_blank" rel="nofollow" link="external">
            <img src="http://sip-router.1086192.n5.nabble.com/attachment/146901/0/yasin-imza-2014.jpg"
              alt"netgsm"="" border="0">
          </a>
        </div>
      </div>
    </div>
  



        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://sip-router.1086192.n5.nabble.com/XML-RPC-reply-doesn-t-contain-any-data-tp146894p146901.html">Re: XML-RPC reply doesn't contain any data</a><br/>
Sent from the <a href="http://sip-router.1086192.n5.nabble.com/Users-f3.html">Users mailing list archive</a> at Nabble.com.<br/>