zeroone:
Deva_Rishi thank you for your help, It is really appreciated, the problem is solved by the help from some guy, he asked me to put a delay after poweron function the gsm and before the serial and gsm begin, I tried first with 10 seconds and then tried with 5 seconds and works fine.again thank you and to any one who tried to help me!
You are welcome, ah it can be a good idea for certain things to have some startup time... Just now i realized of course.. connecting to the hwSerialPort (via the serialmonitor) resets the arduino, so the program start again, but the sim-shield has already been powered on for a while...