[Spce-user] Problems with XMLRPC Provisioning interface
Raúl Alexis Betancor Santana
rabs at dimension-virtual.com
Sat Oct 15 16:01:21 EDT 2011
Hi all
I'm doing some test with the XMLRPC provisioning interface and have
found a problem that I don't know why it gives me this error.
I've done a simple python xmlrpc client and did 2 request, one
get_subscriber, without any problem I get the subscriber info, but
then I do a update_voip_account_subscriber, to add more E.164 numbers
to the subscriber, as that's not possible throught the admin
interface, so ... build the request and get "voip account subscriber
'8orrIzfee at test.com' does not exist", and I know it exists, moreover
because on the get_subscriver I get all the info .. ;)
Here is the update request as it is send to the XMLRPC provisioning
backend. Could someone tell me what is wrong with this request?
<?xml version='1.0'?>
<methodCall>
<methodName>XMLRPC.Provisioning.update_voip_account_subscriber</methodName>
<params>
<param>
<value><struct>
<member>
<name>authentication</name>
<value><struct>
<member>
<name>username</name>
<value><string>administrator</string></value>
</member>
<member>
<name>password</name>
<value><string>XXXXXX</string></value>
</member>
<member>
<name>type</name>
<value><string>admin</string></value>
</member>
</struct></value>
</member>
<member>
<name>parameters</name>
<value><struct>
<member>
<name>subscriber</name>
<value><struct>
<member>
<name>username</name>
<value><string>8orrIzfee</string></value>
</member>
<member>
<name>domain</name>
<value><string>test.com</string></value>
</member>
<member>
<name>alias_numbers</name>
<value><array><data>
<value><struct>
<member>
<name>cc</name>
<value><int>34</int></value>
</member>
<member>
<name>ac</name>
<value><int>928</int></value>
</member>
<member>
<name>sn</name>
<value><int>674064</int></value>
</member>
</struct></value>
</data></array></value>
</member>
</struct></value>
</member>
<member>
<name>id</name>
<value><int>9</int></value>
</member>
</struct></value>
</member>
</struct></value>
</param>
</params>
</methodCall>
More information about the Spce-user
mailing list