mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-09 03:45:27 +00:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user