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.

Database access through API

Discussion in '3CX Phone System - General' started by luciancr, Mar 9, 2015.

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

    Joined:
    Mar 6, 2015
    Messages:
    1
    Likes Received:
    0
    Hi,
    I am trying to figure out how to access an SQL Server DB from one of the 3CX APIs. I suppose this should be possible with the Call Control API. I have seen that this is possible through VAD, but I cannot figure out how to do this via the API. Is this feature not exposed through the API ?
    What I am actually trying to achieve is to configure a Digital receptionist to write to a SQL Server DB when caller presses 1 or 2.

    Thank you.
     
  2. craigreilly

    craigreilly Well-Known Member

    Joined:
    Feb 1, 2012
    Messages:
    3,551
    Likes Received:
    298
    What language are you writing in? I think the APi's are in C#?
    Are you using Visual Studio?
    What SQL DB are you trying to connect to? Oracle? MSSQL? MySQL? Other?

    Each of these have different connection strings required to connect to from VS.
    But this would have nothing to do with the API's.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.