Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Master] - KZOO-46: Add Emergency Notification for E911 Compliance #6443

Merged
merged 1 commit into from
May 4, 2020

Conversation

mk1s
Copy link
Contributor

@mk1s mk1s commented Apr 2, 2020

This PR adds new functionality to help facilitate compliance with Kari's Law and notification for when an emergency call is placed.

An email contact list can now be set on a phone numbers emergency metadata.

Notification can now be achieved one of several ways:

  • A new amqp event, emergency_bridge has been added to kapi_notifications to trigger a teletype notification email when an emergency call is placed.
  • A new dedicated emergency bridge webhook can be configured

KZOO-48: Create new teletype template for Emergency Call Notifcation

  • Adds new text and html teletype templates
  • Adds new teletype module to render template
  • Template will distinguish between Emergency and test calls

KZOO-49: Create AMQP Message For Emergency Notification

  • Creates a new amqp definition ing kapi_notifications for usage when an emergency call is attempted.
  • Publish callback as been added to cb_notifications
  • Set emergency location data as well as user and device metadata

KZOO-50: Trigger Notification When Emergency Call is Attempted

  • Publishes emergency_bridge message when stepswitch determines an emergency call is being attempted
  • Adds a new test rules object a resource to define test patterns for a resource to help differentiate between emergency and test calls.

@mk1s mk1s marked this pull request as ready for review April 2, 2020 22:19
@jamesaimonetti
Copy link
Member

@mk1s needs a rebase

@icehess
Copy link
Contributor

icehess commented Apr 9, 2020

Again, there is no need for extra webhook, notification webhook would cover this too (but please check/test it :) ). If the project spec mentioned webhook then it is probably wrong and they didn't know about notifications webhook.

This PR adds new functionality to help facilitate compliance with
Kari's Law and notification for when an emergency call is placed.

An email contact list can now be set on a phone numbers emergency
metadata.

Notification can now be achieved one of several ways:

* A new amqp event, `emergency_bridge` has been added to
`kapi_notifications` to trigger a teletype notification email when an
emergency call is placed.
* A new dedicated emergency bridge webhook can be configured

* Adds new text and html teletype templates
* Adds new teletype module to render template
* Template will distinguish between Emergency and test calls

* Creates a new amqp definition ing `kapi_notifications` for usage
when an emergency call is attempted.
* Publish callback as been added to `cb_notifications`
* Set emergency location data as well as user and device metadata

* Publishes `emergency_bridge` message when stepswitch determines an
emergency call is being attempted
* Adds a new test rules object a resource to define test patterns for
a resource to help differentiate between emergency and test calls.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants