Hello everyone
i have been able to strcpy the result to a variable, i null terminated it and tried to make a call to the variable but the call is not going through, here is the code
if ( contentLength <= 0 ) {
char num [32];
strcpy(num, buffer);
buffer[ pos ] = 0;
Serial.println(num);
sendGSM("AT+CMGF=1");// changing to sms mode
delay(2000);
char n=sprintf( buffer, "ATD+%s;", num );
printf("%s\n", n);
delay(20000);
resetBuffer();
Here is the result i got in the serial monitor
Ignoring echo: AT+SAPBR=3,1,"Contype","GPRS"
Ignoring echo: AT+SAPBR=3,1,"APN","APN"
Ignoring echo: AT+SAPBR=3,1,"USER","FLAT"
Ignoring echo: AT+SAPBR=3,1,"PWD","FLAT"
Ignoring echo: AT+SAPBR=1,1
Ignoring echo: AT+SAPBR=2,1
Ignoring echo: AT+HTTPINIT
Ignoring echo: AT+HTTPSSL=1
Ignoring echo: AT+CGATT?
Ignoring echo: AT+HTTPPARA="CID",1
Ignoring echo: Received HTTPACTION
HTTPACTION type is 0,
HTTPACTION result is 200,
HTTPACTION length is 12
Ignoring echo: AT+HTTPREAD=0,12
Received HTTPREAD
HTTPREAD length is 12
HTTPREAD content: 91xxxxxxxxxx
OK
91xxxxxxxxxx
OK
Its show okay but the call doesn't go
Any help or idea will be appreciated, thanks.