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.

Wrapping the call control api with asp.net restful api

Discussion in 'CRM / Helpdesk / App Integration' started by AdamW, Feb 21, 2017.

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

    Joined:
    Feb 21, 2017
    Messages:
    1
    Likes Received:
    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
     
  2. edossantos

    edossantos Support Team
    Staff Member 3CX Support

    Joined:
    Jun 27, 2007
    Messages:
    1,597
    Likes Received:
    125
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.