<p>Matthew Fredrickson has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/5907">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip_session.h: Remove unused callback in ast_sip_session_sdp_handler<br><br>It was realized that the handle_incoming_sdp_stream callback is unnecessary<br>and unused in ast_sip_session_sdp_handler. This patch removes the callback<br>in question.<br><br>ASTERISK-27083 #close<br><br>Change-Id: Ifc0c68b4a5cba1ffd4df4f59f780847ffeeb99a9<br>---<br>M include/asterisk/res_pjsip_session.h<br>1 file changed, 0 insertions(+), 10 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/07/5907/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/include/asterisk/res_pjsip_session.h b/include/asterisk/res_pjsip_session.h<br>index 457edd8..b64816e 100644<br>--- a/include/asterisk/res_pjsip_session.h<br>+++ b/include/asterisk/res_pjsip_session.h<br>@@ -325,16 +325,6 @@<br> * \brief Create an SDP media stream and add it to the outgoing SDP offer or answer<br> * \param session The session for which media is being added<br> * \param session_media The media to be setup for this session<br>- * \param stream The stream on which to operate<br>- * \retval 0 The stream was not handled by this handler. If there are other registered handlers for this stream type, they will be called.<br>- * \retval <0 There was an error encountered. No further operation will take place and the current negotiation will be abandoned.<br>- * \retval >0 The stream was handled by this handler. No further handler of this stream type will be called.<br>- */<br>- int (*handle_incoming_sdp_stream)(struct ast_sip_session *session, struct ast_sip_session_media *session_media, const struct pjmedia_sdp_session *sdp, struct pjmedia_sdp_media *stream);<br>- /*!<br>- * \brief Create an SDP media stream and add it to the outgoing SDP offer or answer<br>- * \param session The session for which media is being added<br>- * \param session_media The media to be setup for this session<br> * \param sdp The entire SDP as currently built<br> * \retval 0 This handler has no stream to add. If there are other registered handlers for this stream type, they will be called.<br> * \retval <0 There was an error encountered. No further operation will take place and the current SDP negotiation will be abandoned.<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/5907">change 5907</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/5907"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ifc0c68b4a5cba1ffd4df4f59f780847ffeeb99a9 </div>
<div style="display:none"> Gerrit-Change-Number: 5907 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Matthew Fredrickson <creslin@digium.com> </div>