ACN: Add tracing to existing code

Prior to making any modifications to the pjsip infrastructure
for ACN, I've added the tracing functions to the existing code.
This should make the final commit easier to review, but we can also
now run a "before and after" trace.

No functional changes were made with this commit.

Change-Id: Ia83a1a2687ccb96f2bc8a2a3928a5214c4be775c
This commit is contained in:
George Joseph
2020-07-06 13:23:24 -06:00
parent 2d22e34206
commit 9bd1d686a1
9 changed files with 438 additions and 179 deletions

View File

@@ -926,4 +926,13 @@ int ast_sip_session_media_set_write_callback(struct ast_sip_session *session, st
*/
struct ast_sip_session_media *ast_sip_session_media_get_transport(struct ast_sip_session *session, struct ast_sip_session_media *session_media);
/*!
* \brief Get the channel or endpoint name associated with the session
* \since 18.0.0
*
* \param session
* \retval Channel name or endpoint name or "unknown"
*/
const char *ast_sip_session_get_name(const struct ast_sip_session *session);
#endif /* _RES_PJSIP_SESSION_H */