I am working for an outsourcing company. I was working on a new project as my first onsite assignment in USA. The situation was tough over there. I was searching better opportunities in USA.

At that situation I have been contacted by manager of my previous project and shows interest to take into his project as on site lead. The reason is I have strong experience in that project. I feel that situation become easy for me if I goes to that project. I sent my consent to that manager and discussed the same with my current manager. My current manager didn't willing to release me initially. Same thing has been communicated to my ex-manager and I forgot that incident. But later due to the pressure from higher management current manager decided to release after finding replacement for me and same communicated to me.

Now my ex-project manager told me that there would be client interview in order to enter into that team even if I am ex-team member of that project. They would like to conduct mock-interviews with senior members of the team before they put across the client. So I have been interviewed by their current team members. 

Mean while the day come and my current manager find my replacement and released me from his project. Now I went to my ex-project manager and asked about offer in that team. I have been told by my ex-manager that as I have been out of team I need to ramp up with updates in the project and framework that has been used for that project and also I need refresh all my project knowledge. Otherwise there are less chances that I clear the client interview. I agreed with that.

Now she told me to go to some time offshore gain knowledge, clear client interview and work some time at offshore (the total duration would be 6 months) so that client will see no reason to deny me and pressurized me to take the decision within 2 days. I believe that idea would be good for me and the project also as I am correct fit for that project.I have some offers at outside company at that point of time. But I believe that joining this project will put my onsite career safe as I am correct fit for this company and decided to sacrifice 6 months of my onsite career with out looking other opportunities for the other projects. 

Then I have traveled back to offshore. Now I am at offshore. They make me sit idle in the name of preparing for client Interview. I am now reporting to offshore manager. Now the communication to that ex-manager should happen through offshore manager. When ever I ask about schedule for my client interview, they are scheduling one mock interview with one of the other team member and giving me some feedback. And asks me to work on that feedback by saying that when I over come the negatives specified in that feedback I will be placed across client for interview.

I don't understand what is going on. At this situation I already lost other opportunities based on this opportunity. 

How can myself put safe and profitable situation with these kind of management tactics?

What was the mistakes I have done with this episode? And what are the lessons for me?