Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 850 Bytes

File metadata and controls

23 lines (14 loc) · 850 Bytes

Overview

This function is intended to compliment the demo client.

Setup

Step 1. Add the Function

Copy channel-transfer, into the api/ sub folder.

Step 2. Map the Function

Update dlgaas.js with the following, so that the escalation can take place to the SMS channel:

  Channel_Transfer_SMS = () => {
    return 'api/channel-transfer'
  }

Step 3. Update the Function's Target Endpoint through Environment Variables

Add an Environment Variable sms_connector_endpoint pointing to the deployed AppService (SMS Connector).