Help me in project of A6 GSM.module

Sir please help me i have a A6 GSM module and Arduino uno , i want auto answering to GSM module to any mobile number

What have you done so far? This isn't a free code writing service. This is a place to get help with code you are writing. What have you don'e so far? What have you learned? Do you have any specific questions?

Please don't address everyone as Sir. It is insulting to the forum members who might be women. Please be considerate.

i wrote a code for auto answering but it does not work i have a a6 gsm module
/*

ATSO=1
Set the phone to automatically answer a phone number.

*/

#include <SoftwareSerial.h>

SoftwareSerial mySerial(2, 3);
boolean stringComplete = false;
String inputString = "";
String fromGSM="";
void setup()
{
Serial.begin(9600);
Serial.println("Serial Connected");
mySerial.begin(9600);

//reserve some buffer space
inputString.reserve(200);
fromGSM.reserve(200);

//Turn off echo from GSM
mySerial.print("ATE0");
mySerial.print("\r");
delay(300);

//set to auto answer after 1 ring, [1-255]
mySerial.print("ATS0=1");
mySerial.print("\r");
delay(300);

}

void loop()
{

}