Преглед на файлове

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 години
родител
ревизия
09dcd23537
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      modules/sca/sca_call_info.c

+ 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 ) {