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

Da Kalliope Wiki.
Jump to navigation Jump to search
(Creata pagina con "You can associate each selected event to notification actions such as email or calling a web service.")
(Creata pagina con "To enable the service you will need to set an email or web service in the Notification Action List page and the text of the email...")
Riga 8: Riga 8:
You can associate each selected event to notification actions such as email or calling a web service.
You can associate each selected event to notification actions such as email or calling a web service.


Per attivare il servizio è necessario impostare l’email(o web Service) a cui ricevere la notifica nel pannello [[AdminGuide:GUI:OperatingMenu:Notifiche|Notification Action List]], precompilare il testo dell’email con le informazioni che vogliamo ricevere sull’evento e associare successivamente l’evento alla Notification Action nel pannello [[AdminGuide:GUI:OperatingMenu:Notifiche|Notification List]].
To enable the service you will need to set an email or web service in the [[AdminGuide:GUI:OperatingMenu:Notifiche/en|Notification Action List]] page and the text of the email you wish to receive, then associate the event to the desired notification action in the [[AdminGuide:GUI:OperatingMenu:Notifiche/en|Notification List]] page.


Al verificarsi dell’evento l’utente verrà avvisato tramite la recezione di una mail o di con una chiamata WebService.
Al verificarsi dell’evento l’utente verrà avvisato tramite la recezione di una mail o di con una chiamata WebService.

Versione delle 13:23, 21 feb 2019

Altre lingue:

Return to AdminGuide:Service

Notifications

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

You can associate each selected event to notification actions such as email or calling a web service.

To enable the service you will need to set an email or web service in the Notification Action List page and the text of the email you wish to receive, then associate the event to the desired notification action in the Notification List page.

Al verificarsi dell’evento l’utente verrà avvisato tramite la recezione di una mail o di con una chiamata WebService.


Per maggiore chiarezza facciamo un esempio.

Per l’evento “Coda non Servita” , se effettuiamo una chiamata da 103 a 201 a cui è associata la coda QueueTest e dopo 5 secondi il chiamante abbandona il servizio, possiamo richiedere nella mail informazioni circa

  • l’id dell’evento
  • il nome dell’evento
  • nome della coda, il tempo di attesa
  • il motivo per cui la coda non è stata servita

semplicemente inserendo nel body i placeholder appositi.

Nella Notification List indicheremo come evento “pbx.queue.unservedcall” associando la Notification Action precedentemente creata.

Riceveremo quindi una mail con le seguenti informazioni:

Unserved

1511212918.0

1

Default

103

201

5

CANCELLED


Oppure possiamo ottenere la seguente risposta inserendo il placeholder:

%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