[Kamailio-Users] problems with mi_xmlrpc command

Anton Roman antonroman at gmail.com
Mon Feb 8 15:27:54 CET 2010


Hi all,

I'm trying to send xmlrpc commands to Kamailio with Siremis but I get the
error below:
Fault Code: 5
Fault Reason: Didn't receive 200 OK from remote server. (HTTP/1.1 400 Bad
Request)

 I get the same error when I manually send the xmlrpc command with curl.


On the other hand, mi_xmlrpc module seems to be correctly loaded, but
nothing is written in the log file (set with

modparam("mi_xmlrpc", "log_file", "/var/log/abyss.log")).

Does anybody know where the problem might be?

Best regards,
thanks in advance.

Anton Roman


These are the traces of the xmlrpc message flow:

T +11.569284 127.0.0.1:37821 -> 127.0.0.1:8080 [AP]
POST  HTTP/1.0
User-Agent: PEAR XML_RPC
 Host: 127.0.0.1
Content-Type: text/xml
Content-Length: 135

<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>system.listMethods</methodName>
<params>
</params>
</methodCall>

##
T +0.000363 127.0.0.1:8080 -> 127.0.0.1:37821 [AP]
HTTP/1.1 400 Bad Request

#
T +0.000146 127.0.0.1:8080 -> 127.0.0.1:37821 [AP]
Content-type: text/html

#
T +0.001982 127.0.0.1:8080 -> 127.0.0.1:37821 [AFP]
 Connection: close
Date: Mon, 08 Feb 2010 14:04:08 GMT
Server: XMLRPC_ABYSS/1.06

<HTML><HEAD><TITLE>Error 400</TITLE></HEAD><BODY><H1>Error 400</H1><P>Bad
Request</P><p><HR><b><i><a href="http://xmlrpc-c.sourceforge.net">ABYSS Web
Server for XML-RPC For C/C++</a></i></b> version 1.06<br></p></BODY></HTML>
 ####
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/users/attachments/20100208/d4ab3a3d/attachment.htm>


More information about the Users mailing list