0

How can we get extensions from Elastix server using external PHP file?

BenMorel
  • 34,448
  • 50
  • 182
  • 322
arjun
  • 51
  • 6

1 Answers1

0

You can get it by querying the mysql database Elastix from your PHP.

select extension,name from users where ( extension IN (Select DISTINCT id from sip) or extension IN 
(Select distinct id from iax)) order by name;

With this query you have the extension and the name of your extensions.

Enjoy!