瀏覽代碼

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