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
<?php | |
# Plivo AUTH ID | |
$AUTH_ID = ''; | |
# Plivo AUTH TOKEN | |
$AUTH_TOKEN = ''; | |
# SMS sender ID. | |
$src = ''; |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
from flask import Flask, Response, request, url_for | |
import plivoxml | |
from utils import bitcoinnews_from_reddit, r | |
# This file will be played when a caller presses 2. | |
PLIVO_DIG_SIGS = "http://bitcoininfoline.com/mp3resources/bitcoindigitalsignatures.mp3" | |
# This file will be played when a caller presses 3. | |
PLIVO_BENEFITS = "http://bitcoininfoline.com/mp3resources/bitcoinbenefits.mp3" |
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
var http = require('http'); | |
var plivo = require('plivo'); | |
var server = http.createServer(function (request, response) { | |
var r = plivo.Response(); | |
var body = 'Welcome to Plivo'; | |
var params = {'loop' : 2}; |
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
<Response> | |
<Dial callerId="18004321321"> | |
<User>sip:yoda12312312@phone.plivo.com</User> | |
</Dial> | |
</Response> |
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 'formula' | |
class Swig < Formula | |
url 'http://downloads.sourceforge.net/project/swig/swig/swig-3.0.0/swig-3.0.0.tar.gz' | |
homepage 'http://www.swig.org/' | |
md5 '9c8278fad527dda4bf38edffe5acc394' | |
depends_on 'pcre' | |
def install |
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
#!/bin/bash | |
# Plivo Installation script for CentOS 5 and 6 | |
# and Debian based distros (Debian 5.0 , Ubuntu 10.04 and above) | |
# Copyright (c) 2011 Plivo Team. See LICENSE for details. | |
PLIVO_GIT_REPO=git://github.com/plivo/plivoframework.git | |
PLIVO_SETUP_SCRIPT=https://raw.github.com/plivo/plivoframework/master/scripts/ez_setup.py |
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
#!/bin/bash | |
# FreeSWITCH Installation script for CentOS 5.5/5.6 | |
# and Debian based distros (Debian 5.0 , Ubuntu 10.04 and above) | |
# Copyright (c) 2011 Plivo Team. See LICENSE for details. | |
FS_CONF_PATH=https://raw.githubusercontent.com/plivo/plivoframework/master/freeswitch | |
FS_GIT_REPO=git://git.freeswitch.org/freeswitch.git | |
FS_INSTALLED_PATH=/usr/local/freeswitch |
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
input { | |
udp { | |
port => 5666 | |
type => "syslog" | |
} | |
} | |
filter { | |
if [type] == "syslog" { | |
grok { |
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
input { | |
udp { | |
port => 5666 | |
type => syslog | |
} | |
} | |
filter { | |
grok { | |
type => "syslog" |
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
<!DOCTYPE html> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one | |
or more contributor license agreements. See the NOTICE file | |
distributed with this work for additional information | |
regarding copyright ownership. The ASF licenses this file | |
to you under the Apache License, Version 2.0 (the | |
"License"); you may not use this file except in compliance | |
with the License. You may obtain a copy of the License at |