- Joined
- Jan 22, 2015
- Messages
- 61
- Reaction score
- 6
Hello,
another trouble for me is getting call details.
The data I need is:
* direction (inbound/outbound)
* state of the call (ringing, talking, hold, etc.)
* caller number
* callee number
* queue number (if this is inbound call from queue)
id is extension number which interest me. And what I get is:
Regards,
Trestill
another trouble for me is getting call details.
The data I need is:
* direction (inbound/outbound)
* state of the call (ringing, talking, hold, etc.)
* caller number
* callee number
* queue number (if this is inbound call from queue)
Code:
ActiveConnection[] conn = PhoneSystem.Root.GetDNByNumber(id).GetActiveConnections();
string result = string.Concat("CallID: ", conn[0].CallID, " ; OriginatedBy: ", conn[0].OriginatedBy, " ; status: ", conn[0].Status, " ; OnBehalfOf: ", conn[0].OnBehalfOf, " , DialedNumber: ", conn[0].DialedNumber);
Any suggestions what I do wrong here? And how to get info from AttachedData (is there anything usefull) ?["CallID: 272 ; OriginatedBy: ; status: Ringing ; OnBehalfOf: , DialedNumber: "]
Regards,
Trestill