2

我正在尝试实现 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
4

0 回答 0