- /etc/fusionpbx/config.php, get password used in following command
- psql -U fusionpbx fusionpbx –host 127.0.0.1
- select * from v_destinations where destination_number_regex = ‘^(7188715233)$’; match with % not work, get domain_uuid
- select * from v_domains where domain_uuid= ‘ad5e51e2-ee33-4c67-8d21-cc38747b6321’;

web access postgres database:
https://fusionpbx-ip/app/adminer/index.php?pgsql&db=fusionpbx&ns=public&username=auto