getDirection() getDirection() : string Get the direction of the call. Returns string — Either "in", "out" or "client".
getChannelType() getChannelType() : string Get the channel type. Returns string — "p" for a primary call channel, "x" for an extra channel, "ca" for client to client without video, "cv" for client to client with video.
getOriginatingAddress() getOriginatingAddress() : string Get the address from which the call was made. Returns string
getDestinationAddress() getDestinationAddress() : string Get the target destination of the call. Returns string
getDuration() getDuration() : float Get the duration of the call. Returns float — The duration of the call in seconds.
getCallInitiatedTime() getCallInitiatedTime() : \DateTime Get the time at which the call was placed. Returns \DateTime
getCallConnectedTime() getCallConnectedTime() : \DateTime|null Get the time at which the call became connected. Returns \DateTime|null
getCallHangupTime() getCallHangupTime() : \DateTime Get the time at which the call was hung up. Returns \DateTime
getHangupCause() getHangupCause() : string Get the reason why the call was disconnected. Returns string
getJoinedDuration() getJoinedDuration() : float Get the joined duration. Returns float — The duration in seconds for which the call was joined (connected or transferred) to another call.