3CX API v15 - Caller ID

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

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

    Oct 12, 2017
    Likes Received:
    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);

Thread Status:
Not open for further replies.