Skip to content

Instantly share code, notes, and snippets.

Chad Hart chadwallacehart

Block or report user

Report or block chadwallacehart

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@chadwallacehart
chadwallacehart / voxengine_dialogflow_voicebot.js
Last active Jun 25, 2019
VoxEngine Dialogflow Voicebot example
View voxengine_dialogflow_voicebot.js
require(Modules.AI)
require(Modules.Recorder)
const MAX_NO_INPUT_TIME = 10000
const VOICEBOT_PHONE_NUMBER = 18576002939
let dialogflow, call
// Fire the "NO_INPUT" event if there is no speech for MAX_NO_INPUT_TIME
class Timer {
constructor() {
@chadwallacehart
chadwallacehart / laml.xml
Last active Jan 21, 2019
RecordAndForward
View laml.xml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say>This call is being recorded</Say>
<Dial
record="record-from-answer-dual"
recordingStatusCallback="http://66b272b6.ngrok.io">
<Number>+16177948881</Number>
</Dial>
</Response>
View hello.laml
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Message>Hello from SignalWire!</Message>
</Response>
@chadwallacehart
chadwallacehart / known_issues.md
Last active Jun 26, 2017
Click2Vox Known Issues
View known_issues.md

Date: 25 June, 2017

Error linking your SIP URI

The Click2Vox portal requires connectivity to Voxbone’s provisioning API to assign the SIP URI you entered. If you see this error your widget will use whichever SIP URI was successfully assigned last or the “echo@ivrs” echo service if you have not assigned a SIP URI. This error is caused by a lost of network connectivity. Please try saving your SIP URI again.

View tessel-relay-rest
/**
* Basic REST API for toggling a Tessel Relay module
* Created by chad on 8/30/2014.
*/
var router = require('tiny-router'),
relaylib = require('relay-mono'),
tessel = require('tessel');
var relay = relaylib.use(tessel.port['C']);
You can’t perform that action at this time.