2
0
Эх сурвалжийг харах

sca: return true if no Contact header is found in an INVITE packet

- stop spurious log messages when receiving a 100 Trying with no Contact.
Andrew Mortensen 12 жил өмнө
parent
commit
09dcd23537

+ 1 - 1
modules/sca/sca_call_info.c

@@ -1444,7 +1444,7 @@ sca_call_info_invite_handler( sip_msg_t *msg, sca_call_info *call_info,
 	LM_DBG( "sca_call_info_invite_handler: Contact header is empty. "
 		"(From: %.*s To: %.*s)", STR_FMT( from_aor ),
 		 STR_FMT( to_aor ));
-	return( -1 );
+	return( 1 );
     }
 
     if ( msg->first_line.type == SIP_REQUEST ) {