[OpenSIPS-Users] mi_xmlrpc and dlg_list
Mike Tesliuk
mike at brdsoft.com.br
Fri Oct 9 14:21:43 CEST 2015
Hello everybody,
Im trying some tests on an opensips 1.11 [ (1.11.3-notls (x86_64/linux))
] using mi_xmlrpc, when i try to call the dlg_list command i get the
message below
<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<fault>
<value><struct>
<member><name>faultCode</name>
<value><i4>-500</i4></value></member>
<member><name>faultString</name>
<value><string>The xmlrpc request could not be parsed into a MI
tree!</string></value></member>
</struct></value>
</fault>
</methodResponse>
My script is very simple, on the first moment just to check how i can
receive the return to be parsed
$request = xmlrpc_encode_request("dlg_list","");
$context = stream_context_create(array('http' => array(
'method' => "POST",
'header' => "Content-Type: text/xml",
'content' => $request
)));
$file = file_get_contents("http://127.0.0.1:8000/RPC2", false, $context);
print $file;
die();
Im able to use other commands like which, get_statistics but not the
dlg_list, is that expected ?
Thank you
More information about the Users
mailing list