Service/DeveloperGarden/VoiceCall.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Service  
Subpackage
DeveloperGarden  
Version
$Id$  

\Zend_Service_DeveloperGarden_VoiceCall

Package: Zend_Service\DeveloperGarden
Parent(s)
\Zend_Service_DeveloperGarden_Client_ClientAbstract
Author
Marco Kaiser  
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedarray $_classMap = array('newCallResponse' => 'Zend_Service_DeveloperGarden_Response_VoiceButler_NewCallResponse', 'newCallSequencedResponse' => 'Zend_Service_DeveloperGarden_Response_VoiceButler_NewCallSequencedResponse', 'tearDownCallResponse' => 'Zend_Service_DeveloperGarden_Response_VoiceButler_TearDownCallResponse', 'callStatusResponse' => 'Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse', 'callStatus2Response' => 'Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatus2Response')
Response, Request Classmapping
Default valuearray('newCallResponse' => 'Zend_Service_DeveloperGarden_Response_VoiceButler_NewCallResponse', 'newCallSequencedResponse' => 'Zend_Service_DeveloperGarden_Response_VoiceButler_NewCallSequencedResponse', 'tearDownCallResponse' => 'Zend_Service_DeveloperGarden_Response_VoiceButler_TearDownCallResponse', 'callStatusResponse' => 'Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse', 'callStatus2Response' => 'Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatus2Response')Details
Type
array
>VPropertyprotectedstring $_wsdlFile = 'https://gateway.developer.telekom.com/p3gw-mod-odg-voicebutler/services/VoiceButlerService?wsdl'
wsdl file
Default value'https://gateway.developer.telekom.com/p3gw-mod-odg-voicebutler/services/VoiceButlerService?wsdl'Details
Type
string
>VPropertyprotectedstring $_wsdlFileLocal = 'Wsdl/VoiceButlerService.wsdl'
wsdl file local
Default value'Wsdl/VoiceButlerService.wsdl'Details
Type
string

Methods

methodpubliccallStatus(string $sessionId, integer $keepAlive = null) : \Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse

checks the callStatus and updates the keepAlive if provided

Parameters
NameTypeDescription
$sessionIdstring
$keepAliveinteger
Returns
TypeDescription
\Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse
methodpublicnewCall(string $aNumber, string $bNumber, integer $expiration, integer $maxDuration, integer $account = null, boolean $privacyA = null, boolean $privacyB = null, string $greeter = null) : \Zend_Service_DeveloperGarden_Response_VoiceButler_NewCallResponse

init a new call with the given params

Parameters
NameTypeDescription
$aNumberstring
$bNumberstring
$expirationinteger
$maxDurationinteger
$accountinteger
$privacyAboolean
$privacyBboolean
$greeterstring
Returns
TypeDescription
\Zend_Service_DeveloperGarden_Response_VoiceButler_NewCallResponse
methodpublicnewCallSequenced(string $aNumber, array $bNumber, integer $expiration, integer $maxDuration, integer $maxWait, integer $account = null, boolean $privacyA = null, boolean $privacyB = null, string $greeter = null) : \Zend_Service_DeveloperGarden_Response_VoiceButler_NewCallSequencedResponse

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)

Parameters
NameTypeDescription
$aNumberstring
$bNumberarray
$expirationinteger
$maxDurationinteger
$maxWaitinteger
$accountinteger
$privacyAboolean
$privacyBboolean
$greeterstring
Returns
TypeDescription
\Zend_Service_DeveloperGarden_Response_VoiceButler_NewCallSequencedResponse
Throws
ExceptionDescription
\Zend_Service_DeveloperGarden_Client_Exception
methodpublictearDownCall(string $sessionId) : \Zend_Service_DeveloperGarden_Response_VoiceButler_TearDownCallResponse

This tear down the call with the given sessionId

Parameters
NameTypeDescription
$sessionIdstring
Returns
TypeDescription
\Zend_Service_DeveloperGarden_Response_VoiceButler_TearDownCallResponse
Documentation was generated by phpDocumentor 2.2.0 .