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

2016-03-29 Thread Carsten Bock
Hi. It probably also should be noted, that the current implementation works with a lot of different client implementations (we use Python for Nagios and PHP for Management (both built-in XML-RPC as well as ZendFramework's XML-RPC client)), so it cannot be that wrong. Just my $0,02, Carsten 2016-

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

2016-03-29 Thread ycaner
Hello;     You are right. I found rpc_add function. we can add whatever we want to response xml. Cheers   29.03.2016 11:10 tarihinde Daniel-Constantin Mierla-6 [via SIP Router] yazdı: H

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

2016-03-29 Thread Daniel-Constantin Mierla
Hello, 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 fau

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

2016-03-29 Thread ycaner
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.

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

2016-03-29 Thread Daniel-Constantin Mierla
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 , yo

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

2016-03-29 Thread ycaner
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. faultCode 200

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

2016-03-29 Thread Arsen
Hi guys! We have an issue with XML-RPC module. >From this doc: http://kamailio.org/docs/modules/4.3.x/modules/xmlrpc.html "Success replies always contain at least one return value. In our case the simplest success replies contain single boolean with value 1" We are trying to reload domain module