GSM Modul only in net search modus

Hello,

i use an Arduino Mega 2560 and a GSM Modul GT864 E

http://www.produktinfo.conrad.com/datenblaetter/625000-649999/627417-an-01-en-GPRS_TERMINAL_GT864_E_V1_2_032014.pdf

I try to send a sms from the GSM Modul. But it doesn´t work. I don´t know why.

If i connect my Laptop with Terminal HTERM the GSM Modul does work.

And if i send at-commands from my Arduino to the Terminal HTERM it does work too. I can see the at-commands on the display

My program:

void setup() {
// initialize serial:
Serial1.begin(4800);
pinMode(12, OUTPUT);
pinMode(13, OUTPUT);
}
void loop() {
delay(2000);
Serial1.println("AT");
digitalWrite(12, HIGH);
delay(2000);
Serial.println("AT+CPIN=0000");
digitalWrite(13, HIGH);
delay(5000);
delay(5000);
delay(5000);
digitalWrite(12, LOW);
digitalWrite(13, LOW);
}

Can anyone help me?

Thank you.

TomSpeed