Source of file VgsmSmsRxEvent.php
Size: 5,411 Bytes - Last Modified: 2019-04-25T22:07:38+00:00
/data/development/sccp/sources/PAMI/src/PAMI/Message/Event/VgsmSmsRxEvent.php
| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252 | <?php/** * On reception of an inbound SMS (SMS-DELIVERY) the message will also be * reported as a manager event, however, acknowledgment still relies on SMS * spooler to handle the message. This event is generated starting from 0.21.0 * * 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; use PAMI\Message\Event\EventMessage; /** * On reception of an inbound SMS (SMS-DELIVERY) the message will also be * reported as a manager event, however, acknowledgment still relies on SMS * spooler to handle the message. This event is generated starting from 0.21.0 * * 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 VgsmSmsRxEvent extends EventMessage {/** * Returns key: 'Privilege'. * * @return string */public function getPrivilege() { return $this->getKey('Privilege'); } /** * Returns key: 'Received'. * * @return string */public function getReceived() { return $this->getKey('Received'); } /** * Returns key: 'From'. * * @return string */public function getFrom() { return $this->getKey('From'); } /** * Returns key: 'Subject'. * * @return string */public function getSubject() { return $this->getKey('Subject'); } /** * Returns key: 'MIME-Version'. * * @return string */public function getMimeVersion() { return $this->getKey('MIME-Version'); } /** * Returns key: 'Content-Type'. * * @return string */public function getContentType() { return $this->getKey('Content-Type'); } /** * Returns key: 'Content-Transfer-Encoding'. * * @return string */public function getContentEncoding() { return $this->getKey('Content-Transfer-Encoding'); } /** * Returns key: 'Date'. * * @return string */public function getDate() { return $this->getKey('Date'); } /** * Returns key: 'Content'. * * @return string */public function getContent() { return $this->getKey('Content'); } /** * Returns key: 'X-SMS-Message-Type:'. * * @return string */public function getMessageType() { return $this->getKey('X-SMS-Message-Type'); } /** * Returns key: 'X-SMS-Sender-NP'. * * @return string */public function getSenderNP() { return $this->getKey('X-SMS-Sender-NP'); } /** * Returns key: 'X-SMS-Sender-TON'. * * @return string */public function getSenderTON() { return $this->getKey('X-SMS-Sender-TON'); } /** * Returns key: 'X-SMS-Sender-Number'. * * @return string */public function getSenderNumber() { return $this->getKey('X-SMS-Sender-Number'); } /** * Returns key: 'X-SMS-SMCC-NP'. * * @return string */public function getSMCCNP() { return $this->getKey('X-SMS-SMCC-NP'); } /** * Returns key: 'X-SMS-SMCC-TON'. * * @return string */public function getSMCCTON() { return $this->getKey('X-SMS-SMCC-TON'); } /** * Returns key: 'X-SMS-SMCC-Number'. * * @return string */public function getSMCCNumber() { return $this->getKey('X-SMS-SMCC-Number'); } /** * Returns key: 'X-SMS-More-Messages-To-Send'. * * @return string */public function getMoreMessagesToSend() { return $this->getKey('X-SMS-More-Messages-To-Send'); } /** * Returns key: 'X-SMS-Reply-Path'. * * @return string */public function getReplyPath() { return $this->getKey('X-SMS-Reply-Path'); } /** * Returns key: 'XX-SMS-User-Data-Header-Indicator'. * * @return string */public function getDataHeaderIndicator() { return $this->getKey('X-SMS-User-Data-Header-Indicator'); } /** * Returns key: 'X-SMS-Status-Report-Indication'. * * @return string */public function getStatusReportIndication() { return $this->getKey('X-SMS-Status-Report-Indication'); } } |