3CX API PBXConnection

Status
Not open for further replies.

deslab

Silver Partner
Joined
Nov 12, 2010
Messages
1
Reaction score
0
Hi,
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
- 127.0.0.1, 5000, admin, admin

I will appreciate your help. Thank you.
 
"new PBXConnection()" still works. it is equivalent of ("127.0.0.1", 5482, "", "")
 
Status
Not open for further replies.

Latest Posts

Members Online Now

Forum statistics

Threads
111,844
Messages
589,330
Members
164,680
Latest member
JV J