Recieve and send a feedback SMS

Hi everyone,

I’m trying to make aproject with Arduino UNO and Sparkfun Celluar shield SM5100B.

Using this tutorial i have managed to send SMS(example 26.3) and recieve SMS(Example 26.5):

http://tronixstuff.com/2011/01/19/tutor … -part-one/

Now I’m trying in same code to recieve SMS and then send a Feedback SMS from the arduino, but so far unsuccessfully and i can’t understand why.

Is it possible to do in same code? I think there is a problem with the global definitions.

If yes, where can i find example for that?

Thanks,