Zend Framework
1.12
|
Public Member Functions | |
newCall ($aNumber, $bNumber, $expiration, $maxDuration, $account=null, $privacyA=null, $privacyB=null, $greeter=null) | |
init a new call with the given params | |
newCallSequenced ($aNumber, $bNumber, $expiration, $maxDuration, $maxWait, $account=null, $privacyA=null, $privacyB=null, $greeter=null) | |
init a new call with the given params but specially here, you can define a set of numbers to be called if the first number isnt reachable (ie: bNumber = +4930-111111,+4930-222222,+4930-333333) | |
tearDownCall ($sessionId) | |
This tear down the call with the given sessionId. | |
callStatus ($sessionId, $keepAlive=null) | |
checks the callStatus and updates the keepAlive if provided | |
![]() | |
__construct (array $options=array()) | |
constructor | |
setOption ($name, $value) | |
Set an option. | |
getOption ($name) | |
get an option value from the internal options object | |
getSoapClient () | |
returns the internal soap client if not allready exists we create an instance of Zend_Soap_Client | |
setEnvironment ($environment) | |
sets new environment | |
getEnvironment () | |
returns the current configured environemnt | |
getWsdl () | |
returns the wsdl file path, a uri or the local path | |
setUseLocalWsdl ($use=true) | |
switch to the local wsdl file usage | |
setWsdl ($wsdlFile=null) | |
sets a new wsdl file | |
setLocalWsdl ($wsdlFile=null) | |
sets a new local wsdl file | |
getClientOptions () | |
returns an array with configured options for this client | |
getCredential () | |
returns the internal credential object | |
Protected Attributes | |
$_wsdlFile = 'https://gateway.developer.telekom.com/p3gw-mod-odg-voicebutler/services/VoiceButlerService?wsdl' | |
$_wsdlFileLocal = 'Wsdl/VoiceButlerService.wsdl' | |
$_classMap | |
![]() | |
$_options = array() | |
$_serviceAuthId = 'https://odg.t-online.de' | |
$_serviceEnvironment = Zend_Service_DeveloperGarden_Client_ClientAbstract::ENV_PRODUCTION | |
$_wsdlFile = null | |
$_wsdlFileLocal = null | |
$_useLocalWsdl = true | |
$_credential = null | |
$_soapClient = null | |
$_classMap = array() | |
Additional Inherited Members | |
![]() | |
static | getParticipantActions () |
returns an array of all available environments | |
static | checkParticipantAction ($action) |
checks if the given action is valid otherwise it | |
static | getEnvironments () |
returns an array of all available environments | |
static | checkEnvironment ($environment) |
checks if the given environemnt is valid otherwise it | |
![]() | |
const | ENV_PRODUCTION = 1 |
constants for using with the odg api | |
const | ENV_SANDBOX = 2 |
const | ENV_MOCK = 3 |
const | PARTICIPANT_MUTE_OFF = 0 |
const | PARTICIPANT_MUTE_ON = 1 |
const | PARTICIPANT_RECALL = 2 |
![]() | |
static | _buildConstArray () |
helper method to create const arrays | |
![]() | |
static | $_consts = null |
callStatus | ( | $sessionId, | |
$keepAlive = null |
|||
) |
checks the callStatus and updates the keepAlive if provided
string | $sessionId | |
integer | $keepAlive |
newCall | ( | $aNumber, | |
$bNumber, | |||
$expiration, | |||
$maxDuration, | |||
$account = null , |
|||
$privacyA = null , |
|||
$privacyB = null , |
|||
$greeter = null |
|||
) |
init a new call with the given params
string | $aNumber | |
string | $bNumber | |
integer | $expiration | |
integer | $maxDuration | |
integer | $account | |
boolean | $privacyA | |
boolean | $privacyB | |
string | $greeter |
newCallSequenced | ( | $aNumber, | |
$bNumber, | |||
$expiration, | |||
$maxDuration, | |||
$maxWait, | |||
$account = null , |
|||
$privacyA = null , |
|||
$privacyB = null , |
|||
$greeter = null |
|||
) |
init a new call with the given params but specially here, you can define a set of numbers to be called if the first number isnt reachable (ie: bNumber = +4930-111111,+4930-222222,+4930-333333)
string | $aNumber | |
array | $bNumber | |
integer | $expiration | |
integer | $maxDuration | |
integer | $maxWait | |
integer | $account | |
boolean | $privacyA | |
boolean | $privacyB | |
string | $greeter |
tearDownCall | ( | $sessionId | ) |
This tear down the call with the given sessionId.
string | $sessionId |
|
protected |
|
protected |
|
protected |