Skip to content

Instantly share code, notes, and snippets.

@callemall
callemall / C++ Install gSOAP.txt
Created July 31, 2013 15:51
Install gSOAP for using C++ programs to access a SOAP API. Install from an account that has appropriate system privileges.
wget http://sourceforge.net/projects/gsoap2/files/gSOAP/gsoap_2.8.1.zip/download
unzip gsoap_2.8.1.zip
cd gsoap-2.8/
./configure --prefix=/usr
make
make install
@callemall
callemall / C++ Install Pre-requisites.txt
Last active December 20, 2015 11:28
Setting up needed files for doing SOAP calls in C++. Install from an account that has appropriate system privileges.
wget http://curl.haxx.se/download/curl-7.21.3.tar.gz
gunzip curl-7.21.3.tar.gz
tar -xvvf curl-7.21.3.tar
cd curl-7.21.3
./configure --prefix=/usr
make
make install
@callemall
callemall / Bash - GetListContents.bash
Created July 31, 2013 15:39
Making use of the GetListContents function, this example shows how to retrieve contact list entries.
#!/bin/bash
(
cat <<EOF
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://wwCw.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetListContents xmlns="http://call-em-all.com/">
<myRequest>
<username>##U##</username>
<pin>##P##</pin>
@callemall
callemall / Access Visual Basic - ProvideAudio.vb
Created July 31, 2013 15:36
This code uses the ProvideAudio function to upload an audio file to an account's audio library for use in future broadcasts.
Option Compare Database
Private Sub TestXMLHTTP()
Dim username As String
Dim pin As String
Dim AudioType As String
Dim BinaryMessage As String
Dim AudioDescription As String
@callemall
callemall / Access Visual Basic - ExtCreateBroadcast.vb
Last active December 20, 2015 11:19
This example creates and launches a simple text-to-speech broadcast using the ExtCreateBroadcast function.
Private Sub TestXMLHTTP()
Dim username As String
Dim pin As String
Dim broadcastType As String
Dim phoneNumberSource As String
Dim broadcastName As String
Dim checkCallingWindow As String
Dim commaDelimitedPhoneNumbers As String
Dim TTSText As String