duemilanove + sim900

obviously this isn't the best way to fix the problem, its a big hammer approach , Does anyone have this file fully sorted ?