0.0.4 • Published 7 years ago

@samsystems/hapi-twilio-integration v0.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

hapi-twilio-integration

A plugin to integrate twilio into HAPIJS

Installation

npm install @samsystems/hapi-twilio-integration

Basic Setup

To setup a plugin you need some configurations as:

accountSid: Identify a twilio account, that can see in dashboard of twilio
authToken: The token for authorize twilio for determinate account, that can see in twilio dashboard`
twimlAppSid: The ID for twiml application call
applicationSid: Require for grant access for video call
twilioAPIKey: Require for grant access for video call, founded in twilio dashboard
twilioAPIKeySecret: Require for grant access for video call, founded in twilio dashboard

When you register a plugin in manifest you need setup previous options like:

plugin:  {

    register: '@samsystems/hapi-twilio-integration',                
    options: {
        accountSid: 'valid accountSid',
        authToken: 'valid authToken',
        twimlAppSid: 'valid twimlAppSid',
        applicationSid: 'valid applicationSid',
        twilioAPIKey: 'valid twilioAPIKey',
        twilioAPIKeySecret: 'valid twilioAPIKeySecret'
    }
}
0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago