Service/DeveloperGarden/VoiceCall.php
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
array $_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 value
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')
Details- Type
- array
string $_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
Methods
callStatus(string $sessionId, integer $keepAlive = null) : \Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse
checks the callStatus and updates the keepAlive if provided
Parameters
Returns
Name | Type | Description |
---|---|---|
$sessionId | string | |
$keepAlive | integer |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse |
newCall(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
Returns
Name | Type | Description |
---|---|---|
$aNumber | string | |
$bNumber | string | |
$expiration | integer | |
$maxDuration | integer | |
$account | integer | |
$privacyA | boolean | |
$privacyB | boolean | |
$greeter | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Response_VoiceButler_NewCallResponse |
newCallSequenced(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
Returns
Throws
Name | Type | Description |
---|---|---|
$aNumber | string | |
$bNumber | array | |
$expiration | integer | |
$maxDuration | integer | |
$maxWait | integer | |
$account | integer | |
$privacyA | boolean | |
$privacyB | boolean | |
$greeter | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Response_VoiceButler_NewCallSequencedResponse |
Exception | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_Exception |
tearDownCall(string $sessionId) : \Zend_Service_DeveloperGarden_Response_VoiceButler_TearDownCallResponse
This tear down the call with the given sessionId
Parameters
Returns
Name | Type | Description |
---|---|---|
$sessionId | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Response_VoiceButler_TearDownCallResponse |