How to read single number entered from some phone ?
I will write some example so you can understand what i mean.
User calls.
Module send answer_Ok and waits until user has entered number 1.
Then i hangup.
Its much like when you call some answering mashine and after call she ask’s you to enter some number. I dont need this “please enter your number” part, just a way to detect the last entered number.
So my problem would be, that i dont know how to read this number, entered after the accepted call.
You can’t send DTMF over GSM - as I understand it, the CODECs are specifically designed for the human voice, and mess-up DTMF.
When you send DTMF from a mobile phone, it doesn’t go in-band as audio - it goes as signalling messages, and the DTMF is generated at the point where the call leaves the GSM network (the MSC?).
See AT+VTD, AT+VTS, AT+WDTMF
I don’t know if there’s any similar facility for recognising DTMF in “incoming” calls, and signalling this to the mobile…
You’d probably have to use an external DTMF detection curcuit and adapt your program to use the external circuit. It’s not going to be “easy” even then.
We have been using an external DTMF detection circuit in our hardware for many years. If there is a way to detect it in the module itself it would be great.
I can’t give you exact instructions on how to do it, but I can say for certain that it works.