SMPP Recived PDU

时间:2013-07-06 09:15:24

标签: php sms sms-gateway smpp jsmpp

我正在尝试实施PHP SMPP http://www.phpclasses.org/package/1373-PHP-Sends-SMS-messages-via-an-SMPP-server.html并尝试获取送达回执,但我无法阅读。下面是我得到的PDU响应。

非常感谢您的帮助。

Trying to read PDU.
Reading PDU : 32 bytes.
Stream len : 28
Stream Hex : 80 00 00 05 00 00 00 0d 00 00 00 02 55 6e 6b 6e 6f 77 6e 20 63 6f 6d 6d 61 6e 64 2e 

Command id : 5.
Command status : 13.
sequence_number : 2.
GOT deliver_sm.

Received PDU: 
€(0)(0)(5)(0)(0)(0)(13)(0)(0)(0)(2)Unknown command.

Total number of count(sms) SMS= 1
Array
(
    [service_type] => 
    [source_addr_ton] => 0
    [source_addr_npi] => 0
    [source_addr] => Unknown command.
    [dest_addr_ton] => 
    [dest_addr_npi] => 
    [destination_addr] => 
    [esm_class] => 
    [protocol_id] => 
    [priority_flag] => 
    [schedule_delivery_time] => 
    [validity_period] => 
    [registered_delivery] => 
    [replace_if_present_flag] => 
    [data_coding] => 
    [sm_default_msg_id] => 
    [sm_length] => 
    [short_message] => 
)
GönderildiSending PDU, len == 16
Sending PDU, header-len == 16
Sending PDU, command_id == 6
Sending PDU, sequence number == 3
Sending PDU, command status == 0

0 个答案:

没有答案