I have problem with example code ReceiveVoiceCall from the official GSM library. Other sending and receiving SMS examples works well, MakeVoiceCall is also working well.
Problem seems to be in non functional function vcs.getvoiceCallStatus(). This function ALWAYS returns IDLE_CALL (0), even if I am calling from other telephone to the shield phone number. On the ammeter connected to pwr I can see increased current when I am calling, this indicates that modem is receiving call from gsm network. But, because function vcs.getvoiceCallStatus() returns IDLE_CALL, the modem cannot answer the call.
Do somebody have an idea? Are this example working on other Arduino GSM Shield users?
Thank you for reply
Arduino Uno R3, Arduino IDE 1.0.4, Arduino GSM Shield R3, fully functional voice enabled SIM in the shield.
Please. Could you check that the modem receives a call, and is notified via the software serial connection?
Use this sketch for communicate with modem directly:
char incoming_char = 0;
SoftwareSerial cell(2, 3);
Serial.println("Introduce your AT commands now!:");
if((incoming_char >= ' ')&&(incoming_char<='z'))
You can enter AT commands via Serial Monitor with “Both NL & CR” configuration.
Thank you for answer!
Interesting. When I first time load your code into Arduino, there was no responese to call and no response to AT command (I have sent AT+CNUM via terminal). Then I have load ReceiveSMS example, to check again serial communication between modem and Arduino - it was OK, received massage was printed on terminal. Then I have again loaded your code - and OOH-LA-LA it starts to answer to sending AT commands and send response when I called. Then, I have loaded ReceiveVoiceCall and it works!
Mysterious :-). Thank you for a nice piece of code, it was good medicine! Do you have an idea where was the problem?
I have exactly the same problem (gsm network in austria).
sms incoming and outgoing is working fine with the example program.
also outgoing voice calls (example program) is ok.
incoming voice calls are not recognized by the example program.
connecting via a terminal and sending at commands:
shows incoming calls - so the gsm module is working
i agree with your suspiction that the library function getVoiceCallStatus() has a bug
can anybody out in the arduino universe help and/or fix this error
thanks in advance
Are there any new solutions? Stuck on the same problem!