Source of file UnParkedCallEvent.php
Size: 12,014 Bytes - Last Modified: 2019-04-30T12:53:24+00:00
/data/development/sccp/sources/PAMI/src/PAMI/Message/Event/UnParkedCallEvent.php
| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565 | <?php/** * Event triggered when a call is unparked. * * PHP Version 5 * * @category Pami * @package Message * @subpackage Event * @author Marcelo Gornstein <marcelog@gmail.com> * @license http://marcelog.github.com/PAMI/ Apache License 2.0 * @version SVN: $Id$ * @link http://marcelog.github.com/PAMI/ * * Copyright 2011 Marcelo Gornstein <marcelog@gmail.com> * * 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 call is unparked. * * PHP Version 5 * * @category Pami * @package Message * @subpackage Event * @author Marcelo Gornstein <marcelog@gmail.com> * @license http://marcelog.github.com/PAMI/ Apache License 2.0 * @link http://marcelog.github.com/PAMI/ */class UnParkedCallEvent extends EventMessage {/** * Returns key: 'Privilege'. * * @return string */public function getPrivilege() { return $this->getKey('Privilege'); } /** * Returns key: 'Parkinglot'. * * @return string */public function getParkinglot() { return $this->getKey('Parkinglot'); } /** * Returns key: 'From'. * @deprecated Deprecated since Asterisk 12. {@use getRetrieverChannel()}. * * @return string */public function getFrom() { return $this->getRetrieverChannel(); } /** * Returns key: 'Timeout'. * @deprecated Deprecated since Asterisk 12. {@use ParkingTimeout()}. * * @return string */public function getTimeout() { return $this->getParkingTimeout(); } /** * Returns key: 'ConnectedLineNum'. * @deprecated Deprecated since Asterisk 12. {@use getParkeeConnectedLineNum()}. * * @return string */public function getConnectedLineNum() { return $this->getParkeeConnectedLineNum(); } /** * Returns key: 'ConnectedLineName'. * @deprecated Deprecated since Asterisk 12. {@use getParkeeConnectedLineName()}. * * @return string */public function getConnectedLineName() { return $this->getParkeeConnectedLineName(); } /** * Returns key: 'Channel'. * @deprecated Deprecated since Asterisk 12. {@use getParkeeChannel()}. * * @return string */public function getChannel() { return $this->getParkeeChannel(); } /** * Returns key: 'CallerIDNum'. * @deprecated Deprecated since Asterisk 12. {@use getParkeeCallerIDNum()}. * * @return string */public function getCallerIDNum() { return $this->getParkeeCallerIDNum(); } /** * Returns key: 'CallerIDName'. * @deprecated Deprecated since Asterisk 12. {@use getParkeeCallerIDName()}. * * @return string */public function getCallerIDName() { return $this->getParkeeCallerIDName(); } /** * Returns key: 'UniqueID'. * @deprecated Deprecated since Asterisk 12. {@use getParkeeUniqueid()}. * * @return string */public function getUniqueID() { return $this->getParkeeUniqueid(); } /** * Returns key: 'Exten'. * @deprecated Deprecated since Asterisk 12. {@use getParkingSpace()}. * * @return string */public function getExtension() { return $this->getParkingSpace(); } /** * Returns key: 'ParkeeChannel'. * * @return string */public function getParkeeChannel() { return $this->getKey('ParkeeChannel') ?: $this->getKey('Channel'); } /** * Returns key: 'ParkeeChannelState'. * * @return string */public function getParkeeChannelState() { return $this->getKey('ParkeeChannelState'); } /** * Returns key: 'ParkeeChannelStateDesc'. * * @return string */public function getParkeeChannelStateDesc() { return $this->getKey('ParkeeChannelStateDesc'); } /** * Returns key: 'ParkeeCallerIDNum'. * * @return string */public function getParkeeCallerIDNum() { return $this->getKey('ParkeeCallerIDNum') ?: $this->getKey('CallerIDNum'); } /** * Returns key: 'ParkeeCallerIDName'. * * @return string */public function getParkeeCallerIDName() { return $this->getKey('ParkeeCallerIDName') ?: $this->getKey('CallerIDName'); } /** * Returns key: 'ParkeeConnectedLineNum'. * * @return string */public function getParkeeConnectedLineNum() { return $this->getKey('ParkeeConnectedLineNum') ?: $this->getKey('ConnectedLineNum'); } /** * Returns key: 'ParkeeConnectedLineName'. * * @return string */public function getParkeeConnectedLineName() { return $this->getKey('ParkeeConnectedLineName') ?: $this->getKey('ConnectedLineName'); } /** * Returns key: 'ParkeeAccountCode'. * * @return string */public function getParkeeAccountCode() { return $this->getKey('ParkeeAccountCode'); } /** * Returns key: 'ParkeeContext'. * * @return string */public function getParkeeContext() { return $this->getKey('ParkeeContext'); } /** * Returns key: 'ParkeeExten'. * * @return string */public function getParkeeExten() { return $this->getKey('ParkeeExten'); } /** * Returns key: 'ParkeePriority'. * * @return string */public function getParkeePriority() { return $this->getKey('ParkeePriority'); } /** * Returns key: 'ParkeeUniqueid'. * * @return string */public function getParkeeUniqueid() { return $this->getKey('ParkeeUniqueid') ?: $this->getKey('UniqueId'); } /** * Returns key: 'ParkerDialString'. * * @return string */public function getParkerDialString() { return $this->getKey('ParkerDialString'); } /** * Returns key: 'ParkingSpace'. * * @return string */public function getParkingSpace() { return $this->getKey('ParkingSpace') ?: $this->getKey('Exten'); } /** * Returns key: 'ParkingTimeout'. * * @return string */public function getParkingTimeout() { return $this->getKey('ParkingTimeout') ?: $this->getKey('Timeout'); } /** * Returns key: 'ParkingDuration'. * * @return string */public function getParkingDuration() { return $this->getKey('ParkingDuration'); } /** * Returns key: 'ParkerChannel'. * * @return string */public function getParkerChannel() { return $this->getKey('ParkerChannel'); } /** * Returns key: 'ParkerChannelState'. * * @return string */public function getParkerChannelState() { return $this->getKey('ParkerChannelState'); } /** * Returns key: 'ParkerChannelStateDesc'. * * @return string */public function getParkerChannelStateDesc() { return $this->getKey('ParkerChannelStateDesc'); } /** * Returns key: 'ParkerCallerIDNum'. * * @return string */public function getParkerCallerIDNum() { return $this->getKey('ParkerCallerIDNum'); } /** * Returns key: 'ParkerCallerIDName'. * * @return string */public function getParkerCallerIDName() { return $this->getKey('ParkerCallerIDName'); } /** * Returns key: 'ParkerConnectedLineNum'. * * @return string */public function getParkerConnectedLineNum() { return $this->getKey('ParkerConnectedLineNum'); } /** * Returns key: 'ParkerConnectedLineName'. * * @return string */public function getParkerConnectedLineName() { return $this->getKey('ParkerConnectedLineName'); } /** * Returns key: 'ParkerAccountCode'. * * @return string */public function getParkerAccountCode() { return $this->getKey('ParkerAccountCode'); } /** * Returns key: 'ParkerContext'. * * @return string */public function getParkerContext() { return $this->getKey('ParkerContext'); } /** * Returns key: 'ParkerExten'. * * @return string */public function getParkerExten() { return $this->getKey('ParkerExten'); } /** * Returns key: 'ParkerPriority'. * * @return string */public function getParkerPriority() { return $this->getKey('ParkerPriority'); } /** * Returns key: 'ParkerUniqueid'. * * @return string */public function getParkerUniqueid() { return $this->getKey('ParkerUniqueid'); } /** * Returns key: 'RetrieverChannel'. * * @return string */public function getRetrieverChannel() { return $this->getKey('RetrieverChannel') ?: $this->getKey('From'); } /** * Returns key: 'RetrieverChannelState'. * * @return string */public function getRetrieverChannelState() { return $this->getKey('RetrieverChannelState'); } /** * Returns key: 'RetrieverChannelStateDesc'. * * @return string */public function getRetrieverChannelStateDesc() { return $this->getKey('RetrieverChannelStateDesc'); } /** * Returns key: 'RetrieverCallerIDNum'. * * @return string */public function getRetrieverCallerIDNum() { return $this->getKey('RetrieverCallerIDNum'); } /** * Returns key: 'RetrieverCallerIDName'. * * @return string */public function getRetrieverCallerIDName() { return $this->getKey('RetrieverCallerIDName'); } /** * Returns key: 'RetrieverConnectedLineNum'. * * @return string */public function getRetrieverConnectedLineNum() { return $this->getKey('RetrieverConnectedLineNum'); } /** * Returns key: 'RetrieverConnectedLineName'. * * @return string */public function getRetrieverConnectedLineName() { return $this->getKey('RetrieverConnectedLineName'); } /** * Returns key: 'RetrieverAccountCode'. * * @return string */public function getRetrieverAccountCode() { return $this->getKey('RetrieverAccountCode'); } /** * Returns key: 'RetrieverContext'. * * @return string */public function getRetrieverContext() { return $this->getKey('RetrieverContext'); } /** * Returns key: 'RetrieverExten'. * * @return string */public function getRetrieverExten() { return $this->getKey('RetrieverExten'); } /** * Returns key: 'RetrieverPriority'. * * @return string */public function getRetrieverPriority() { return $this->getKey('RetrieverPriority'); } /** * Returns key: 'RetrieverUniqueid'. * * @return string */public function getRetrieverUniqueid() { return $this->getKey('RetrieverUniqueid'); } } |