setting object pwd via WebSocket PbxAdminApi.UpdateObject message (using C#)
Hello,
and sorry - I have another password issue 

After creation of new V13 PBX from template, I have to modify some PBX object passwords. I successfully connected to PbxAdminApi and retrieved ‘key’ and ‘pwd’ from _Admin_ object with MonitorAdminObject message.
==> {"mt":"MonitorAdminObject","api":"PbxAdminApi"}
<=={"mt":"MonitorAdminObjectInfo","api":"PbxAdminApi","pwd":"e38ac919256aef2e23954f8839fccd33","key":"102929b9de755c06ddf74516ab36f8d1"}
…
The object guid is retrieved via GetObject message (here: guid=F7BF20A14F6B60011A9F0800272FF27C). Now a new password needs to be set. According to SDK documentation (http://sdk.innovaphone.com/doc/appwebsocket/PbxAdminApi.htm#UpdateObject), the parameter ‘pwd’ is the password encrypted by key of the admin object.
Assuming, the new object password is “vo4NrA2O~KKxSt5” and the key is the above retrieved key, I would use following encryption:
string encryptedPwd = RC4.Encrypt("vo4NrA2O~KKxSt5", "102929b9de755c06ddf74516ab36f8d1");
The encryptedPwd is “15bc7c3e580d0934fa45e128061ce3” and UpdateObject message is then:
==>{"mt":"UpdateObject","api":"PbxAdminApi","guid":"F7BF20A14F6B60011A9F0800272FF27C","pwd":"15bc7c3e580d0934fa45e128061ce3","copyPwd":"15bc7c3e580d0934fa45e128061ce3"}
<=={"api":"PbxAdminApi","mt":"UpdateObjectResult"}
But the stored object password (different to above pwd) is obviously not correct after this. I also used other variants like decrypted key with retrieved ‘pwd’ before using it, all without success…
So the main question is, what means “password=pwd encrypted by key of the admin object”?
Kind regards
Uwe