Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
AMLNotificationTop
AMLNotificationTop

Panel
titleBGColor#F0F0F0
titleValid for N670 / N870 / N870E but not supported by N610. Software 2.52 or higher is needed.

The system can inform the Alarm (MQTT) server in case of:

  • DECT Manager and or DECT Base - Push notification
    • Single DECT base up/down
    • Single DECT manager up/down
  • DECT Manager and or DECT Base - Status information
    • Status of DECT base stations up/down
    • Status of DECT managers up/down
  • DECT Handset - Push notification
    • In/out of charger
    • Battery level
  1. DECT Manager and or DECT Base - Push notification
  2. How to subscribe for notifications
Background Color
color#F0F0F0

Anchor
AMLNotificationPushDECT
AMLNotificationPushDECT
1. DECT Manager and or DECT Base - Push notification

Scroll to top


By default, the system will notify the Alarm server if an DECT Manager and/or DECT base is down after 9 minutes outage. This value can be changed via auto-provisioning.


Code Block
languagexml
titleExample of xml file which changes DropoutNotificationTimeout to 60 seconds.
<?xml version="1.0" encoding="UTF-8"?>
<provisioning version="1.1" productID="e2">
   <nvm>
      <param name="AmlGlobal.0.DropoutNotificationTimeout" value="60"/>
   </nvm>
</provisioning>
Code Block
languagexml
titleTo disable functionality DropoutNotificationTimeout needs to be set to value 0.
<?xml version="1.0" encoding="UTF-8"?>
<provisioning version="1.1" productID="e2">
   <nvm>
      <param name="AmlGlobal.0.DropoutNotificationTimeout" value="0"/>
   </nvm>
</provisioning>
Background Color
color#F0F0F0

Anchor
AMLNotificationSubscribe
AMLNotificationSubscribe
1. How to subscribe for notifications

Scroll to top


If you want to receive this information, the alarm server need to subscribe on the MQTT topic.


Example of subscription for any notification.

Code Block
mosquitto_sub -v -t '#' -u "as1" -P "as1" --psk-identity as1 --psk password -p 8884 -h ip_address


Example of subscription for notification regarding status of base stations

Code Block
mosquitto_sub -v -t 'xxl/as-agent/system/as-agent/noti/bsStatus' -u "as1" -P "as1" --psk-identity as1 --psk password -p 8884 -h ip_address


Example of subscription for notification regarding status of dect managers

Code Block
mosquitto_sub -v -t 'xxl/as-agent/system/as-agent/noti/dmStatus' -u "as1" -P "as1" --psk-identity as1 --psk password -p 8884 -h ip_address


Example of subscription for notification regarding the handset status

Code Block
mosquitto_sub -v -t '+/+/as/hs/noti/hs_status' -u "as1" -P "as1" --psk-identity as1 --psk password -p 8884 -h ip_address


Where:

-u user needs to be added to external client list (webui settings/online-services/application-servers)

--psk is external client password

-p is psk port

-h is ip address of the device

If the AML server subscribes on the required topic, the system will answer with the status

PlantUML Macro
@startuml
!pragma teoz true
participant "Base 589ec60d90ca" as bs1
participant "Base 7c2f80c6e5c2" as bs2
participant "Base 7c2f80f68993" as bs3
box Nx70
participant "MQTT" as mqtt
end box
participant "AML server" as aml

== Example: Subscribe to base station status ==

aml -> mqtt: MQTT subscribe xxl/as-agent/system/as-agent/noti/bsStatus
mqtt -> aml: "{"payload":[{"id":"589ec60d90ca","name":"Office","status":"up"},{"id":"7c2f80c6e5c2","name":"LocalBS","status":"up"},{"id":"7c2f80f68993","name":"Reception","status":"up"}]}"


@enduml