My iMessage is active after doing the following changes. Oh i was really ****** and at last found my own way. Thank God!
1. Open messages (which is inactive).
2. From the top menu go to messages -> preferences
3. Click on the accounts tab
4. Now click on the Details button.
5. This will ask you for your icloud username and password. Enter it.
6. Here most likely your Location would be set to empty or none. Select United States from the drop down or your country. My country was not in the drop down so I just selected United States and clicked Save.
7. Sign out from messages app.
8. Quit the messages app.
9. Reopen messages.
10. Sign in. That's it you are done.
Congrats!!! have a nice chat buddies.. ;-)