gsm 900 problem

hello i am working with gsm900 project and when i used arduino uno and gsm shield is working good but when i connect arduino mega with gsm shield the arduino makes restart or does not connect to network the library that i used is from

the library that i used is from

So? What is most important is the code that uses the library. Post that code HERE in code tags.

At least post a link, so we don't have to spelunk around the website to find it. There are some slight differences in the pins between Uno and Mega. Which version of Mega do you have? Clone? R3? Which?

Please also supply links to the specific GSM shield that you are using.