Added Master's Pami and Updated Code as Per Blind Transfer
Showing
44 changed files
with
4719 additions
and
20 deletions
| <?php | ||
| /** | ||
| * BlindTransfer action message. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Action | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @version SVN: $Id$ | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| * | ||
| * Copyright 2011 Marcelo Gornstein <[email protected]> | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ | ||
| namespace PAMI\Message\Action; | ||
| /** | ||
| * BlindTransfer action message. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Action | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| */ | ||
| class BlindTransferAction extends ActionMessage | ||
| { | ||
| /** | ||
| * Constructor. | ||
| * | ||
| * @param string $channel Transferer's channel. | ||
| * @param string $extension Extension to transfer to. | ||
| * @param string $context Context to transfer to. | ||
| */ | ||
| public function __construct($channel, $extension, $context) | ||
| { | ||
| parent::__construct('BlindTransfer'); | ||
| $this->setKey('Channel', $channel); | ||
| $this->setKey('Exten', $extension); | ||
| $this->setKey('Context', $context); | ||
| } | ||
| } |
| <?php | ||
| /** | ||
| * Returns detailed information about a bridge and the channels in it. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Action | ||
| * @author Matt Styles <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @version SVN: $Id$ | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| * | ||
| * Copyright 2011 Marcelo Gornstein <[email protected]> | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ | ||
| namespace PAMI\Message\Action; | ||
| /** | ||
| * Returns detailed information about a bridge and the channels in it. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Action | ||
| * @author Matt Styles <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| */ | ||
| class BridgeInfoAction extends ActionMessage | ||
| { | ||
| /** | ||
| * Constructor. | ||
| * | ||
| * @param string $bridgeUniqueid The unique ID of the bridge about which to retrieve information. | ||
| * | ||
| * @return void | ||
| */ | ||
| public function __construct($bridgeUniqueid) | ||
| { | ||
| parent::__construct('BridgeInfo'); | ||
| $this->setKey('BridgeUniqueid', $bridgeUniqueid); | ||
| } | ||
| } |
| <?php | ||
| /** | ||
| * Challenge action message. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Action | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @version SVN: $Id$ | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| * | ||
| * Copyright 2011 Marcelo Gornstein <[email protected]> | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ | ||
| namespace PAMI\Message\Action; | ||
| /** | ||
| * Challenge action message. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Action | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| */ | ||
| class ChallengeAction extends ActionMessage | ||
| { | ||
| /** | ||
| * Constructor. | ||
| * | ||
| * @param string $authType Auth type | ||
| */ | ||
| public function __construct($authType = 'MD5') | ||
| { | ||
| parent::__construct('Challenge'); | ||
| $this->setKey('AuthType', $authType); | ||
| } | ||
| } | ... | ... |
| <?php | ||
| /** | ||
| * ConfbridgeList action message. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Action | ||
| * @author Matt Styles <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @version SVN: $Id$ | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| * | ||
| * Copyright 2011 Marcelo Gornstein <[email protected]> | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ | ||
| namespace PAMI\Message\Action; | ||
| /** | ||
| * Lists all users in a particular ConfBridge conference. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Action | ||
| * @author Matt Styles <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| */ | ||
| class ConfbridgeListAction extends ActionMessage | ||
| { | ||
| /** | ||
| * Constructor. | ||
| * | ||
| * @param string $conference Conference on which to act. | ||
| * | ||
| * @return void | ||
| */ | ||
| public function __construct($conference) | ||
| { | ||
| parent::__construct('ConfbridgeList'); | ||
| $this->setKey('Conference', $conference); | ||
| } | ||
| } |
| <?php | ||
| /** | ||
| * DAHDITransfer action message. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Action | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @version SVN: $Id$ | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| * | ||
| * Copyright 2011 Marcelo Gornstein <[email protected]> | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ | ||
| namespace PAMI\Message\Action; | ||
| /** | ||
| * DAHDITransfer action message. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Action | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| */ | ||
| class DAHDITransferAction extends ActionMessage | ||
| { | ||
| /** | ||
| * Constructor. | ||
| * | ||
| * @param string $channel DAHDIChannel | ||
| */ | ||
| public function __construct($channel) | ||
| { | ||
| parent::__construct('DAHDITransfer'); | ||
| $this->setKey('DAHDIChannel', $channel); | ||
| } | ||
| } | ... | ... |
| <?php | ||
| /** | ||
| * MixMonitorMute action message. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Action | ||
| * @author Matt Styles <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @version SVN: $Id$ | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| * | ||
| * Copyright 2011 Marcelo Gornstein <[email protected]> | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ | ||
| namespace PAMI\Message\Action; | ||
| /** | ||
| * MixMonitorMute action message. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Action | ||
| * @author Matt Styles <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| */ | ||
| class MixMonitorMuteAction extends ActionMessage | ||
| { | ||
| const DIRECTION_READ = 'read'; | ||
| const DIRECTION_WRITE = 'write'; | ||
| const DIRECTION_BOTH = 'both'; | ||
| /** | ||
| * Sets state key. | ||
| * | ||
| * @param bool $state Mute state | ||
| * | ||
| * @return void | ||
| */ | ||
| public function setState($state) | ||
| { | ||
| $this->setKey('State', $state ? 1 : 0); | ||
| } | ||
| /** | ||
| * Sets state key. | ||
| * | ||
| * @param string $direction Which part of the recording to mute: | ||
| * read, write or both (from channel, to channel or both channels). | ||
| * | ||
| * @return void | ||
| */ | ||
| public function setDirection($direction) | ||
| { | ||
| $this->setKey('Direction', $direction); | ||
| } | ||
| /** | ||
| * Constructor. | ||
| * | ||
| * @param string $channel Channel on which to act. | ||
| * @param bool $state Turn mute on or off | ||
| * @param string $direction Which part of the recording to mute: | ||
| * read, write or both (from channel, to channel or both channels). | ||
| */ | ||
| public function __construct($channel, $state = true, $direction = 'both') | ||
| { | ||
| parent::__construct('MixMonitorMute'); | ||
| $this->setKey('Channel', $channel); | ||
| $this->setState($state); | ||
| $this->setDirection($direction); | ||
| } | ||
| } |
| <?php | ||
| /** | ||
| * UserEvent action message. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Action | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @version SVN: $Id$ | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| * | ||
| * Copyright 2011 Marcelo Gornstein <[email protected]> | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ | ||
| namespace PAMI\Message\Action; | ||
| /** | ||
| * UserEvent action message. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Action | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| */ | ||
| class UserEventAction extends ActionMessage | ||
| { | ||
| /** | ||
| * Constructor. | ||
| * | ||
| * @param string $userEvent UserEvent | ||
| * @param array $headers | ||
| */ | ||
| public function __construct($userEvent, array $headers = []) | ||
| { | ||
| parent::__construct('UserEvent'); | ||
| $this->setKey('UserEvent', $userEvent); | ||
| foreach ($headers as $key => $value) { | ||
| $this->setKey((string)$key, (string)$value); | ||
| } | ||
| } | ||
| } | ... | ... |
| <?php | ||
| /** | ||
| * WaitEvent action message. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Action | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @version SVN: $Id$ | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| * | ||
| * Copyright 2011 Marcelo Gornstein <[email protected]> | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ | ||
| namespace PAMI\Message\Action; | ||
| /** | ||
| * WaitEvent action message. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Action | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| */ | ||
| class WaitEventAction extends ActionMessage | ||
| { | ||
| /** | ||
| * Constructor. | ||
| * | ||
| * @param int $timeout Timeout in seconds | ||
| */ | ||
| public function __construct($timeout) | ||
| { | ||
| parent::__construct('WaitEvent'); | ||
| $this->setKey('Timeout', (int)$timeout); | ||
| } | ||
| } | ... | ... |
| <?php | ||
| /** | ||
| * Event triggered when an action BridgeInfo is issued. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Event | ||
| * @author Matt Styles <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @version SVN: $Id$ | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| * | ||
| * Copyright 2011 Marcelo Gornstein <[email protected]> | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ | ||
| namespace PAMI\Message\Event; | ||
| /** | ||
| * Event triggered when an action BridgeInfo is issued. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Event | ||
| * @author Matt Styles <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| */ | ||
| class BridgeInfoChannelEvent extends EventMessage | ||
| { | ||
| /** | ||
| * Returns key: 'Channel'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getChannel() | ||
| { | ||
| return $this->getKey('Channel'); | ||
| } | ||
| /** | ||
| * Returns key: 'ChannelState'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getChannelState() | ||
| { | ||
| return $this->getKey('ChannelState'); | ||
| } | ||
| /** | ||
| * Returns key: 'ChannelStateDesc'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getChannelStateDesc() | ||
| { | ||
| return $this->getKey('ChannelStateDesc'); | ||
| } | ||
| /** | ||
| * Returns key: 'CallerIDNum'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getCallerIDNum() | ||
| { | ||
| return $this->getKey('CallerIDNum'); | ||
| } | ||
| /** | ||
| * Returns key: 'CallerIDName'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getCallerIDName() | ||
| { | ||
| return $this->getKey('CallerIDName'); | ||
| } | ||
| /** | ||
| * Returns key: 'ConnectedLineNum'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getConnectedLineNum() | ||
| { | ||
| return $this->getKey('ConnectedLineNum'); | ||
| } | ||
| /** | ||
| * Returns key: 'ConnectedLineName'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getConnectedLineName() | ||
| { | ||
| return $this->getKey('ConnectedLineName'); | ||
| } | ||
| /** | ||
| * Returns key: 'AccountCode'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getAccountCode() | ||
| { | ||
| return $this->getKey('AccountCode'); | ||
| } | ||
| /** | ||
| * Returns key: 'Context'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getContext() | ||
| { | ||
| return $this->getKey('Context'); | ||
| } | ||
| /** | ||
| * Returns key: 'Exten'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getExten() | ||
| { | ||
| return $this->getKey('Exten'); | ||
| } | ||
| /** | ||
| * Returns key: 'Priority'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getPriority() | ||
| { | ||
| return $this->getKey('Priority'); | ||
| } | ||
| /** | ||
| * Returns key: 'Uniqueid'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getUniqueid() | ||
| { | ||
| return $this->getKey('Uniqueid'); | ||
| } | ||
| /** | ||
| * Returns key: 'Linkedid'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getLinkedid() | ||
| { | ||
| return $this->getKey('Linkedid'); | ||
| } | ||
| } |
| <?php | ||
| /** | ||
| * Event triggered for the end of the list when an action BridgeInfo is issued. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Event | ||
| * @author Matt Styles <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @version SVN: $Id$ | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| * | ||
| * Copyright 2011 Marcelo Gornstein <[email protected]> | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ | ||
| namespace PAMI\Message\Event; | ||
| /** | ||
| * Event triggered for the end of the list when an action BridgeInfo is issued. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Event | ||
| * @author Matt Styles <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| */ | ||
| class BridgeInfoCompleteEvent extends EventMessage | ||
| { | ||
| /** | ||
| * Returns key: 'BridgeUniqueid'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeUniqueid() | ||
| { | ||
| return $this->getKey('BridgeUniqueid'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeType'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeType() | ||
| { | ||
| return $this->getKey('BridgeType'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeTechnology'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeTechnology() | ||
| { | ||
| return $this->getKey('BridgeTechnology'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeCreator'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeCreator() | ||
| { | ||
| return $this->getKey('BridgeCreator'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeName'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeName() | ||
| { | ||
| return $this->getKey('BridgeName'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeNumChannels'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeNumChannels() | ||
| { | ||
| return $this->getKey('BridgeNumChannels'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeVideoSourceMode'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeVideoSourceMode() | ||
| { | ||
| return $this->getKey('BridgeVideoSourceMode'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeVideoSource'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeVideoSource() | ||
| { | ||
| return $this->getKey('BridgeVideoSource'); | ||
| } | ||
| } |
| <?php | ||
| /** | ||
| * Event triggered when a confbridge is destroyed. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Event | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @version SVN: $Id$ | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| * | ||
| * Copyright 2011 Marcelo Gornstein <[email protected]> | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ | ||
| namespace PAMI\Message\Event; | ||
| /** | ||
| * Event triggered when a confbridge is destroyed. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Event | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| */ | ||
| class ConfbridgeEndEvent extends EventMessage | ||
| { | ||
| /** | ||
| * Returns key: 'Privilege'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getPrivilege() | ||
| { | ||
| return $this->getKey('Privilege'); | ||
| } | ||
| /** | ||
| * Returns key: 'Conference'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getConference() | ||
| { | ||
| return $this->getKey('Conference'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeUniqueid'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeUniqueid() | ||
| { | ||
| return $this->getKey('BridgeUniqueid'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeType'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeType() | ||
| { | ||
| return $this->getKey('BridgeType'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeTechnology'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeTechnology() | ||
| { | ||
| return $this->getKey('BridgeTechnology'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeCreator'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeCreator() | ||
| { | ||
| return $this->getKey('BridgeCreator'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeName'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeName() | ||
| { | ||
| return $this->getKey('BridgeName'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeNumChannels'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeNumChannels() | ||
| { | ||
| return $this->getKey('BridgeNumChannels'); | ||
| } | ||
| } |
| <?php | ||
| /** | ||
| * Event triggered when a channel enters a confbridge. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Event | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @version SVN: $Id$ | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| * | ||
| * Copyright 2011 Marcelo Gornstein <[email protected]> | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ | ||
| namespace PAMI\Message\Event; | ||
| /** | ||
| * Event triggered when a channel enters a confbridge. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Event | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| */ | ||
| class ConfbridgeJoinEvent extends EventMessage | ||
| { | ||
| /** | ||
| * Returns key: 'Privilege'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getPrivilege() | ||
| { | ||
| return $this->getKey('Privilege'); | ||
| } | ||
| /** | ||
| * Returns key: 'Conference'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getConference() | ||
| { | ||
| return $this->getKey('Conference'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeUniqueid'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeUniqueid() | ||
| { | ||
| return $this->getKey('BridgeUniqueid'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeType'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeType() | ||
| { | ||
| return $this->getKey('BridgeType'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeTechnology'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeTechnology() | ||
| { | ||
| return $this->getKey('BridgeTechnology'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeCreator'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeCreator() | ||
| { | ||
| return $this->getKey('BridgeCreator'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeName'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeName() | ||
| { | ||
| return $this->getKey('BridgeName'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeNumChannels'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeNumChannels() | ||
| { | ||
| return $this->getKey('BridgeNumChannels'); | ||
| } | ||
| /** | ||
| * Returns key: 'Channel'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getChannel() | ||
| { | ||
| return $this->getKey('Channel'); | ||
| } | ||
| /** | ||
| * Returns key: 'ChannelState'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getChannelState() | ||
| { | ||
| return $this->getKey('ChannelState'); | ||
| } | ||
| /** | ||
| * Returns key: 'ChannelStateDesc'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getChannelStateDesc() | ||
| { | ||
| return $this->getKey('ChannelStateDesc'); | ||
| } | ||
| /** | ||
| * Returns key: 'CallerIDNum'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getCallerIDNum() | ||
| { | ||
| return $this->getKey('CallerIDNum'); | ||
| } | ||
| /** | ||
| * Returns key: 'CallerIDName'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getCallerIDName() | ||
| { | ||
| return $this->getKey('CallerIDName'); | ||
| } | ||
| /** | ||
| * Returns key: 'ConnectedLineNum'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getConnectedLineNum() | ||
| { | ||
| return $this->getKey('ConnectedLineNum'); | ||
| } | ||
| /** | ||
| * Returns key: 'ConnectedLineName'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getConnectedLineName() | ||
| { | ||
| return $this->getKey('ConnectedLineName'); | ||
| } | ||
| /** | ||
| * Returns key: 'AccountCode'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getAccountCode() | ||
| { | ||
| return $this->getKey('AccountCode'); | ||
| } | ||
| /** | ||
| * Returns key: 'Context'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getContext() | ||
| { | ||
| return $this->getKey('Context'); | ||
| } | ||
| /** | ||
| * Returns key: 'Exten'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getExten() | ||
| { | ||
| return $this->getKey('Exten'); | ||
| } | ||
| /** | ||
| * Returns key: 'Priority'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getPriority() | ||
| { | ||
| return $this->getKey('Priority'); | ||
| } | ||
| /** | ||
| * Returns key: 'Uniqueid'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getUniqueid() | ||
| { | ||
| return $this->getKey('Uniqueid'); | ||
| } | ||
| /** | ||
| * Returns key: 'Linkedid'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getLinkedid() | ||
| { | ||
| return $this->getKey('Linkedid'); | ||
| } | ||
| /** | ||
| * Returns key: 'Admin'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getAdmin() | ||
| { | ||
| return $this->getKey('Admin'); | ||
| } | ||
| } |
| <?php | ||
| /** | ||
| * Event triggered when a channel leaves a confbridge. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Event | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @version SVN: $Id$ | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| * | ||
| * Copyright 2011 Marcelo Gornstein <[email protected]> | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ | ||
| namespace PAMI\Message\Event; | ||
| /** | ||
| * Event triggered when a channel leaves a confbridge. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Event | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| */ | ||
| class ConfbridgeLeaveEvent extends EventMessage | ||
| { | ||
| /** | ||
| * Returns key: 'Privilege'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getPrivilege() | ||
| { | ||
| return $this->getKey('Privilege'); | ||
| } | ||
| /** | ||
| * Returns key: 'Conference'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getConference() | ||
| { | ||
| return $this->getKey('Conference'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeUniqueid'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeUniqueid() | ||
| { | ||
| return $this->getKey('BridgeUniqueid'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeType'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeType() | ||
| { | ||
| return $this->getKey('BridgeType'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeTechnology'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeTechnology() | ||
| { | ||
| return $this->getKey('BridgeTechnology'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeCreator'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeCreator() | ||
| { | ||
| return $this->getKey('BridgeCreator'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeName'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeName() | ||
| { | ||
| return $this->getKey('BridgeName'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeNumChannels'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeNumChannels() | ||
| { | ||
| return $this->getKey('BridgeNumChannels'); | ||
| } | ||
| /** | ||
| * Returns key: 'Channel'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getChannel() | ||
| { | ||
| return $this->getKey('Channel'); | ||
| } | ||
| /** | ||
| * Returns key: 'ChannelState'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getChannelState() | ||
| { | ||
| return $this->getKey('ChannelState'); | ||
| } | ||
| /** | ||
| * Returns key: 'ChannelStateDesc'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getChannelStateDesc() | ||
| { | ||
| return $this->getKey('ChannelStateDesc'); | ||
| } | ||
| /** | ||
| * Returns key: 'CallerIDNum'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getCallerIDNum() | ||
| { | ||
| return $this->getKey('CallerIDNum'); | ||
| } | ||
| /** | ||
| * Returns key: 'CallerIDName'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getCallerIDName() | ||
| { | ||
| return $this->getKey('CallerIDName'); | ||
| } | ||
| /** | ||
| * Returns key: 'ConnectedLineNum'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getConnectedLineNum() | ||
| { | ||
| return $this->getKey('ConnectedLineNum'); | ||
| } | ||
| /** | ||
| * Returns key: 'ConnectedLineName'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getConnectedLineName() | ||
| { | ||
| return $this->getKey('ConnectedLineName'); | ||
| } | ||
| /** | ||
| * Returns key: 'AccountCode'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getAccountCode() | ||
| { | ||
| return $this->getKey('AccountCode'); | ||
| } | ||
| /** | ||
| * Returns key: 'Context'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getContext() | ||
| { | ||
| return $this->getKey('Context'); | ||
| } | ||
| /** | ||
| * Returns key: 'Exten'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getExten() | ||
| { | ||
| return $this->getKey('Exten'); | ||
| } | ||
| /** | ||
| * Returns key: 'Priority'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getPriority() | ||
| { | ||
| return $this->getKey('Priority'); | ||
| } | ||
| /** | ||
| * Returns key: 'Uniqueid'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getUniqueid() | ||
| { | ||
| return $this->getKey('Uniqueid'); | ||
| } | ||
| /** | ||
| * Returns key: 'Linkedid'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getLinkedid() | ||
| { | ||
| return $this->getKey('Linkedid'); | ||
| } | ||
| /** | ||
| * Returns key: 'Admin'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getAdmin() | ||
| { | ||
| return $this->getKey('Admin'); | ||
| } | ||
| } |
| <?php | ||
| /** | ||
| * Event triggered for the end of the list when an action ConfbridgeList is issued. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Event | ||
| * @author Matt Styles <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @version SVN: $Id$ | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| * | ||
| * Copyright 2011 Marcelo Gornstein <[email protected]> | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ | ||
| namespace PAMI\Message\Event; | ||
| use PAMI\Message\Event\EventMessage; | ||
| /** | ||
| * Event triggered for the end of the list when an action ConfbridgeList is issued. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Event | ||
| * @author Matt Styles <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| */ | ||
| class ConfbridgeListCompleteEvent extends EventMessage | ||
| { | ||
| /** | ||
| * Returns key: 'ListItems'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getListItems() | ||
| { | ||
| return $this->getKey('ListItems'); | ||
| } | ||
| } |
| <?php | ||
| /** | ||
| * Event triggered when an action ConfbridgeList is issued. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Event | ||
| * @author Matt Styles <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @version SVN: $Id$ | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| * | ||
| * Copyright 2011 Marcelo Gornstein <[email protected]> | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ | ||
| namespace PAMI\Message\Event; | ||
| /** | ||
| * Event triggered when an action ConfbridgeList is issued. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Event | ||
| * @author Matt Styles <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| */ | ||
| class ConfbridgeListEvent extends EventMessage | ||
| { | ||
| /** | ||
| * Returns key: 'Conference'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getConference() | ||
| { | ||
| return $this->getKey('Conference'); | ||
| } | ||
| /** | ||
| * Returns key: 'Channel'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getChannel() | ||
| { | ||
| return $this->getKey('Channel'); | ||
| } | ||
| /** | ||
| * Returns key: 'CallerIDNum'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getCallerIDNum() | ||
| { | ||
| return $this->getKey('CallerIDNum'); | ||
| } | ||
| /** | ||
| * Returns key: 'CallerIDName'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getCallerIDName() | ||
| { | ||
| return $this->getKey('CallerIDName'); | ||
| } | ||
| /** | ||
| * Returns key: 'MarkedUser'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getMarkedUser() | ||
| { | ||
| return $this->getKey('MarkedUser'); | ||
| } | ||
| /** | ||
| * Returns key: 'WaitMarked'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getWaitMarked() | ||
| { | ||
| return $this->getKey('WaitMarked'); | ||
| } | ||
| /** | ||
| * Returns key: 'EndMarked'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getEndMarked() | ||
| { | ||
| return $this->getKey('EndMarked'); | ||
| } | ||
| /** | ||
| * Returns key: 'Waiting'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getWaiting() | ||
| { | ||
| return $this->getKey('Waiting'); | ||
| } | ||
| /** | ||
| * Returns key: 'Muted'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getMuted() | ||
| { | ||
| return $this->getKey('Muted'); | ||
| } | ||
| /** | ||
| * Returns key: 'AnsweredTime'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getAnsweredTime() | ||
| { | ||
| return $this->getKey('AnsweredTime'); | ||
| } | ||
| /** | ||
| * Returns key: 'Admin'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getAdmin() | ||
| { | ||
| return $this->getKey('Admin'); | ||
| } | ||
| } |
| <?php | ||
| /** | ||
| * Event triggered when a channel is muted in a confbridge. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Event | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @version SVN: $Id$ | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| * | ||
| * Copyright 2011 Marcelo Gornstein <[email protected]> | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ | ||
| namespace PAMI\Message\Event; | ||
| /** | ||
| * Event triggered when a channel is muted in a confbridge. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Event | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| */ | ||
| class ConfbridgeMuteEvent extends EventMessage | ||
| { | ||
| /** | ||
| * Returns key: 'Privilege'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getPrivilege() | ||
| { | ||
| return $this->getKey('Privilege'); | ||
| } | ||
| /** | ||
| * Returns key: 'Conference'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getConference() | ||
| { | ||
| return $this->getKey('Conference'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeUniqueid'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeUniqueid() | ||
| { | ||
| return $this->getKey('BridgeUniqueid'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeType'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeType() | ||
| { | ||
| return $this->getKey('BridgeType'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeTechnology'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeTechnology() | ||
| { | ||
| return $this->getKey('BridgeTechnology'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeCreator'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeCreator() | ||
| { | ||
| return $this->getKey('BridgeCreator'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeName'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeName() | ||
| { | ||
| return $this->getKey('BridgeName'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeNumChannels'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeNumChannels() | ||
| { | ||
| return $this->getKey('BridgeNumChannels'); | ||
| } | ||
| /** | ||
| * Returns key: 'Channel'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getChannel() | ||
| { | ||
| return $this->getKey('Channel'); | ||
| } | ||
| /** | ||
| * Returns key: 'ChannelState'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getChannelState() | ||
| { | ||
| return $this->getKey('ChannelState'); | ||
| } | ||
| /** | ||
| * Returns key: 'ChannelStateDesc'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getChannelStateDesc() | ||
| { | ||
| return $this->getKey('ChannelStateDesc'); | ||
| } | ||
| /** | ||
| * Returns key: 'CallerIDNum'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getCallerIDNum() | ||
| { | ||
| return $this->getKey('CallerIDNum'); | ||
| } | ||
| /** | ||
| * Returns key: 'CallerIDName'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getCallerIDName() | ||
| { | ||
| return $this->getKey('CallerIDName'); | ||
| } | ||
| /** | ||
| * Returns key: 'ConnectedLineNum'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getConnectedLineNum() | ||
| { | ||
| return $this->getKey('ConnectedLineNum'); | ||
| } | ||
| /** | ||
| * Returns key: 'ConnectedLineName'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getConnectedLineName() | ||
| { | ||
| return $this->getKey('ConnectedLineName'); | ||
| } | ||
| /** | ||
| * Returns key: 'AccountCode'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getAccountCode() | ||
| { | ||
| return $this->getKey('AccountCode'); | ||
| } | ||
| /** | ||
| * Returns key: 'Context'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getContext() | ||
| { | ||
| return $this->getKey('Context'); | ||
| } | ||
| /** | ||
| * Returns key: 'Exten'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getExten() | ||
| { | ||
| return $this->getKey('Exten'); | ||
| } | ||
| /** | ||
| * Returns key: 'Priority'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getPriority() | ||
| { | ||
| return $this->getKey('Priority'); | ||
| } | ||
| /** | ||
| * Returns key: 'Uniqueid'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getUniqueid() | ||
| { | ||
| return $this->getKey('Uniqueid'); | ||
| } | ||
| /** | ||
| * Returns key: 'Linkedid'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getLinkedid() | ||
| { | ||
| return $this->getKey('Linkedid'); | ||
| } | ||
| /** | ||
| * Returns key: 'Admin'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getAdmin() | ||
| { | ||
| return $this->getKey('Admin'); | ||
| } | ||
| } |
| <?php | ||
| /** | ||
| * Event triggered when a confbridge is created. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Event | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @version SVN: $Id$ | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| * | ||
| * Copyright 2011 Marcelo Gornstein <[email protected]> | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ | ||
| namespace PAMI\Message\Event; | ||
| /** | ||
| * Event triggered when a confbridge is created. | ||
| * | ||
| * PHP Version 5 | ||
| * | ||
| * @category Pami | ||
| * @package Message | ||
| * @subpackage Event | ||
| * @author Marcelo Gornstein <[email protected]> | ||
| * @license http://marcelog.github.com/PAMI/ Apache License 2.0 | ||
| * @link http://marcelog.github.com/PAMI/ | ||
| */ | ||
| class ConfbridgeStartEvent extends EventMessage | ||
| { | ||
| /** | ||
| * Returns key: 'Privilege'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getPrivilege() | ||
| { | ||
| return $this->getKey('Privilege'); | ||
| } | ||
| /** | ||
| * Returns key: 'Conference'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getConference() | ||
| { | ||
| return $this->getKey('Conference'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeUniqueid'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeUniqueid() | ||
| { | ||
| return $this->getKey('BridgeUniqueid'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeType'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeType() | ||
| { | ||
| return $this->getKey('BridgeType'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeTechnology'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeTechnology() | ||
| { | ||
| return $this->getKey('BridgeTechnology'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeCreator'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeCreator() | ||
| { | ||
| return $this->getKey('BridgeCreator'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeName'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeName() | ||
| { | ||
| return $this->getKey('BridgeName'); | ||
| } | ||
| /** | ||
| * Returns key: 'BridgeNumChannels'. | ||
| * | ||
| * @return string | ||
| */ | ||
| public function getBridgeNumChannels() | ||
| { | ||
| return $this->getKey('BridgeNumChannels'); | ||
| } | ||
| } |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment