Are you trying to output @contactid?
Generally, using stored procedures within an SSIS package is a very, very, very poor idea. However, since it is a source, it will need the input parameter @contactid, which will need to be set somehow (through a variable or whatever). Once the input parameter is set (if that is what you are trying to accomplish) then execute the source from a SQL command using T-SQL (EXECUTE extractdata). Using an OLEDB Source adapter might be easier.