If you're trying to activate iMessage on an iPhone, you will also need a SIM card with an ongoing plan to send and receive ...
Your carrier will send an SMS to activate iMessage ... steps should help you get rid of the "iMessage is Signed Out" alert on your iPhone in most cases. However, you can try some generic fixes ...