Smsserver_in 表:
字段名 类 型 属 性 描 述
id INT 自动 primary key.
process INT NOT NULL 预留备用
originator CHAR(16) NOT NULL 发件人
type CHAR(1) NOT NULL 短信类型:"I"普通短信, "S"短信状态报告
encoding CHAR(1) NOT NULL 编码格式:"7" for 7bit, "8" for 8bit and "U" for Unicode/UCS2
message_date DATETIME NOT NULL 短信发送日期时间
receive_date DATETIME NOT NULL 接收日期时间
text CHAR(xxx) NOT NULL 正文
original_ref_no CHAR(64) NULL 用于短信状态报告: 此号码对应于外发的短信序号
original_receive_date DATETIME NULL 用于短信状态报告: 对方收到短信的日期时间
gateway_id CHAR(64) NOT NULL 通道标识,用于标识是哪个通道收到的短信
Smsserver_out 表结构说明:
Smsserver_calls 表结构说明:
字段名 类 型 属 性 描 述
id INT 自动 primary key.
call_date DATETIME NOT NULL 电话呼入时间
gateway_id CHAR(64) NOT NULL 通道标识
caller_id CHAR(16) NOT NULL 对方号码