Code Monkey home page Code Monkey logo

twilio-voice-call-action's Introduction

Twilio voice call action

Stand With Ukraine Releases unit-tests functional-tests security linting Maintainability Test Coverage

This action sends Twilio voice call.

Prerequisites

Sign up to Twilio official web page. Then register a new number to use it as from parameter. If you use free trial account you have to add verified phone number to use it as to parameter. Account SID and Auth token you can find on a Dashboard page.

Inputs

Name Required Description Default Possible values
twilio_account_sid Yes Twilio account SID <String>
twilio_auth_token Yes Twilio auth token <String>
text Yes Text that will be send by voice call. <String>
from Yes Phone number in your Twilio account to send the voice call from <String>
to Yes Phone number to send the voice call to <String>
voice No Call voice alice man, woman, alice
twilio_log_level No Log level of the output from twilio call request debug debug, info, warn, error

Example usage

Workflow configuration

name: Twilio

on: push

jobs:
  twilio-voice-call:
    name: Twilio voice call
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: fabasoad/twilio-voice-call-action@v1
        if: success()
        with:
          text: 'GitHub actions build number ${{ github.run_number }} passed successfully.'
          from: '+1(123)4567890'
          to: '+1(123)4567809'
          twilio_account_sid: ${{ secrets.TWILIO_ACCOUNT_SID }}
          twilio_auth_token: ${{ secrets.TWILIO_AUTH_TOKEN }}

Result

Download example.mp3 file to listen.

twilio-voice-call-action's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar fabasoad avatar github-actions[bot] avatar pre-commit-ci[bot] avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lab-projects

twilio-voice-call-action's Issues

Twilio voice call fails without any error

Describe the bug

After the successful set up of the twilio account including the verified phone number, voice call fails after 1 day of usage

Steps to Reproduce

  1. Set up in github actions pipeline
  2. Use it for more than a day
  3. See if you are getting the call or not

Expected behavior

Call should be made. If it fails, throw the error why it is failed.

Actual behavior

No error at all and just no voice call made.

Screenshots

image

Technical information (please complete the following information):

-  name: Twilio voice call
       uses: fabasoad/twilio-voice-call-action@main
       if: failure()
       with:
         text: 'GitHub actions build number ${{ github.run_number }} passed successfully.'
         from: '+45verifiednumber'
         to: '+45anynumber'
         twilio_account_sid: 'my sid from twilio' #'${{ secrets.TWILIO_ACCOUNT_SID }}
         twilio_auth_token: 'my token from twilio'#'${{ secrets.TWILIO_AUTH_TOKEN }}

Additional context

It is how it is being displayed while expanding the previous image for this section. Removed the credentials intentionally.


Run fabasoad/twilio-voice-call-action@main
  with:
    text: GitHub actions build number 395 passed successfully.
    from: +45XYZ
    to: +45YUX
    twilio_account_sid: BLA BLA BLA
    twilio_auth_token: BLA BLA BLA
    voice: alice

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.