Arduino problrm

Hello Guys, I am kinda new to arduino ...
I am having a project to use GSM shield SM5100-B to make calls from an arduino UNO Rev 3 module.

when I make a call as attached file file1 , it works fine and I receive a call on my mobile.

but when I attach my GSM shield with the arduino .... and then add the Keypad and LCD
and then run the code in file2 it just gives me a message like this
"SIM900 doesn't answer. Check power and serial pins in GSM.cpp status=IDLE"

Any Help Guys ,,, I have reviewed the GSM Shield library and everything seems fine

file2.ino (3.74 KB)

file1.ino (1.2 KB)

You don't say, but I assume it's the same GSM shield and the same Arduino connected in the same way in both instances?

When you have file1 uploaded and just the GSM shield attached, you say it works as expected. Suppose you then add the additional hardware but do not change the sketch - does it still work? If not, try the keypad without the screen and vice versa - which one is causing the problem?

I have uploaded both codes when all the modules are attached, including the keypad and the LCD, in both cases .

I will try to remove modules and the attach them one by one and check ..

Peter ... when I removed the external power source of 5V, 2A I am using, and then uploaded the code of sending an SMS statically it gave me the same error message