Voice call question

Hi everybody,

When I have established a voice call to some number and this person hangs up, I get +WIND: 6 and NO CARRIER messages. But if the voice call is ended because of weak signal strength, it’ll be the same messages… Did I miss something? Is there a way to tell, if the call was terminated by an error instead of being hung up by the other party? (I do not monitor AT+CSQ, should I do this??)

Thanks in advance,
Jan

Hi Jan,

I think you should wait on a +WIND: 8 a few seconds after a NO CARRIER arrives. Then you can be quite sure that a netlost has quit your call.

Best Regards,
Marcus.

Hi Marcus,

that is a good idea, but it won’t work if you don’t loose the network completely…

...

[16:42:01] (AT T=00073 CMD) at+cclk?
[16:42:01] (AT T=00073 RSP) +CCLK: "06/08/18,16:42:28"
[16:42:01] (AT T=00073 RSP) OK

STARTING CALL:

[16:42:01] (AT T=00073 CMD) ATD+4950**89****;
[16:42:01] (AT T=00073 INT) +WIND: 5,1
[16:42:04] (AT T=00076 UNS) +WBCI: 3,3952
[16:42:05] (AT T=00077 INT) +WIND: 9
[16:42:05] (AT T=00077 INT) +WIND: 2
[16:42:08] (AT T=00080 INT) +WIND: 9
[16:42:08] (AT T=00080 RSP) OK

TRYING TO SEND SMS...

[16:42:09] (AT T=00081 CMD) AT+CMGS=+49173912****
[16:42:09] (AT T=00081 INT) > 
[16:42:09] (AT T=00081 CMD) GSR;....
[16:42:14] (AT T=00086 UNS) +WBCI: 3,3932
[16:42:23] (AT T=00095 UNS) +WBCI: 3,3916
[16:42:33] (AT T=00105 UNS) +WBCI: 3,3895
[16:42:35] (AT T=00107 RSP) +CMS ERROR: 513
[16:42:35] Fehler: (SMS_1) beim SMS-Versenden!

...THAT DIDN'T WORK OUT, THIS TIME!

[16:42:35] (AT T=00107 CMD) at+adc?
[16:42:35] (AT T=00107 RSP) +ADC: 3988,22,22
[16:42:35] (AT T=00107 RSP) OK
[16:42:35] (AT T=00107 CMD) AT+CMGS=+49173912****
[16:42:35] (AT T=00107 INT) > 
[16:42:35] (AT T=00107 CMD) GSR;....

RETRYING SMS...

[16:42:39] (AT T=00111 UNS) NO CARRIER
[16:42:39] (AT T=00111 UNS) +WIND: 6,1

VOICE CALL BROKE DOWN!!

[16:42:40] (AT T=00112 RSP) +CMS ERROR: 512

... AND THE SMS FAILED AGAIN...

[16:42:40] (AT T=00112 CMD) AT+WTONE=1,1,3000,12,05
[16:42:40] (AT T=00112 RSP) OK
[16:42:40] (AT T=00112 CMD) AT
[16:42:40] (AT T=00112 RSP) OK
[16:42:41] (AT T=00113 CMD) AT+WTONE=1,1,3000,12,05
[16:42:41] (AT T=00113 RSP) OK
[16:42:41] (AT T=00113 CMD) AT
[16:42:41] (AT T=00113 RSP) OK
[16:42:42] (AT T=00114 CMD) AT+WTONE=1,1,3000,12,05
[16:42:42] (AT T=00114 RSP) OK
[16:42:42] (AT T=00114 CMD) AT+CMGS=+49173912****
[16:42:42] (AT T=00114 INT) > 
[16:42:42] (AT T=00114 CMD) GSR;...
[16:42:43] (AT T=00115 UNS) +WBCI: 3,3903
[16:42:46] (AT T=00118 INT) +CMGS: 24

THIS TIME SMS SENDING DID WORK!! SO THE NETWORK WAS NOT COMPLETELY LOST JUST TO WEAK FOR VOICE CALLS

[16:42:46] (AT T=00118 RSP) OK
[16:42:46] (AT T=00118 CMD) at+adc?
[16:42:46] (AT T=00118 RSP) +ADC: 3996,22,22
[16:42:46] (AT T=00118 RSP) OK
[16:42:46] (AT T=00118 CMD) AT+WTONE=1,1,3000,9,05
[16:42:46] (AT T=00118 RSP) OK
[16:42:46] (AT T=00119 CMD) AT
[16:42:46] (AT T=00119 RSP) OK
[16:42:47] (AT T=00119 CMD) AT+WTONE=1,1,3000,9,05
[16:42:47] (AT T=00119 RSP) OK
[16:42:47] (AT T=00120 CMD) AT
[16:42:47] (AT T=00120 RSP) OK
[16:42:48] (AT T=00120 CMD) AT+WTONE=1,1,3000,9,05
[16:42:48] (AT T=00120 RSP) OK
[16:42:50] (AT T=00122 CMD) AT+WTONE=1,1,3000,6,05
[16:42:50] (AT T=00122 RSP) OK
[16:42:50] (AT T=00122 CMD) AT
[16:42:50] (AT T=00122 RSP) OK
[16:42:51] (AT T=00123 CMD) AT+WTONE=1,1,3000,6,05
[16:42:51] (AT T=00123 RSP) OK
[16:42:51] (AT T=00123 CMD) AT
[16:42:51] (AT T=00123 RSP) OK
[16:42:52] (AT T=00124 CMD) AT+WTONE=1,1,3000,6,05
[16:42:52] (AT T=00124 RSP) OK
[16:42:52] (AT T=00125 UNS) +WBCI: 3,3936
[16:42:52] (AT T=00125 CMD) at+adc?
[16:42:52] (AT T=00125 RSP) +ADC: 4030,22,22
[16:42:52] (AT T=00125 RSP) OK
[16:42:53] (AT T=00125 CMD) AT+WTONE=1,1,3000,3,05
[16:42:53] (AT T=00125 RSP) OK
[16:42:54] (AT T=00126 CMD) AT
[16:42:54] (AT T=00126 RSP) OK
[16:42:54] (AT T=00126 CMD) AT+WTONE=1,1,3000,3,05
[16:42:54] (AT T=00126 RSP) OK
[16:42:55] (AT T=00127 CMD) AT
[16:42:55] (AT T=00127 RSP) OK
[16:42:55] (AT T=00127 CMD) AT+WTONE=1,1,3000,3,05
[16:42:55] (AT T=00127 RSP) OK
[16:42:57] (AT T=00129 CMD) AT+WTONE=1,1,3000,0,05
[16:42:57] (AT T=00129 RSP) OK
[16:42:57] (AT T=00130 CMD) AT
[16:42:57] (AT T=00130 RSP) OK
[16:42:58] (AT T=00130 CMD) AT+WTONE=1,1,3000,0,05
[16:42:58] (AT T=00130 RSP) OK
[16:42:58] (AT T=00131 CMD) AT
[16:42:58] (AT T=00131 RSP) OK
[16:42:59] (AT T=00131 CMD) AT+WTONE=1,1,3000,0,05
[16:42:59] (AT T=00131 RSP) OK
[16:43:00] (AT T=00132 CMD) at+cced=0,1;+cced=0,4;+cced=0,2
[16:43:00] (AT T=00132 RSP) +CCED: 262,02,0200,2438,52,69,6,,,6,,,0
[16:43:00] (AT T=00132 RSP) +CCED: 3
[16:43:00] (AT T=00132 RSP) +CCED:
[16:43:00] (AT T=00132 RSP) OK
[16:43:00] (AT T=00132 CMD) at+cclk?
[16:43:00] (AT T=00132 RSP) +CCLK: "06/08/18,16:43:27"
[16:43:00] (AT T=00132 RSP) OK
[16:43:01] (AT T=00133 CMD) AT+WTONE=1,1,3000,0,05
[16:43:01] (AT T=00133 RSP) OK
[16:43:01] (AT T=00133 CMD) AT
[16:43:01] (AT T=00133 RSP) OK
[16:43:02] (AT T=00134 CMD) AT+WTONE=1,1,3000,0,05
[16:43:02] (AT T=00134 RSP) OK
[16:43:02] (AT T=00134 CMD) AT
[16:43:02] (AT T=00134 RSP) OK
[16:43:02] (AT T=00134 UNS) +WBCI: 3,3918
[16:43:03] (AT T=00135 CMD) AT+WTONE=1,1,3000,0,05
[16:43:03] (AT T=00135 RSP) OK
[16:43:03] (AT T=00135 CMD) at+adc?
[16:43:03] (AT T=00135 RSP) +ADC: 4012,22,22
[16:43:03] (AT T=00135 RSP) OK
[16:43:04] (AT T=00137 CMD) AT+WTONE=1,1,3000,0,05
[16:43:04] (AT T=00137 RSP) OK
[16:43:05] (AT T=00137 CMD) AT
[16:43:05] (AT T=00137 RSP) OK
[16:43:05] (AT T=00137 UNS) +CKEV: 7,1
[16:43:05] (AT T=00138 CMD) AT+WTONE=1,1,3000,0,05
[16:43:05] (AT T=00138 RSP) OK
[16:43:06] (AT T=00138 CMD) AT
[16:43:06] (AT T=00138 RSP) OK
[16:43:06] (AT T=00139 CMD) AT+WTONE=1,1,3000,0,05
[16:43:06] (AT T=00139 RSP) OK
[16:43:08] (AT T=00140 UNS) +CKEV: 7,0

NOW IT JUST STARTS TO LOOK FOR NETWORK... +CREG: 2 THAT IS ABOUT 30 SECONDS AFTER LOOSING THE VOICE CALL, I CAN'T REALLY KNOW, THAT THE VOICE CALL WAS NOT ENDED CORRECTLY AND THE NETWORK WAS LOST AFTERWARDS...

[16:43:10] (AT T=00143 UNS) +CREG: 2
[16:43:12] (AT T=00144 UNS) +WBCI: 3,3915
[16:43:12] (AT T=00144 CMD) at+adc?
[16:43:12] (AT T=00144 RSP) +ADC: 4009,22,22
[16:43:12] (AT T=00144 RSP) OK
[16:43:22] (AT T=00154 UNS) +WBCI: 3,3937
[16:43:22] (AT T=00154 CMD) at+adc?
[16:43:22] (AT T=00154 RSP) +ADC: 4031,22,22
[16:43:22] (AT T=00154 RSP) OK
[16:43:29] (AT T=00161 CMD) at+cced=0,1;+cced=0,4;+cced=0,2
[16:43:29] (AT T=00161 RSP) +CCED: 262,01,5005,7f1e,27,27,24,,,0,,,0
[16:43:29] (AT T=00161 RSP) +CCED: 3
[16:43:29] (AT T=00161 RSP) +CCED:
[16:43:29] (AT T=00161 RSP) OK
[16:43:29] (AT T=00161 CMD) at+cclk?
[16:43:29] (AT T=00161 RSP) +CCLK: "06/08/18,16:43:56"
[16:43:29] (AT T=00161 RSP) OK

...

I am still kind of clueless how to correctly diagnose the situation by the application. Maybe it is just guessing here???

Best Regards,
Jan

Hi Jan
If you want to know if the call released becase of an Error then you can use the AT+CEER command after the NO CARRIER to see why the call released

Best Regards
Walter

Hi Walter,

thanks a lot!! I feel kind of stupid now… This is exactly what I needed!

Thanks again,
Jan