GSM module SIM 900 Problem to send SMS (FIXED VERSION)

Well, the program is built to work with 9600 baud.

Are you telling me there is a way to guess in how many baud the sim900 GSM module work ? If yes, how do we modify it ?