3CX API v15 - Caller ID

Status
Not open for further replies.

Jpock76

Joined
Oct 12, 2017
Messages
3
Reaction score
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
 
Status
Not open for further replies.

Forum statistics

Threads
112,315
Messages
591,850
Members
165,459
Latest member
intoxtech