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.

3CX API v15 - Caller ID

Discussion in 'CRM / Helpdesk / App Integration' started by Jpock76, Oct 30, 2017.

Tags:
Thread Status:
Not open for further replies.
  1. Jpock76

    Joined:
    Oct 12, 2017
    Messages:
    3
    Likes Received:
    0
    Someone please tell me. How do I get caller ID name on a CONNECTED call? It seems the conn.AttachedData changes between ringing / dialing / connected / etc *. This should be easy. The caller id is there and visible on all the phone and in the 3CX client in windows, etc. Why can I not access it through the API? Was it left out on purpose? Please help. I am really only interested in how to get the caller id on a conn.status = "connected" call. I'd rather not have to check every status and save values as I go if possible.

    ActiveConnection conn
    conn.AttachedData.TryGetValue("lookup_displayname", out strValue);
    conn.AttachedData.TryGetValue("sip_displayname", out strValue);


    Thanks,
    Josh
     
Thread Status:
Not open for further replies.