res_pjsip_session: Add debug statement for session refreshes
This small patch adds a debug level 3 statement indicating how a session refresh is being sent - either as a re-INVITE or as an UPDATE - and where the session refresh is going. ........ Merged revisions 415115 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@415116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
db2ee74883
commit
4f603c5da3
|
@ -777,6 +777,9 @@ int ast_sip_session_refresh(struct ast_sip_session *session,
|
|||
return -1;
|
||||
}
|
||||
}
|
||||
ast_debug(3, "Sending session refresh SDP via %s to %s\n",
|
||||
method == AST_SIP_SESSION_REFRESH_METHOD_INVITE ? "re-INVITE" : "UPDATE",
|
||||
ast_sorcery_object_get_id(session->endpoint));
|
||||
ast_sip_session_send_request_with_cb(session, tdata, on_response);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue