From d31b3e488cdf19b57943a13377e6649965dd1502 Mon Sep 17 00:00:00 2001 From: Giovanni Maruzzelli Date: Thu, 12 Apr 2012 11:41:31 +0200 Subject: [PATCH] gsmopen: signal low alarm is now at < than 11 RSSI --- src/mod/endpoints/mod_gsmopen/gsmopen_protocol.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_gsmopen/gsmopen_protocol.cpp b/src/mod/endpoints/mod_gsmopen/gsmopen_protocol.cpp index c1a195c187..78e9860f62 100644 --- a/src/mod/endpoints/mod_gsmopen/gsmopen_protocol.cpp +++ b/src/mod/endpoints/mod_gsmopen/gsmopen_protocol.cpp @@ -818,13 +818,13 @@ int gsmopen_serial_read_AT(private_t *tech_pvt, int look_for_ack, int timeout_us if (err < 2) { ERRORA("|%s| is not formatted as: |+CSQ: xx,yy|\n", GSMOPEN_P_LOG, tech_pvt->line_array.result[i]); } else { - if (signal_quality < 11 || signal_quality == 99) { + if (signal_quality < 9 || signal_quality == 99) { ERRORA ("|%s| CELLPHONE GETS ALMOST NO SIGNAL, consider to move it or additional antenna\n", GSMOPEN_P_LOG, tech_pvt->line_array.result[i]); tech_pvt->got_signal = 0; alarm_event(tech_pvt, ALARM_NETWORK_NO_SIGNAL, "CELLPHONE GETS ALMOST NO SIGNAL, consider to move it or additional antenna"); - } else if (signal_quality < 15) { + } else if (signal_quality < 11) { WARNINGA("|%s| CELLPHONE GETS SIGNAL LOW\n", GSMOPEN_P_LOG, tech_pvt->line_array.result[i]); tech_pvt->got_signal = 1; alarm_event(tech_pvt, ALARM_NETWORK_LOW_SIGNAL, "CELLPHONE GETS SIGNAL LOW");