Im working on a hobby project involving an Arduino and TC35 GSM Module, all is going well really but I am wondering is there an AT Command to terminate a voice call (ATD+phone number;) as I cannot seem to find one in any of the literature I've searched through.
Thanks, Dave
I think the answer to your question is ATH0 from memory
While the "classic" command ATH
(there is no need to give a numerical argument to ATH) is applicable for disconnecting calls, notice that it might be configured to do nothing by AT+CVHU=1
(ignore DTR pin and ATH) for other phones (TC35 seems to not support AT+CVHU).
There is the AT+CHUP
command that always will hang up the current call, independently of ATH behaviour configuration.
The 27.007 standard also defines an AT+CHCCS (Hangup of current calls) command that can be used to disconnect calls. Also AT+CHLD
might be used to disconnect calls.
The command you are looking for is ATH0 (Also dredged from my memory) but then confirmed with the Official Documentation
ATH command ends call ONLY when call was answered.
AT+CHUP command ends call whenever answered or not
来源:https://stackoverflow.com/questions/14756791/terminating-a-voice-call-via-at-command