Hello,
I am able to configure most of the Cisco CE attributes using websockets. However, I am able to configure NTP servers & SIP proxy servers. May I know, how to configure them?
I tried various combinations, but it is not working:
await send(ws, '{"jsonrpc": "2.0","id": "0","method":"xSet","params": {"Path": ["Configuration", "NetworkServices", "NTP", "Server", [{"id":1,"Address":"10.10.10"}]]}}')
When I use xGet commands below, I get the following:
xGet:
await send(ws, '{"jsonrpc": "2.0","id": "0","method":"xGet","params": {"Path": ["Configuration", "NetworkServices", "NTP"]}}')
{"jsonrpc":"2.0","id":"0","result":[
{"id":1,"Address":"","Key":"***","KeyAlgorithm":"SHA256","KeyId":""},{"id":2,"Address":"","Key":"***","KeyAlgorithm":"SHA256","KeyId":""},{"id":3,"Address":"","Key":"***","KeyAlgorithm":"SHA256","KeyId":""}]}
How do I set 10.10.10.1 10.10.20.2, 10.10.30.3 as NTP server addresses?