There’s a new fix for this today in Edge. Working syntax:
{
fetchExtension(extensionId: "4033") {
status
message
extensionId
user { extPassword }
}
}
You can also set the SIP secret like this (extensionId and name are both mandatory, and name gets updated with whatever you provide):
mutation {
updateExtension(input: {extensionId: 4033, name: "Freddy M", extPassword: "aabbccdd"}) {
status
message
}
}
Module version for the relevant modules:
[root@freepbx ~]# fwconsole ma --edge listonline |egrep "core|api|userman"`
| api | 15.0.3.14 | Enabled and up to date | AGPLv3+ |`
| core | 15.0.12.70 | Enabled and up to date | GPLv3+ |`
| userman | 15.0.37 | Enabled and up to date | AGPLv3+ |`