Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Make a Twilio phone number redirect to whomever is on-call.

License

NotificationsYou must be signed in to change notification settings

jof/twilio_oncall_redirector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This utility is intended to enable the creation of a Twilio phone number thatredirects incoming calls to whomever is on-call at the time.

Setup

  • Create a read-only Pagerduty API token for your instance.
  • Create an S3 bucket for static file hosting (e.g. twiliooncallredirector.ops.example.com)
  • Create a matching Amazon AWS IAM user with PutObject permissions on this new bucket.

Usage

  • Clone this utility repo into a container, VM, or host somewhere with Internet access.
  • Run "bundle install --standalone"
  • Edit the config.yaml to include your:
    • Pagerduty API token
    • Pagerduty API endpoint
    • Pagerduty schedule IDs to generate TwiML for
    • AWS account keys
    • S3 bucket name
  • Call "bundle exec ./oncall.rb" from cron periodically.
  • Setup inbound phone numbers in Twilio and point them at the new TwiML files in the S3 bucket.

About

Make a Twilio phone number redirect to whomever is on-call.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp