Trying to get gprs shield to return sms response to originated number

I'm using AT commands. I can send a character to the device and it will reply back the value, but only to a predefined number. Is there a caller id command or something to capture the senders number and reply to it?
thanks,