how connect arduino mega 2560 and sm5100b

how to physically connect an arduino and a sm5100b, where to put the cables and
others, according to the photo in http://www.sparkfun.com/products/9607. I am looking for is to know from where a cable goes from arduino mega 2560 to some point in the module sm5100b, because i did the sketch, but nothing happen
code
#include <SoftwareSerial.h>

/* Example 26.3 GSM shield sending a SMS text message
http://tronixstuff.com/tutorials > chapter 26 */
SoftwareSerial cell(19,18); // We need to create a serial port on D2/D3 to talk to the GSM module
char mobilenumber = “7863998547”; // Replace xxxxxxxx with the recipient’s mobile number
void setup()
{ //Initialize serial ports for communication.
cell.begin(9600);
delay(35000); // give the GSM module time to initialise, locate network etc.
// this delay time varies. Use example 26.1 sketch to measure the amount
// of time from board reset to SIND: 4, then add five seconds just in case
}
void loop()
{
cell.println(“AT+CMGF=1”); // set SMS mode to text
cell.print(“AT+CMGS=”); // now send message…
cell.print(34,BYTE); // ASCII equivalent of "
cell.print(mobilenumber);
cell.println(34,BYTE); // ASCII equivalent of "
delay(500); // give the module some thinking time
cell.print(“que tal papa Ah ha ha ha”); // our message to send
cell.println(26,BYTE); // ASCII equivalent of Ctrl-Z
delay(9000); // the SMS module needs time to return to OK status
do // You don’t want to send out multiple SMSs… or do you?
{
delay(1);
}
while (1>0);
}

thak you for your help

The beauty of using a shield is that any one can install it correctly.

#include <SoftwareSerial.h>

/*  Example 26.3 GSM shield sending a SMS text message
http://tronixstuff.com/tutorials > chapter 26 */
SoftwareSerial cell(19,18);  // We need to create a serial port on D2/D3 to talk to the GSM module

Two things. First, SoftwareSerial is obsolete. You should not being using it. Normally, I’d recommend that you use NewSoftSerial, instead. But, you can’t do software serial on a hardware serial port.

The Mega has 4 hardware serial ports. Why do you need software serial ports, too?

Hello,you have a photo as it should be the connection or cables must be from mega 2560 to the shield sm5100b, I send the AT command and not respond OK. As I give power to shield, the shield should turn on a LED?
I am doing this code

#include <string.h> //Used for string manipulations
char incoming_char=0; //Will hold the incoming character from the Serial Port.

void setup()
{
//Initialize serial ports for communication.
Serial.begin(9600); // for terminal communication
Serial1.begin(9600); // for GSM module communication
Serial.println(“Starting SM5100B Communication…”);
}

void loop() {
//If a character comes in from the cellular module…
if(Serial1.available() >0)
{
incoming_char=Serial1.read(); //Get the character from the cellular serial port.
Serial.print(incoming_char); //Print the incoming character to the terminal.
}
//If a character is coming from the terminal to the Arduino…
if(Serial.available() >0)
{
incoming_char=Serial.read(); //Get the character coming from the terminal
Serial1.print(incoming_char); //Send the character to the cellular module.
}
}
and the i get is “Starting SM5100B Communication…”, i think the mega 2560 is not connect to shield sm5100b.
I need a little help, could you help me?
I am beginner in electronics
Thanks in advance

I send the AT command and not respond OK.

Some AT commands need to be followed by a line feed and/or carriage return. Some most not be.

Are you sending the CR/LF?

i am using serial monitor (AQRDUINO), and I put Return carriage and 9600 BAUD
Thanks in advance

But i would like to know if shield sm5100b the led has to be ON?

But i would like to know if shield sm5100b the led has to be ON?

It should be. Otherwise, it isn't going to do anything without power. If you are referring to the power indicator LED. There may be 3 LEDs - one for power, one for transmit, and one for receive. I'm not sure. I don't have the shield.

There is a tutorial linked to by the sparkfun site. It says:

Are you using an Arduino Mega board?

Mega users – things will be slightly different for you. Please make sure the TX and RX pins of your GSM shield DO NOT plug into your Mega. Furthermore, run a jumper wire from GSM shield pin D2 to Mega pin 19, and a jumper from GSM shield pin D3 to Mega pin 18, as shown below:

Finally, the example sketches will be different. Mega will not use the NewSoftSerial library, instead we use the Serial1 port. Please use the following Mega-equivalent sketches for this article: Example 26.1, 26.2, 26.3 and 26.4.

Did you bend the pins as required? Did you run the jumper wires? You certainly did not follow the directions about using different sketches.