This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//uses async function so we can... await | |
exports.handler = async function(context, event, callback) { | |
const client = context.getTwilioClient(); | |
const taskSid = event.taskSid; | |
const rejectedWorkerSid = event.workerSid; | |
const workspaceSid = context.WORKSPACESID; //WS.... | |
console.log("workspaceSid", workspaceSid); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' # not necessary with ruby 1.9 but included for completeness | |
require 'twilio-ruby' | |
# put your own credentials here | |
account_sid = 'ACxx' | |
auth_token = 'xx' | |
# set up a client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Cycle through all phone numbers, and filter on appsid | |
//you can't query by Appsid via the API, so getting all numbers and iterating is the way to do it. | |
//Module | |
//npm install request async | |
var request = require('request'); | |
var async = require('async'); | |
//Twilio account variables | |
var sid = 'ACxxxx'; | |
var auth = '52xxxxxx'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/choppen5/prizzm/vendor/bundle/ruby/1.9.1/bundler/gems/carrierwave-3850f67ce1b7/lib/carrierwave/processing/rmagick.rb:248: [BUG] Segmentation fault | |
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.4] | |
-- control frame ---------- | |
c:0136 p:---- s:0666 b:0666 l:000665 d:000665 CFUNC :read | |
c:0135 p:0054 s:0662 b:0662 l:000661 d:000661 METHOD /Users/choppen5/prizzm/vendor/bundle/ruby/1.9.1/bundler/gems/carrierwave-3850f67ce1b7/lib/carrierwave/processing/rmagick.rb:248 | |
c:0134 p:0029 s:0653 b:0653 l:000652 d:000652 METHOD /Users/choppen5/prizzm/vendor/bundle/ruby/1.9.1/bundler/gems/carrierwave-3850f67ce1b7/lib/carrierwave/processing/rmagick.rb:210 | |
c:0133 p:0044 s:0646 b:0646 l:000635 d:000645 BLOCK /Users/choppen5/prizzm/vendor/bundle/ruby/1.9.1/bundler/gems/carrierwave-3850f67ce1b7/lib/carrierwave/uploader/processing.rb:83 | |
c:0132 p:---- s:0641 b:0641 l:000640 d:000640 FINISH | |
c:0131 p:---- s:0639 b:0639 l:000638 d:000638 CFUNC :each |