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

Arsen arsen.semionov at gmail.com
Tue Mar 29 09:13:47 CEST 2016


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 after adding/removing new domain, so
we send the following request:

XX - web server; YY - kamailio

T XX.XX.XX.XX:55028 -> YY.YY.YY.YY:8080 [AP]
POST /RPC2 HTTP/1.1.
Host: YY.YY.YY.YY:8080.
Accept: */*.
Accept-Encoding: deflate, gzip.
User-Agent: cURL.
Accept-Charset: UTF-8.
Content-Length: 120.
Content-Type: application/x-www-form-urlencoded.
.
<?xml version="1.0" encoding="iso-8859-1"?>
<methodCall>
<methodName>domain.reload</methodName>
<params/>
</methodCall>


T YY.YY.YY.YY:8080 -> XX.XX.XX.XX:55028 [AP]
HTTP/1.1 200 OK.
Sia: SIP/2.0/TCP XX.XX.XX.XX:55028.
Server: kamailio (4.3.4 (x86_64/linux)).
Content-Length: 108.
.
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value></value>
</param>
</params>
</methodResponse>

As you can see in the response from the kamailio there is no any data, so
our script is waiting until timeout...

Please advice.

Thanks,

-- 
Regards,
Arsen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160329/0f6f3a2b/attachment.html>


More information about the sr-users mailing list