RichardDCG Posted March 14, 2023 Report Share Posted March 14, 2023 is there a way to extract from the PBX the number and type of extensions configured? To easily match what we are billed to what we have configured. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted April 25, 2023 Report Share Posted April 25, 2023 You could use nodejs (see https://doc.vodia.com/docs/using-nodejs) for this and use something like that: // Get the extensions in a domain: const getExtensions = async (domain) => { const users = await fetchPath(`/rest/domain/${encodeURIComponent(domain)}/users`) for (const user of users) { if (user.disabled) continue; if (!user.license) continue; if (user.usertype != 'extensions') continue; console.log(`extension ${user.alias[0]}`); } return extensions } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.