 
   now = new Date(Date.now())
 
-  deviceId = common.getDeviceId(cwmpRequest.methodRequest.deviceId)
-  currentRequest.deviceId = deviceId
-  util.log("#{deviceId}: Inform (#{cwmpRequest.methodRequest.event}); retry count #{cwmpRequest.methodRequest.retryCount}") if config.LOG_INFORMS
+  util.log("#{currentRequest.deviceId}: Inform (#{cwmpRequest.methodRequest.event}); retry count #{cwmpRequest.methodRequest.retryCount}") if config.LOG_INFORMS
 
   parameterNames = (p[0] for p in cwmpRequest.methodRequest.parameterList)
 

        path += p + '.'
        projection[path + '_timestamp'] = 1

    db.devicesCollection.findOne({'_id' : deviceId}, projection, (err, device) ->
      throw err if err
      lastBootstrap ?= device?._lastBootstrap
      _tasks = []

          updateAndRespond()
        )
      else
        db.devicesCollection.insert({_id : currentRequest.deviceId, _registered : now}, (err) ->
          throw err if err
          util.log("#{currentRequest.deviceId}: New device registered")
          _tasks.push({device: currentRequest.deviceId, name : 'refreshObject', objectName : ''})

          for cmd in customCommands.getDeviceCustomCommandNames(currentRequest.deviceId)
            _tasks.push({device: currentRequest.deviceId, name: 'customCommand', command: "#{cmd} init"})

          apiFunctions.insertTasks(_tasks, {}, () ->
            updateAndRespond()
