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/perl -w | |
# SOAP client for CEA web service | |
use strict; | |
use SOAP::Lite; | |
# To turn on SOAP debugging use this | |
# ================================== | |
# use SOAP::Lite +trace => 'all'; | |
# ================================== |
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/perl -w | |
# SOAP client for CEA web service | |
use strict; | |
use SOAP::Lite; | |
# To turn on SOAP debugging use this | |
# ================================== | |
# use SOAP::Lite +trace => 'all'; | |
# ================================== |
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/perl -w | |
# SOAP client for CEA web service | |
use strict; | |
use SOAP::Lite; | |
# To turn on SOAP debugging use this | |
# ================================== | |
# use SOAP::Lite +trace => 'all'; | |
# ================================== |
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
// ===================== | |
// account information | |
// ===================== | |
$username = "999111999"; | |
$pin = "9991"; | |
$proxy = "http://staging-api.call-em-all.com/webservices/ceaapi_v2.asmx?WSDL"; | |
$client = new SoapClient($proxy, array("trace" => true)); |
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
// ===================== | |
// account information | |
// ===================== | |
$username = "999111999"; | |
$pin = "9991"; | |
// ===================== | |
// 1 = Announcement | |
// 2 = Survey | |
// 3 = SMS |
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
// ===================== | |
// account information | |
// ===================== | |
$username = "999111999"; | |
$pin = "9991"; | |
$firstName = "PersonTo"; | |
$lastName = "Invite"; |
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
# ====================================================== | |
# Programming Example on how to check account balance | |
# ====================================================== | |
function CheckAccount | |
( | |
[String] $username, | |
[String] $pin | |
) | |
{ |
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
# =========================================================================================================================== | |
# | |
# Send a voice-only broadcast (an announcement) with the name 'Test of Emergency' to the Emergency contacts group outside of the | |
# calling window. The broadcast should launch immdediately with the text-to-speech message of 'Please call the emergency bridge | |
# line as soon as possible, we are having an outage.' | |
# | |
# To do this, we'll make use of the ExtCreateBroadcast_AD function (shown below), passing it six parameters: | |
# | |
# ExtCreateBroadcast_AD 'Test of Emergency' Emergency 1 0 '' 'Please call the emergency bridge line as soon as possible, we are having an outage' | |
# |
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/python | |
# The suds SOAP client is not included in the default Python | |
# distribution and must be installed manually either by manual | |
# download or easy_install. | |
from suds.client import Client | |
url = 'http://staging-api.call-em-all.com/webservices/ceaapi_v2.asmx?wsdl' |
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/python | |
# The suds SOAP client is not included in the default Python | |
# distribution and must be installed manually either by manual | |
# download or easy_install. | |
from suds.client import Client | |
url = 'http://staging-api.call-em-all.com/webservices/ceaapi_v2.asmx?WSDL' |