Wrapping the call control api with asp.net restful api

Status
Not open for further replies.

AdamW

Joined
Feb 21, 2017
Messages
1
Reaction score
0
Hi I'm having difficulties at the moment wrapping the call control api into an asp.net api.

When I run the console app on the 3cx server it runs fine, when I try to access the call control api from an asp.net application I get an error stating that the configserver is not connected on the GetDN() call. Is it possible to access the call control api from a web application?

Thanks
 
Yes, but you need to set the connection information before you use the API, that is server, port, user name and password. You read that information from the 3CXPhoneSystem.ini file, just as the sample does.

Regards.
 
Status
Not open for further replies.

Forum statistics

Threads
112,322
Messages
591,889
Members
165,470
Latest member
Robert Lee