[SR-Users] XML-RPC reply doesn't contain any data

ycaner yasin.caner at netgsm.com.tr
Tue Mar 29 09:54:38 CEST 2016


  
    
  
  
    Hello Daniel; 
          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. 
      
      Cheers. 
    
    <?xml version="1.0"?> 
    <methodResponse> 
        <params> 
            <param> 
            <value></value> 
            </param> 
        </params> 
    </methodResponse> 
    
    
    29.03.2016 10:32 tarihinde
      Daniel-Constantin Mierla-6 [via SIP Router] yazdı: 
    
     Hello,
      
      
      is this correct if there was no error? The fault node should be in
      case
      
      of errors, not success. You should check the xmlrpc specs to be
      sure any
      
      chance is conform with the requirements there.
      
      
      Cheers,
      
      Daniel
      
      
      On 29/03/16 09:26, ycaner wrote:
      
        > hello;
        
        > i checked the rpc command and yes , you are right there
        isnt . i will add a
        
        > rpc return code. it will look like if my pr is accepted.
        
        >
        
        > <?xml version="1.0"?>
        
        > <methodResponse>
        
        >     <fault>
        
        >         <value>
        
        >             <struct>
        
        >                 <member>
        
        >                     <name>faultCode</name>
        
        >                     <value>
        
        >                         <int>200</int>
        
        >                     </value>
        
        >                 </member>
        
        >                 <member>
        
        >                     <name>faultString</name>
        
        >                     <value>
        
        >                         <string>domain is
        reloaded</string>
        
        >                     </value>
        
        >                 </member>
        
        >             </struct>
        
        >         </value>
        
        >     </fault>
        
        > </methodResponse>
        
        >
        
        >
        
        >
        
        > --
        
        > View this message in context: http://sip-router.1086192.n5.nabble.com/XML-RPC-reply-doesn-t-contain-any-data-tp146894p146895.html 
        > Sent from the Users mailing list archive at Nabble.com.
        
        >
        
        > _______________________________________________
        
        > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
        mailing list
        
        > [hidden email] 
        
        > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
      
      -- 
      Daniel-Constantin Mierla
      
      http://www.asipto.com 
      http://twitter.com/#!/miconda  -
      http://www.linkedin.com/in/miconda 
      Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com 
      
      
      _______________________________________________
      
      SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
      list
      
      [hidden email] 
      
      http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
      
      
      
      
        If you reply to this email, your
          message will be added to the discussion below: 
        http://sip-router.1086192.n5.nabble.com/XML-RPC-reply-doesn-t-contain-any-data-tp146894p146897.html 
      
      
        To unsubscribe from XML-RPC reply doesn't contain any data, click
          here . 
        NAML  
    
    
    -- 
      
      
      
        
          
            
          
        
      
    
  



yasin-imza-2014.jpg (51K) <http://sip-router.1086192.n5.nabble.com/attachment/146899/0/yasin-imza-2014.jpg>




--
View this message in context: http://sip-router.1086192.n5.nabble.com/XML-RPC-reply-doesn-t-contain-any-data-tp146894p146899.html
Sent from the Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160329/ab335320/attachment.html>


More information about the sr-users mailing list