Hello!
…so i have a running instance of asterisk 16 with FreePBX 15, i have some extensions created using the normal FreePBX Extensions Application, extensions use pjsip.
I had setup an application that uses the provided Graphql Api to fetch the the extension details with the following query. { fetchAllExtensions { extension { id extensionId tech coreDevice { id deviceId devicetype description emergencyCid tech { __typename ... on pjsip { tech secret } ... on unknowntech { tech } } } } } }
…this used to work very well, until something happened and lost the vm running asterisk. After setting up another instance, this same query would not ran, this is the updated query that works, { fetchAllExtensions { extension { id extensionId tech coreDevice { id deviceId dial devicetype description emergencyCid tech user{ password } } } } }
…as you notice the tech field is not a sub selection anymore, and for this reason, i cant seem to get the pjsip extension secret anymore.
i have the same versions as the earlier setup, installed from digitalOcean market place.
I have tried updating the Api modules and others but this did not change,
…is this a bug or is there something i might be missing?
[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+ |`