Commit 0c5ab39316333d0da7c129c4b5228ca7dee89284
1 parent
e93c640354
Exists in
master
Register modem juga saat dapat CIMI
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
lib/modem.js
... | ... | @@ -215,6 +215,7 @@ function readIMSI() { |
215 | 215 | modemInfo.msisdn = msisdn[result]; |
216 | 216 | if (modemInfo.msisdn) { |
217 | 217 | logger.info(`MSISDN: ${modemInfo.msisdn}`); |
218 | + registerModem(modemInfo); | |
218 | 219 | } |
219 | 220 | } else { |
220 | 221 | logger.warn(`IMSI not detected. Please insert a sim card to your modem. Terminating ${config.modem.device}.`); |