How To Get Data By AltSoftSerial? Please Help!

Hi everyone!
I use AltSoftSerial (AltSoftSerial Library, for an extra serial port)

I can print data by AltSoftSerial but I can get data by AltSoftSerial, I dont know what is the mistake.

This is the code:
#include <AltSoftSerial.h>

AltSoftSerial altSerial;

void setup() {
Serial.begin(9600);
Serial.println("AltSoftSerial Test Begin");
altSerial.begin(9600);
altSerial.println("Hello World");
}

void loop() {
char c;

if (Serial.available()) {
c = Serial.read();
altSerial.print(c);
}
if (altSerial.available()) {
c = altSerial.read();
Serial.print(c);
}
}

Please help me, I need this library because use GSM.h also in my project.
Thank all of you alot!

What Arduino are you using?

How is it wired up? On an UNO, pin 8 is for RX and pin 9 is TX.

Or did you wire pin 8 to pin 9 for a loopback test?

Cheers,
/dev