This file contains hidden or 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
| var migrate = require('migrate') | |
| , join = require('path').join | |
| , fs = require('fs'); | |
| module.exports = function(compound) { | |
| var app = compound.app; | |
| var options = {args: []}; | |
| /** | |
| * Migration template. |
This file contains hidden or 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
| call.dial("+19197414205",{ | |
| answer: function(call) { | |
| call.say("Thanks for calling. Press one please") | |
| var key = call.get_keypress() | |
| call.say("You pressed " + key); | |
| } | |
| }) |
This file contains hidden or 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
| call.dial("+19197414205",{ | |
| answer: function(call1) { | |
| log.info("The other side picked up") | |
| call1.say("Thanks for calling") | |
| call.pause(10); | |
| call1.hangup(); | |
| }, | |
| hangup: function(call1) { | |
| log.info("Call finished.") | |
| } |
This file contains hidden or 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
| # | |
| # Based upon the NCSA server configuration files originally by Rob McCool. | |
| # | |
| # This is the main Apache server configuration file. It contains the | |
| # configuration directives that give the server its instructions. | |
| # See http://httpd.apache.org/docs/2.2/ for detailed information about | |
| # the directives. | |
| # | |
| # Do NOT simply read the instructions in here without understanding | |
| # what they do. They're here only as hints or reminders. If you are unsure |
NewerOlder