Class: Net_SMPP_Command_Submit_Sm
Source Location: /Net_SMPP-0.4.5/Net/SMPP/Command/submit_sm.php
Net_SMPP_PDU
|
--Net_SMPP_Command
|
--Net_SMPP_Command_Submit_Sm
submit_sm class
Author(s):
Version:
Copyright:
- Portions of the documentation (c) Copyright 1999 SMPP Developers Forum.
|
|
Inherited Variables
|
Inherited Methods
|
Class Details
Class Variables
$alert_on_msg_delivery =
[line 283]
$callback_num =
[line 272]
$callback_num_atag =
[line 274]
$callback_num_pres_ind =
[line 273]
$data_coding = NET_SMPP_ENCODING_DEFAULT
[line 222]
Defines the encoding scheme of the short message user data.
$destination_addr =
[line 151]
Destination address of this short message. For mobile terminated messages, this is the directory number of the recipient MS.
$destination_port =
[line 263]
$dest_addr_npi = NET_SMPP_NPI_UNK
[line 141]
Numbering Plan Indicator for destination.
$dest_addr_subunit =
[line 264]
$dest_addr_ton = NET_SMPP_TON_UNK
[line 134]
Type of Number for destination.
$dest_subaddress =
[line 276]
$display_time =
[line 278]
$esm_class = NET_SMPP_MSGMODE_DEFAULT
[line 165]
Indicates Message Mode & Message Type. This is a bitwise field to specify the message mode, type, and GSM features. See the NET_SMPP_MSGMODE_*, NET_SMPP_MSGTYPE_*, and NET_SMPP_GSMFEAT_* constants for possible values. You will need to set this if your message has a User Data Header (UDH), for example if you are sending WAP Push messages via SMPP.
$its_reply_type =
[line 285]
$its_session_info =
[line 286]
$language_indicator =
[line 284]
$message_payload =
[line 270]
$more_messages_to_send =
[line 268]
$ms_msg_wait_facilities =
[line 281]
$ms_validity =
[line 280]
$number_of_messages =
[line 282]
$payload_type =
[line 269]
$priority_flag =
[line 181]
Designates the priority level of the message.
$privacy_indicator =
[line 271]
$protocol_id =
[line 174]
Protocol Identifier. Network specific field.
$registered_delivery =
[line 207]
Indicator to signify if an SMSC delivery receipt or an SME acknowledgement is required.
$replace_if_present_flag = 0
[line 215]
Flag indicating if submitted message should replace an existing message.
$sar_msg_ref_num =
[line 265]
$sar_segment_seqnum =
[line 267]
$sar_total_segments =
[line 266]
$schedule_delivery_time = null
[line 190]
The short message is to be scheduled by the SMSC for delivery. Set to NULL for immediate delivery
$service_type = null
[line 75]
SMS application associated with this message Specifying the service_type allows the ESME to - avail of enhanced messaging services such as “replace by service”
type
- to control the teleservice used on the air interface.
The following generic service_types are defined: ““ (NULL) Default “CMT” Cellular Messaging “CPT” Cellular Paging “VMN” Voice Mail Notification “VMA” Voice Mail Alerting “WAP” Wireless Application Protocol “USSD” Unstructured Supplementary Services Data Set to NULL for default SMSC settings.
$short_message = null
[line 257]
Up to 254 octets of short message user data. The exact physical limit for short_message size may vary according to the underlying network. Applications which need to send messages longer than 254 octets should use the message_payload parameter. In this case the sm_length field should be set to zero. Note: The short message data should be inserted in either the short_message or message_payload fields. Both fields must not be used simultaneously.
$sms_signal =
[line 279]
$sm_default_msg_id = null
[line 232]
Indicates the short message to send from a list of predefined (‘canned’) short messages stored on the SMSC. If not using an SMSC canned message, set to NULL.
$sm_length = 0
[line 239]
Length in octets of the short_message user data.
$source_addr = null
[line 127]
Address of SME which originated this message. If not known, set to NULL
$source_addr_npi = NET_SMPP_NPI_UNK
[line 120]
Numbering Plan Indicator for source address These fields define the Numeric Plan Indicator (NPI) to be used in the SME address parameters. The following NPI values are defined: NPI Value Unknown 00000000 ISDN (E163/E164) 00000001 Data (X.121) 00000011 Telex (F.69) 00000100 Land Mobile (E.212) 00000110 National 00001000 Private 00001001 ERMES 00001010 Internet (IP) 00001110 WAP Client Id (to be 00010010 defined by WAP Forum) If not known, set to NULL.
$source_addr_subunit =
[line 262]
$source_addr_ton = NET_SMPP_TON_UNK
[line 95]
Type of Number for source address These fields define the Type of Number (TON) to be used in the SME address parameters. The following TON values are defined: TON Value Unknown 00000000 (0x00) International 00000001 (0x01) National 00000010 (0x02) Network Specific 00000011 (0x03) Subscriber Number 00000100 (0x04) Alphanumeric 00000101 (0x05) Abbreviated 00000110 (0x06) If not known, set to NULL.
$source_port =
[line 261]
$source_subaddress =
[line 275]
$user_message_reference =
[line 260]
$user_response_code =
[line 277]
$ussd_service_op =
[line 287]
$validity_period = null
[line 199]
The validity period of this message. Set to NULL to request the SMSC default validity period.
$_defs = array(
'service_type' => array(
'type' => 'string',
'max' => 6
),'source_addr_ton'=>array('type'=>'int','size'=>1,),'source_addr_npi'=>array('type'=>'int','size'=>1),'source_addr'=>array('type'=>'string','max'=>21,),'dest_addr_ton'=>array('type'=>'int','size'=>1,),'dest_addr_npi'=>array('type'=>'int','size'=>1,),'destination_addr'=>array('type'=>'string','max'=>21),'esm_class'=>array('type'=>'int','size'=>1),'protocol_id'=>array('type'=>'int','size'=>1),'priority_flag'=>array('type'=>'int','size'=>1),'schedule_delivery_time'=>array('type'=>'string','max'=>17),'validity_period'=>array('type'=>'string','max'=>17,),'registered_delivery'=>array('type'=>'int','size'=>1,),'replace_if_present_flag'=>array('type'=>'int','size'=>1),'data_coding'=>array('type'=>'int','size'=>1),'sm_default_msg_id'=>array('type'=>'int','size'=>1),'sm_length'=>array('type'=>'int','size'=>1),'short_message'=>array('type'=>'ostring','max'=>254,'lenField'=>'sm_length'),// Optional params
'user_message_reference'=>array('type'=>'int','size'=>2),'source_port'=>array('type'=>'int','size'=>2),'source_addr_subunit'=>array('type'=>'int','size'=>1),'destination_port'=>array('type'=>'int','size'=>2),'dest_addr_subunit'=>array('type'=>'int','size'=>1),'sar_msg_ref_num'=>array('type'=>'int','size'=>2),'sar_total_segments'=>array('type'=>'int','size'=>1),'sar_segment_seqnum'=>array('type'=>'int','size'=>1),'more_messages_to_send'=>array('type'=>'int','size'=>1),'payload_type'=>array('type'=>'int','size'=>1),'message_payload'=>array('type'=>'ostring','max'=>260),'privacy_indicator'=>array('type'=>'int','size'=>1),'callback_num'=>array('type'=>'sting','min'=>4,'max'=>19),'callback_num_pres_ind'=>array('type'=>'int','size'=>1),'callback_num_atag'=>array('type'=>'string','max'=>65),'source_subaddress'=>array('type'=>'string','min'=>2,'max'=>23),'dest_subaddress'=>array('type'=>'string','min'=>2,'max'=>23),'user_response_code'=>array('type'=>'int','size'=>1),'display_time'=>array('type'=>'int','size'=>1),'sms_signal'=>array('type'=>'int','size'=>2),'ms_validity'=>array('type'=>'int','size'=>1),'ms_msg_wait_facilities'=>array('type'=>'int','size'=>1),'number_of_messages'=>array('type'=>'int','size'=>1),'alert_on_msg_delivery'=>array('type'=>'flag'),'language_indicator'=>array('type'=>'int','size'=>1),'its_reply_type'=>array('type'=>'int','size'=>1),'its_session_info'=>array('type'=>'int','size'=>2),'ussd_service_op'=>array('type'=>'int','size'=>1))
[line 296]
Paramater definitions for this command
Documentation generated on Mon, 11 Mar 2019 15:37:29 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|