@ -10032,7 +10032,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action
sprintf ( offer - > decline_m_line , " m=audio 0 %s %s " , protocol , codecs ) ;
if ( x = = 0 ) {
ast_ log( LOG_WARNING , " Ignoring audio media offer because port number is zero \n " ) ;
ast_ debug( 1 , " Ignoring audio media offer because port number is zero \n " ) ;
continue ;
}
@ -10114,7 +10114,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action
sprintf ( offer - > decline_m_line , " m=video 0 %s %s " , protocol , codecs ) ;
if ( x = = 0 ) {
ast_ log( LOG_WARNING , " Ignoring video stream offer because port number is zero \n " ) ;
ast_ debug( 1 , " Ignoring video stream offer because port number is zero \n " ) ;
continue ;
}
@ -10192,7 +10192,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action
sprintf ( offer - > decline_m_line , " m=text 0 %s %s " , protocol , codecs ) ;
if ( x = = 0 ) {
ast_ log( LOG_WARNING , " Ignoring text stream offer because port number is zero \n " ) ;
ast_ debug( 1 , " Ignoring text stream offer because port number is zero \n " ) ;
continue ;
}
@ -10255,7 +10255,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action
strcpy ( offer - > decline_m_line , " m=image 0 udptl t38 " ) ;
if ( x = = 0 ) {
ast_ log( LOG_WARNING , " Ignoring image stream offer because port number is zero \n " ) ;
ast_ debug( 1 , " Ignoring image stream offer because port number is zero \n " ) ;
continue ;
}
@ -27559,11 +27559,12 @@ static int handle_request_subscribe(struct sip_pvt *p, struct sip_request *req,
accept = __get_header ( req , " Accept " , & start ) ;
while ( ! found_supported & & ! ast_strlen_zero ( accept ) ) {
found_supported = strcmp ( accept , " application/simple-message-summary " ) ? 0 : 1 ;
if ( ! found_supported & & ( option_debug > 2 ) ) {
ast_debug ( 1 , " Received SIP mailbox subscription for unknown format: %s \n " , accept ) ;
if ( ! found_supported ) {
ast_debug ( 3 , " Received SIP mailbox subscription for unknown format: %s \n " , accept ) ;
}
accept = __get_header ( req , " Accept " , & start ) ;
}
/* If !start, there is no Accept header at all */
if ( start & & ! found_supported ) {
/* Format requested that we do not support */
transmit_response ( p , " 406 Not Acceptable " , req ) ;
@ -32823,7 +32824,7 @@ static void sip_send_all_mwi_subscriptions(void)
static int setup_srtp ( struct sip_srtp * * srtp )
{
if ( ! ast_rtp_engine_srtp_is_registered ( ) ) {
ast_ log( LOG_ERROR , " No SRTP module loaded, can't setup SRTP session. \n " ) ;
ast_ debug( 1 , " No SRTP module loaded, can't setup SRTP session. \n " ) ;
return - 1 ;
}