Jump to content
Vodia PBX forum
chrispopp

Any way to retreive the extensions in a pbx via rest/ldap?

Recommended Posts

Looking to retrieve a list of extensions from the PBX. This is to populate the a third party app. I was thinking about LDAP, but it might be easier using the REST api. Any code for this? XCAP?

Share this post


Link to post
Share on other sites

Hi,

 

Yes the REST API would be easier. Please check out this page https://vodia.com/pbxapi/extensions_api

If you need strictly only the list of extensions then you can use this command we just made:

curl -ku admin:password GET -D - https://<PBX_DOMAIN_NAME_OR_IP>/rest/domain/<DOMAIN_NAME/extensions

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×