How to conect and return data in 3cx database?

Discussion in '3CX Phone System - General' started by Eder Pardeiro, Sep 12, 2017.

Thread Status:
Not open for further replies.
  1. Eder Pardeiro

    Joined:
    Jul 8, 2017
    Messages:
    11
    Likes Received:
    0
    Hi,

    3CX default reports don't meet all the need's. Then I think consult database and return data.

    How connect? I need a string of connection. Do you have any samples of query his I use to this?
     
  2. Silly English Kniggit

    Joined:
    Sep 13, 2017
    Messages:
    215
    Likes Received:
    76
    Google pgsql.
    Connection info is in C:\Program Files\3CX Phone System\Bin\3CXPhoneSystem.ini
    Use the info from [DbAdminREADONLY] section
    Note the port as I don't think it's the default for pgsql.if in doubt, try 5480 - 5485
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Eder Pardeiro likes this.
Thread Status:
Not open for further replies.