Windows App on a workstation?

Discussion in 'CRM / Helpdesk / App Integration' started by kevinchamplin, Feb 7, 2018.

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

    Joined:
    Feb 6, 2018
    Messages:
    7
    Likes Received:
    0
    What i'm needing to do is write up a simple windows form that displays a caller id. It'll do much more but lets start there. I've seen a few different methods for accessing the 3CX data.

    Is there a true restful api that I can connect to within visual studio and then write my api calls to do whatever needs to be done?

    The end goal here is to have the app run on a workstation and not on the host. Is that doable within 3CX?
     
  2. edossantos

    edossantos Support Team
    Staff Member 3CX Support

    Joined:
    Jun 27, 2007
    Messages:
    1,366
    Likes Received:
    109
    Hello @kevinchamplin,

    Do you want to show the caller id for a call arriving to a specific extension? You can use the 3CXPhone API from the client machine for that:
    https://www.3cx.com/blog/docs/3cxphone-for-windows-api/

    The Call Control API has much more functionality, but only works from the server:
    https://www.3cx.com/docs/call-control-api/

    There are no other APIs available. If you need to use the Call Control API from a client machine, you can create a wrapper running on the server, and give a REST interface to another program running on the client.

    Kind regards.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. kevinchamplin

    Joined:
    Feb 6, 2018
    Messages:
    7
    Likes Received:
    0
    Yes, i'd like to show the caller id for a call arriving on a specific extension. If I use the 3CXPhone API then I can access everything remotely? What typs of authentication is needed? I'm looking at the documentation now but haven't found that part just yet.
     
  4. edossantos

    edossantos Support Team
    Staff Member 3CX Support

    Joined:
    Jun 27, 2007
    Messages:
    1,366
    Likes Received:
    109
    You will be able to do the things that this particular API lets you do, which are not much. Basically receiving inbound calls notifications and make outbound calls.

    No authentication is required. You just put your DLL in the 3CXPhone app folder, edit the XML configuration file, and you're ready to go. Please read the documentation and let us know in case of having any questions.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. kevinchamplin

    Joined:
    Feb 6, 2018
    Messages:
    7
    Likes Received:
    0
    If I'm using the Call Trigger CMD Plugin as an example. What xml file needs edited?
     
  6. edossantos

    edossantos Support Team
    Staff Member 3CX Support

    Joined:
    Jun 27, 2007
    Messages:
    1,366
    Likes Received:
    109
    The configuration file is 3CXPhone.user.config
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.