mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +00:00
FS-1085: gsmopen AT+CREG format error now warning
This commit is contained in:
parent
f85fa23f26
commit
db66f1d1f2
@ -1339,8 +1339,8 @@ int gsmopen_serial_read_AT(private_t * tech_pvt, int look_for_ack, int timeout_u
|
||||
if (option_debug > 1)
|
||||
DEBUGA_GSMOPEN("|%s| +CREG: Display: %d, Registration=%d\n", GSMOPEN_P_LOG, tech_pvt->line_array.result[i], n, stat);
|
||||
if (err < 2) {
|
||||
ERRORA("|%s| is not formatted as: |+CREG: xx,yy|\n", GSMOPEN_P_LOG, tech_pvt->line_array.result[i]);
|
||||
} else {
|
||||
WARNINGA("|%s| is not formatted as: |+CREG: xx,yy|\n", GSMOPEN_P_LOG, tech_pvt->line_array.result[i]);
|
||||
}
|
||||
if (stat==0) {
|
||||
ERRORA
|
||||
("|%s| CELLPHONE is not registered to network, consider to move it or additional antenna\n",
|
||||
@ -1364,8 +1364,6 @@ int gsmopen_serial_read_AT(private_t * tech_pvt, int look_for_ack, int timeout_u
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if ((strncmp(tech_pvt->line_array.result[i], "+CMGW:", 6) == 0)) {
|
||||
int err;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user