Home --> Documentations --> PJSIP Reference
This structure describes the information and current status of a call.
Initial call role (UAC == caller)
The account ID where this call belongs.
Dialog Call-ID string.
Text describing the state
Last status code heard, which can be used as cause code
The reason phrase describing the status.
Media status of the default audio stream. Default audio stream is chosen according to this priority:
Media direction of the default audio stream. See media_status above on how the default is chosen.
The conference port number for the default audio stream. See media_status above on how the default is chosen.
Number of active media info in this call.
Array of active media information.
Number of provisional media info in this call.
Array of provisional media information. This contains the media info in the provisioning state, that is when the media session is being created/updated (SDP offer/answer is on progress).
Up-to-date call connected duration (zero when call is not established)
Total call duration, including set-up time
Flag if remote was SDP offerer
Number of audio streams offered by remote
Number of video streams offered by remote