From: Giovanni Maruzzelli Date: Thu, 12 Apr 2012 09:41:31 +0000 (+0200) Subject: gsmopen: signal low alarm is now at < than 11 RSSI X-Git-Tag: v1.2-rc1~17^2~230^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d31b3e488cdf19b57943a13377e6649965dd1502;p=thirdparty%2Ffreeswitch.git gsmopen: signal low alarm is now at < than 11 RSSI --- 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");