Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

3CX API PBXConnection

Discussion in '3CX Phone System - General' started by studio5, Oct 10, 2012.

Thread Status:
Not open for further replies.
  1. studio5

    Nov 12, 2010
    Likes Received:
    I'm trying to use the API of the new 11 version of 3CX.
    With previous versions I used the following method: PBXConnection() without passing any parameter and it all worked.

    Now the new PBXConnection method requires as input the 4 parameters: Host, Port, User and Pass.
    Can you tell me exactly what values I must use and from where I can take them?

    I tried to enter different values ​​but I always generates the exception PBXIsNotConnected without a specific reason.
    I tried with:
    - localhost, 5482, admin, admin
    - localhost, 5485, DbServ, pass
    -, 5000, admin, admin

    I will appreciate your help. Thank you.
  2. SY

    SY Well-Known Member
    3CX Support

    Jan 26, 2007
    Likes Received:
    "new PBXConnection()" still works. it is equivalent of ("", 5482, "", "")
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.