Differenze tra le versioni di "AdminGuide:Service:EventsNotification/en"

Da Kalliope Wiki.
Jump to navigation Jump to search
(Creata pagina con " %call_params[<JASON>]% :")
(Creata pagina con "{| class="wikitable" |- ! Event !! Description |- | ademco.*.* <br>alarmreceiver.*.*|| Specific events used by the optional KalliopeLift module to interface with elevator dial...")
Riga 106: Riga 106:
{| class="wikitable"
{| class="wikitable"
|-
|-
! Evento !! Descrizione
! Event !! Description
|-
|-
| ademco.*.* <br>alarmreceiver.*.*|| Eventi specifici utilizzati dal modulo opzionale KalliopeLift per interfacciarsi con i combinatori telefonici degli ascensori
| ademco.*.* <br>alarmreceiver.*.*|| Specific events used by the optional KalliopeLift module to interface with elevator dialers
|-
|-
| cti.client.background || Un client CTI (sistema operativo mobile) è stato messo in backrground
| cti.client.background || A CTI (mobile operating system) client was put in the backrground
|-
|-
| cti.client.login || Un client CTI ha effettuato il login
| cti.client.login || A CTI client logged in
|-
|-
| cti.client.login-failed || Un client CTI ha fallito un login
| cti.client.login-failed || A CTI client failed a login
|-
|-
| cti.client.logoff || Un client CTI ha effettuato il logout
| cti.client.logoff || A CTI client logged out
|-
|-
| mobile-app.call.incoming || Chiamata in arrivo all'account dell'app mobile
| mobile-app.call.incoming || Incoming call to mobile app account
|-
|-
| mobile-app.call.timeout || La chiamata all'account dell'app mobile è scaduta
| mobile-app.call.timeout || The call to the mobile app account has expired
|-
|-
| mobile-app.status.not-logged || L'applicazione mobile non è registrata
| mobile-app.status.not-logged || The mobile application is not registered
|-
|-
| mobile-app.wake-up.registered || L'app mobile si è attivata
| mobile-app.wake-up.registered || The mobile app has been activated
|-
|-
| mobile-app.wake-up.sent || Notifica di sveglia inviata all'account dell'app mobile
| mobile-app.wake-up.sent || Alarm notification sent to mobile app account
|-
|-
| mobile-app.wake-up.timeout || L'applicazione mobile non si attiva entro 5 secondi dall'invio della notifica
| mobile-app.wake-up.timeout || The mobile application does not activate within 5 seconds of sending the notification
|-
|-
| pbx.account.incomingcall || Una chiamata per un interno inoltrata all'account
| pbx.account.incomingcall || A call for an extension forwarded to the account
|-
|-
| pbx.account.startcall || Tentativo di chiamata all'account avviato
| pbx.account.startcall || Attempted call to account initiated
|-
|-
| pbx.account.unavailable || Tentativo di chiamata all'account non iniziato perché l'account non è disponibile
| pbx.account.unavailable || Attempt to call the account not initiated because the account is unavailable
|-
|-
| pbx.call.end || Una chiamata finisce
| pbx.call.end || Call ends
|-
|-
| pbx.call.start || Una chiamata inizia
| pbx.call.start || Call starts
|-
|-
| pbx.dynamic-routing.enter|| Una chiamata è entrata nel servizio di Instradamento dinamico
| pbx.dynamic-routing.enter|| A call has entered the Dynamic Routing service
|-
|-
| pbx.dynamic-routing.input|| Un nuovo parametro è stato inserito dal chiamante nell'instradamento dinamico
| pbx.dynamic-routing.input|| A new parameter was entered by the caller in the dynamic routing
|-
|-
| pbx.extension.answercall || Chiamata all'interno risposta da uno degli account associati
| pbx.extension.answercall || Extension call answered by one of the associated accounts
|-
|-
| pbx.extension.failedcall || Chiamata all'interno fallita
| pbx.extension.failedcall || Call to extension failed
|-
|-
| pbx.extension.incomingcall || Chiamata all'interno in arrivo
| pbx.extension.incomingcall || Incoming extension call
|-
|-
| pbx.extension.missedcall|| Un interno ha perso una chiamata; l'evento viene innescato solo se nelle azioni di trabocco di quell'interno è spuntata la voce "genera evento"
| pbx.extension.missedcall|| An extension missed a call; the event is triggered only if "generate event" is checked in the overflow actions of that extension
|-
|-
| pbx.queue.enqueue || Chiamata in attesa
| pbx.queue.enqueue || Call on hold
|-
|-
| pbx.queue.enter || Una chiamata arriva al servizio di coda
| pbx.queue.enter || A call comes in to the queue service
|-
|-
| pbx.queue.ringmember || Una chiamata viene presentata ad un operatore di coda
| pbx.queue.ringmember || A call is presented to a queue operator
|-
|-
| pbx.queue.ringnoanswer|| Un operatore selezionato non ha gestito la chiamata; la chiamata è ancora in coda e andrà ad altri operatori, se ci sono e non è scaduto il tempo massimo di attesa
| pbx.queue.ringnoanswer|| A selected operator did not handle the call; the call is still in queue and will go to other operators, if there are any and the maximum waiting time has not expired
|-
|-
| pbx.queue.servedcall|| Una chiamata nella coda è stata servita, ovvero risposta da un operatore
| pbx.queue.servedcall|| A call in the queue was served, i.e., answered by an operator
|-
|-
| pbx.queue.unservedcall|| Una chiamata nella coda non è stata servita globalmente; rappresenta quindi l'esito finale della chiamata che non è stata servita da nessun operatore
| pbx.queue.unservedcall|| A call in the queue was not served globally; therefore, it represents the final outcome of the call that was not served by any operator
|-
|-
| pbx.queuemember.added|| Un operatore di coda aggiunto
| pbx.queuemember.added|| Queue member added
|-
|-
| pbx.queue.enqueue || Una chiamata entra nel servizio di coda; la coda è aperta
| pbx.queue.enqueue || A call enters the queue service; the queue is open
|-
|-
| pbx.queuemember.pause|| Un operatore di coda è entrato in pausa
| pbx.queuemember.pause|| A queue member entered a pause
|-
|-
| pbx.queuemember.unpause|| Un operatore di coda è uscito dalla pausa
| pbx.queuemember.unpause|| A queue member came unpause
|-
|-
| pbx.spy.start|| Avviata la spia di supervisore
| pbx.spy.start|| Supervisor spy started
|-
|-
| pbx.spy.stop|| Interrotta la spia di supervisore
| pbx.spy.stop|| Supervisor spy stop
|-
|-
| pbx.queuemember.removed|| Un operatore di coda è rimosso
| pbx.queuemember.removed|| A queue member is removed
|-
|-
| pbx.wake-up.unanswered|| Il servizio sveglia non ha avuto risposta dalla camera
| pbx.wake-up.unanswered|| The wake-up service had no response from the room
|-
|-
| pbx.user.create|| È stato creato un nuovo utente di Kalliope
| pbx.user.create|| A new Kalliope user has been created
|-
|-
| pbx.user.password-change|| È stata cambiata la password di un utente di Kalliope
| pbx.user.password-change|| A Kalliope user's password has been changed
|-
|-
| storage.quota.exceeded|| È stata superata la quota di archiviazione riservata ad un determinato tenant
| storage.quota.exceeded|| The storage quota reserved for a specific tenant has been exceeded
|-
|-
| storage.quota.restored|| L'occupazione di archiviazione di un determinato tenant è tornata sotto la quota riservata
| storage.quota.restored|| the storage occupancy of a specific tenant is restored
|-
|-
|}
|}

Versione delle 09:43, 18 set 2022

Altre lingue:

Return to AdminGuide:Service

Description

This service lets you monitor the selected events by receiving notifications.

You can associate each selected event to a notification action such as an email or a call to a web service.

Configuration

Not1.png

In the Monitoring → Notifications section, you can manage the notification funcionality.

Notification Action List

In Notification Action List you can add a new notification by selecting Email or WebService action.


Email

Noti2.png

By selecting Add New Email Notification Action, it is possible to define the recipient of the event notification email and the information we want to convey. The following table shows the parameters you can define for the Email Notification.

Parameter
Description
Value
-
Enabled Allows you to disable Email Notification Yes / No
Name Noitification ID Alphanumeric
Email Settings
Recipients Email address of the recipient of the notification Alphanumeric
Subject Objects of the notification email Alphanumeric
Body Email text containing both default and event-specific placeholders Alphanumeric

The following table lists the generic parameters:

Parameter
Description
-
%event_id% Event id
%event_name% Event name
%event_description% Event description
%event_severity% Event severity (numeric, from 4 to 0 corresponding to DEBUG|INFO|WARNING|CRITICAL|FATAL)
%event_timestamp% Epoch in which the event occurred

Event-specific parameters are listed in the Notification page; JSON, XML, and AVP formats are supported.

The full set of parameters related to an event can be obtained with the placeholder: %call_params[<format>]%

Web Service

Not4.png

By selecting Add New WebService you can add a new web service notification. You will need to insert the name of the notification in the general settings.

The following table lists the configurable parameters for web service notifications.

Parameter
Description
Value
-
Enabled Allows you to disable WebService Notification Yes / No
Name Notification ID Alphanumeric
WebService Settings
URL Notification URL Alphanumeric
Auth Type Authentication Type None/ Basic
Auth username Authentication Username (only in Auth case) Alphanumeric
Auth password Authentication Password (only in Auth case) Alphanumeric
Request type Type of request Get/Post
Request content Content of request (just Post) Placeholder


When the event occurs, a notification will be sent to the external web service, which will handle the information received.

Notification List

Not5.png

In the Notification List section you can select Add New Notification to select the event for which you wish to be receive notifications.

The following table lists the events that can be monitored and with which a notification can be associated.

Event Description
ademco.*.*
alarmreceiver.*.*
Specific events used by the optional KalliopeLift module to interface with elevator dialers
cti.client.background A CTI (mobile operating system) client was put in the backrground
cti.client.login A CTI client logged in
cti.client.login-failed A CTI client failed a login
cti.client.logoff A CTI client logged out
mobile-app.call.incoming Incoming call to mobile app account
mobile-app.call.timeout The call to the mobile app account has expired
mobile-app.status.not-logged The mobile application is not registered
mobile-app.wake-up.registered The mobile app has been activated
mobile-app.wake-up.sent Alarm notification sent to mobile app account
mobile-app.wake-up.timeout The mobile application does not activate within 5 seconds of sending the notification
pbx.account.incomingcall A call for an extension forwarded to the account
pbx.account.startcall Attempted call to account initiated
pbx.account.unavailable Attempt to call the account not initiated because the account is unavailable
pbx.call.end Call ends
pbx.call.start Call starts
pbx.dynamic-routing.enter A call has entered the Dynamic Routing service
pbx.dynamic-routing.input A new parameter was entered by the caller in the dynamic routing
pbx.extension.answercall Extension call answered by one of the associated accounts
pbx.extension.failedcall Call to extension failed
pbx.extension.incomingcall Incoming extension call
pbx.extension.missedcall An extension missed a call; the event is triggered only if "generate event" is checked in the overflow actions of that extension
pbx.queue.enqueue Call on hold
pbx.queue.enter A call comes in to the queue service
pbx.queue.ringmember A call is presented to a queue operator
pbx.queue.ringnoanswer A selected operator did not handle the call; the call is still in queue and will go to other operators, if there are any and the maximum waiting time has not expired
pbx.queue.servedcall A call in the queue was served, i.e., answered by an operator
pbx.queue.unservedcall A call in the queue was not served globally; therefore, it represents the final outcome of the call that was not served by any operator
pbx.queuemember.added Queue member added
pbx.queue.enqueue A call enters the queue service; the queue is open
pbx.queuemember.pause A queue member entered a pause
pbx.queuemember.unpause A queue member came unpause
pbx.spy.start Supervisor spy started
pbx.spy.stop Supervisor spy stop
pbx.queuemember.removed A queue member is removed
pbx.wake-up.unanswered The wake-up service had no response from the room
pbx.user.create A new Kalliope user has been created
pbx.user.password-change A Kalliope user's password has been changed
storage.quota.exceeded The storage quota reserved for a specific tenant has been exceeded
storage.quota.restored the storage occupancy of a specific tenant is restored


The following table lists the configurable parameters for notifications.

Parameter
Description
Value
-
Enabled Allows you to disable the notification Yes / No
Name Notification ID Alphanumeric
Events
Event Type of events for which you want to be notified From list
Severity Event Severity Fatal/Critical/Warning/Info/Debug
Notification Action
Notification Action Association with a NotificationAction From list

When the selected event occurs, you will receive a notification with the desired information.

==Practical example==

For the "Unserved Call" event, if 103 calls 201, who is a member of the queue QueueTest, and after 5 seconds the caller leaves the service, we can request an email containing information on:

  • the id of the event
  • the name of the event
  • the name of the queue and waiting time
  • the reason the call was not served

by inserting the corresponding placeholders in the body of the email.

In the Notification List, we associate the "pbx.queue.unservedcall" event to the previously created notification action.

We will then receive an email with the following information:

Unserved
1511212918.0

1

Default
103
201

5

CANCELLED 


Or we can receive the following response by inserting the placeholders:

%call_params[<JASON>]% :


{"reason":"CANCELED","queue_id":"1","uniqueid":"1511212918.0","called_num":"201","caller_num":"103","queue_name":"QueueTest","waiting_time":"5"} 


%call_params[<XML>]%


> <?xml version="1.0"?>
> <response><reason>CANCELED</reason><queue_id>1</queue_id><uniqueid>1511212918.0</uniqueid><called_num>201</called_num><caller_num>103</caller_num><queue_name>QueueTest</queue_name><waiting_time>5</waiting_time></response> 


> %call_params[AVP]%:


> reason=CANCELED&queue_id=1&uniqueid=1511212918.0&called_num=201&caller_num=103&queue_name=QueueTest&waiting_time=5