Commit e178a442a38bd321f2c63414fa8b112ca7992323

Authored by Adhidarma Hadiwinoto
1 parent 7194997a36
Exists in master

report uptime dan path

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

lib/report-sender.js
... ... @@ -36,6 +36,8 @@ function incomingSMS(message, modemInfo) {
36 36 modem: config.name,
37 37 modem_imsi: modemInfo.imsi,
38 38 modem_msisdn: modemInfo.msisdn,
  39 + modem_device: config.modem.device,
  40 + uptime: Math.floor(process.uptime()),
39 41 report_port: config.http_command_server.listen_port,
40 42 report_apikey: config.http_command_server.apikey,
41 43 report_path_sms: '/sms',