Hello,
I have two smsc groups setup with a smsc-id of A and B. A is in
transceiver mode and B is in transmitter mode. A is used for general
SMS messages and B is used for sending a SMS which bills the user.
The default-sender MSISDNs used are different for both SMSCs. I don't
control the SMSCs so I can't change or even view the configs.
The problem I am having is in getting delivery reports from smsc B.
The delivery_sm comes from smsc A and not smsc B. Hopefully these log
snippets will explain (I haved used xxxx and yyyy to protect the
guilty):
2006-03-15 19:38:40 [85471] [7] DEBUG: SMPP[B]: Got PDU:
2006-03-15 19:38:40 [85471] [7] DEBUG: SMPP PDU 0x8103e00 dump:
2006-03-15 19:38:40 [85471] [7] DEBUG: type_name: submit_sm_resp
2006-03-15 19:38:40 [85471] [7] DEBUG: command_id: 2147483652 =
0x80000004
2006-03-15 19:38:40 [85471] [7] DEBUG: command_status: 0 = 0x00000000
2006-03-15 19:38:40 [85471] [7] DEBUG: sequence_number: 158 =
0x0000009e
2006-03-15 19:38:40 [85471] [7] DEBUG: message_id: "0E039FCA"
2006-03-15 19:38:40 [85471] [7] DEBUG: SMPP PDU dump ends.
2006-03-15 19:38:40 [85471] [7] DEBUG: DLR[internal]: Adding DLR
smsc=B, ts=0E039FCA, src=xxxx, dst=yyyy, mask=31, boxc=
2006-03-15 19:38:40 [85471] [7] DEBUG: SMSC[B]: creating DLR message
2006-03-15 19:38:40 [85471] [7] DEBUG: SMSC[B]: DLR =
2006-03-15 19:38:40 [85471] [12] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2006-03-15 19:38:40 [85471] [12] DEBUG: boxc_sender: sent message to
<127.0.0.1>
2006-03-15 19:38:40 [85471] [11] DEBUG: boxc_receiver: got ack
2006-03-15 19:44:09 [85471] [6] DEBUG: SMPP[A]: Got PDU:
2006-03-15 19:44:09 [85471] [6] DEBUG: SMPP PDU 0x8103f00 dump:
2006-03-15 19:44:09 [85471] [6] DEBUG: type_name: deliver_sm
2006-03-15 19:44:09 [85471] [6] DEBUG: command_id: 5 = 0x00000005
2006-03-15 19:44:09 [85471] [6] DEBUG: command_status: 0 = 0x00000000
2006-03-15 19:44:09 [85471] [6] DEBUG: sequence_number: 5 = 0x00000005
2006-03-15 19:44:09 [85471] [6] DEBUG: service_type: NULL
2006-03-15 19:44:09 [85471] [6] DEBUG: source_addr_ton: 1 = 0x00000001
2006-03-15 19:44:09 [85471] [6] DEBUG: source_addr_npi: 1 = 0x00000001
2006-03-15 19:44:09 [85471] [6] DEBUG: source_addr: "yyyyy"
2006-03-15 19:44:09 [85471] [6] DEBUG: dest_addr_ton: 4 = 0x00000004
2006-03-15 19:44:09 [85471] [6] DEBUG: dest_addr_npi: 4 = 0x00000004
2006-03-15 19:44:09 [85471] [6] DEBUG: destination_addr: "xxxx"
2006-03-15 19:44:09 [85471] [6] DEBUG: esm_class: 4 = 0x00000004
2006-03-15 19:44:09 [85471] [6] DEBUG: protocol_id: 0 = 0x00000000
2006-03-15 19:44:09 [85471] [6] DEBUG: priority_flag: 0 = 0x00000000
2006-03-15 19:44:09 [85471] [6] DEBUG: schedule_delivery_time: NULL
2006-03-15 19:44:09 [85471] [6] DEBUG: validity_period: NULL
2006-03-15 19:44:09 [85471] [6] DEBUG: registered_delivery: 0 =
0x00000000
2006-03-15 19:44:09 [85471] [6] DEBUG: replace_if_present_flag: 0 =
0x00000000
2006-03-15 19:44:09 [85471] [6] DEBUG: data_coding: 0 = 0x00000000
2006-03-15 19:44:09 [85471] [6] DEBUG: sm_default_msg_id: 0 =
0x00000000
2006-03-15 19:44:09 [85471] [6] DEBUG: sm_length: 108 = 0x0000006c
2006-03-15 19:44:09 [85471] [6] DEBUG: short_message:
<snip packet contents>
2006-03-15 19:44:09 [85471] [6] DEBUG: message_state: 3 = 0x00000003
2006-03-15 19:44:09 [85471] [6] DEBUG: receipted_message_id:
"0E039FCA"
2006-03-15 19:44:09 [85471] [6] DEBUG: SMPP PDU dump ends.
2006-03-15 19:44:09 [85471] [6] DEBUG: SMPP[A] handle_pdu, got DLR
2006-03-15 19:44:09 [85471] [6] DEBUG: DLR[internal]: Looking for DLR
smsc=A, ts=0E039FCA, dst=yyyyy, type=2
2006-03-15 19:44:09 [85471] [6] WARNING: DLR[internal]: DLR for
DST<yyyyy> not found.
2006-03-15 19:44:09 [85471] [6] ERROR: SMPP[A]: got DLR but could not
find message or was not interested in it id<0E039FCA> dst<xxxx>, type<2>
2006-03-15 19:44:09 [85471] [6] DEBUG: SMPP[A]: Sending PDU:
2006-03-15 19:44:09 [85471] [6] DEBUG: SMPP PDU 0x8103e00 dump:
2006-03-15 19:44:09 [85471] [6] DEBUG: type_name: deliver_sm_resp
2006-03-15 19:44:09 [85471] [6] DEBUG: command_id: 2147483653 =
0x80000005
2006-03-15 19:44:09 [85471] [6] DEBUG: command_status: 0 = 0x00000000
2006-03-15 19:44:09 [85471] [6] DEBUG: sequence_number: 5 = 0x00000005
2006-03-15 19:44:09 [85471] [6] DEBUG: message_id: NULL
2006-03-15 19:44:09 [85471] [6] DEBUG: SMPP PDU dump ends.
I can receive delivery reports fine for SMS send through smsc A.
Fixes for me would include always calling the dlr-url regardless of
whether the deliver report can find a match, turning off the smsc
name match or getting the incoming smsc-id renamed to B or vice-versa.
Thanks,
Alan