Hi,
I am trying build a scenario where i want to get Extension number on which the P_Caller Called after The Connected Event fired.By using Caid and Neqt which is assigned to this call session.
using CSTA API 5,
logs of my scenario in which i am monitoring Extension Number '334'.
{"EVENT":"EVENT_EXTN_MONITORED","P_EXTN":"334", "PBX":0}
{"EVENT":"EVENT_RINGING","P_CAID":597,"P_NEQT":47,"P_CALLER":"004917634944703","P_CALLED":"984975"}
{"EVENT":"EVENT_CONNECTED","P_CAID":597,"P_NEQT":47,"P_CALLER":"004917634944703","P_CALLED":"984975"}
{"EVENT":"EVENT_DISCONNECTED","P_CAID":597,"P_NEQT":284,"P_RELEASING":"004917634944703"}{"EVENT":"EVENT_DISCONNECTED","P_CAID":597,"P_NEQT":47,"P_RELEASING":"334"}
but i can't figure out which function should i use to get Extension using caid and neqt.