hi that's what i got in debug mode and receiver (B#) switched off. any option to get the more detail result?
br budi On Mon, Aug 30, 2010 at 12:51 PM, sangprabv <sangpr...@gmail.com> wrote: > I don't see any DLR there :) > > > > > sangprabv > sangpr...@gmail.com > http://www.petitiononline.com/froyo/ > > > On Aug 30, 2010, at 12:21 PM, budi wibowo wrote: > > hi > i attache bb log for reference > > 2010-08-30 11:43:31 [23161] [9] DEBUG: sequence_number: 2 = 0x00000002 > 2010-08-30 11:43:31 [23161] [9] DEBUG: SMPP PDU dump ends. > 2010-08-30 11:43:31 [23161] [9] DEBUG: SMPP[smsc4]: throughput > (0.00,300.00) > 2010-08-30 11:43:31 [23161] [8] DEBUG: SMPP[smsc3]: Got PDU: > 2010-08-30 11:43:31 [23161] [8] DEBUG: SMPP PDU 0x9374668 dump: > 2010-08-30 11:43:31 [23161] [8] DEBUG: type_name: enquire_link_resp > 2010-08-30 11:43:31 [23161] [8] DEBUG: command_id: 2147483669 = > 0x80000015 > 2010-08-30 11:43:31 [23161] [8] DEBUG: command_status: 0 = 0x00000000 > 2010-08-30 11:43:31 [23161] [8] DEBUG: sequence_number: 2 = 0x00000002 > 2010-08-30 11:43:31 [23161] [8] DEBUG: SMPP PDU dump ends. > 2010-08-30 11:43:31 [23161] [7] DEBUG: SMPP[smsc2]: Got PDU: > 2010-08-30 11:43:31 [23161] [7] DEBUG: SMPP PDU 0x9374668 dump: > 2010-08-30 11:43:31 [23161] [7] DEBUG: type_name: enquire_link_resp > 2010-08-30 11:43:31 [23161] [7] DEBUG: command_id: 2147483669 = > 0x80000015 > 2010-08-30 11:43:31 [23161] [7] DEBUG: command_status: 0 = 0x00000000 > 2010-08-30 11:43:31 [23161] [7] DEBUG: sequence_number: 2 = 0x00000002 > 2010-08-30 11:43:31 [23161] [7] DEBUG: SMPP PDU dump ends. > 2010-08-30 11:43:31 [23161] [7] DEBUG: SMPP[smsc2]: throughput > (0.00,300.00) > 2010-08-30 11:43:31 [23161] [9] DEBUG: SMPP[smsc4]: throughput > (0.00,300.00) > 2010-08-30 11:43:31 [23161] [9] DEBUG: SMPP[smsc4]: Got PDU: > 2010-08-30 11:43:31 [23161] [9] DEBUG: SMPP PDU 0x9374668 dump: > 2010-08-30 11:43:31 [23161] [9] DEBUG: type_name: enquire_link_resp > 2010-08-30 11:43:31 [23161] [9] DEBUG: command_id: 2147483669 = > 0x80000015 > 2010-08-30 11:43:31 [23161] [9] DEBUG: command_status: 0 = 0x00000000 > 2010-08-30 11:43:31 [23161] [9] DEBUG: sequence_number: 2 = 0x00000002 > 2010-08-30 11:43:31 [23161] [9] DEBUG: SMPP PDU dump ends. > 2010-08-30 11:43:31 [23161] [9] DEBUG: SMPP[smsc4]: throughput > (0.00,300.00) > 2010-08-30 11:43:41 [23161] [6] DEBUG: SMPP[smsc1]: Got PDU: > 2010-08-30 11:43:41 [23161] [6] DEBUG: SMPP PDU 0x9374668 dump: > 2010-08-30 11:43:41 [23161] [6] DEBUG: type_name: enquire_link > 2010-08-30 11:43:41 [23161] [6] DEBUG: command_id: 21 = 0x00000015 > 2010-08-30 11:43:41 [23161] [6] DEBUG: command_status: 0 = 0x00000000 > 2010-08-30 11:43:41 [23161] [6] DEBUG: sequence_number: 2 = 0x00000002 > 2010-08-30 11:43:41 [23161] [6] DEBUG: SMPP PDU dump ends. > 2010-08-30 11:43:41 [23161] [6] DEBUG: SMPP[smsc1]: Sending PDU: > 2010-08-30 11:43:41 [23161] [6] DEBUG: SMPP PDU 0x9374748 dump: > 2010-08-30 11:43:41 [23161] [6] DEBUG: type_name: enquire_link_resp > 2010-08-30 11:43:41 [23161] [6] DEBUG: command_id: 2147483669 = > 0x80000015 > 2010-08-30 11:43:41 [23161] [6] DEBUG: command_status: 0 = 0x00000000 > 2010-08-30 11:43:41 [23161] [6] DEBUG: sequence_number: 2 = 0x00000002 > 2010-08-30 11:43:41 [23161] [6] DEBUG: SMPP PDU dump ends. > 2010-08-30 11:43:41 [23161] [8] DEBUG: SMPP[smsc3]: Got PDU: > 2010-08-30 11:43:41 [23161] [8] DEBUG: SMPP PDU 0x9374668 dump: > 2010-08-30 11:43:41 [23161] [8] DEBUG: type_name: enquire_link > 2010-08-30 11:43:41 [23161] [8] DEBUG: command_id: 21 = 0x00000015 > 2010-08-30 11:43:41 [23161] [8] DEBUG: command_status: 0 = 0x00000000 > 2010-08-30 11:43:41 [23161] [8] DEBUG: sequence_number: 2 = 0x00000002 > 2010-08-30 11:43:41 [23161] [8] DEBUG: SMPP PDU dump ends. > 2010-08-30 11:43:41 [23161] [8] DEBUG: SMPP[smsc3]: Sending PDU: > 2010-08-30 11:43:41 [23161] [8] DEBUG: SMPP PDU 0x9374748 dump: > 2010-08-30 11:43:41 [23161] [8] DEBUG: type_name: enquire_link_resp > 2010-08-30 11:43:41 [23161] [8] DEBUG: command_id: 2147483669 = > 0x80000015 > 2010-08-30 11:43:41 [23161] [8] DEBUG: command_status: 0 = 0x00000000 > 2010-08-30 11:43:41 [23161] [8] DEBUG: sequence_number: 2 = 0x00000002 > 2010-08-30 11:43:41 [23161] [8] DEBUG: SMPP PDU dump ends. > 2010-08-30 11:43:41 [23161] [9] DEBUG: SMPP[smsc4]: throughput > (0.00,300.00) > 2010-08-30 11:43:41 [23161] [9] DEBUG: SMPP[smsc4]: Got PDU: > 2010-08-30 11:43:41 [23161] [9] DEBUG: SMPP PDU 0x9374668 dump: > 2010-08-30 11:43:41 [23161] [9] DEBUG: type_name: enquire_link > 2010-08-30 11:43:41 [23161] [9] DEBUG: command_id: 21 = 0x00000015 > 2010-08-30 11:43:41 [23161] [9] DEBUG: command_status: 0 = 0x00000000 > 2010-08-30 11:43:41 [23161] [9] DEBUG: sequence_number: 2 = 0x00000002 > 2010-08-30 11:43:41 [23161] [9] DEBUG: SMPP PDU dump ends. > 2010-08-30 11:43:41 [23161] [9] DEBUG: SMPP[smsc4]: Sending PDU: > 2010-08-30 11:43:41 [23161] [9] DEBUG: SMPP PDU 0x9374748 dump: > 2010-08-30 11:43:41 [23161] [9] DEBUG: type_name: enquire_link_resp > 2010-08-30 11:43:41 [23161] [9] DEBUG: command_id: 2147483669 = > 0x80000015 > 2010-08-30 11:43:41 [23161] [9] DEBUG: command_status: 0 = 0x00000000 > 2010-08-30 11:43:41 [23161] [9] DEBUG: sequence_number: 2 = 0x00000002 > 2010-08-30 11:43:41 [23161] [9] DEBUG: SMPP PDU dump ends. > 2010-08-30 11:43:41 [23161] [9] DEBUG: SMPP[smsc4]: throughput > (0.00,300.00) > 2010-08-30 11:43:41 [23161] [7] DEBUG: SMPP[smsc2]: throughput > (0.00,300.00) > 2010-08-30 11:43:41 [23161] [7] DEBUG: SMPP[smsc2]: Got PDU: > 2010-08-30 11:43:41 [23161] [7] DEBUG: SMPP PDU 0x9374668 dump: > 2010-08-30 11:43:41 [23161] [7] DEBUG: type_name: enquire_link > 2010-08-30 11:43:41 [23161] [7] DEBUG: command_id: 21 = 0x00000015 > 2010-08-30 11:43:41 [23161] [7] DEBUG: command_status: 0 = 0x00000000 > 2010-08-30 11:43:41 [23161] [7] DEBUG: sequence_number: 2 = 0x00000002 > 2010-08-30 11:43:41 [23161] [7] DEBUG: SMPP PDU dump ends. > 2010-08-30 11:43:41 [23161] [7] DEBUG: SMPP[smsc2]: Sending PDU: > 2010-08-30 11:43:41 [23161] [7] DEBUG: SMPP PDU 0x9374748 dump: > 2010-08-30 11:43:41 [23161] [7] DEBUG: type_name: enquire_link_resp > 2010-08-30 11:43:41 [23161] [7] DEBUG: command_id: 2147483669 = > 0x80000015 > 2010-08-30 11:43:41 [23161] [7] DEBUG: command_status: 0 = 0x00000000 > 2010-08-30 11:43:41 [23161] [7] DEBUG: sequence_number: 2 = 0x00000002 > 2010-08-30 11:43:41 [23161] [7] DEBUG: SMPP PDU dump ends. > 2010-08-30 11:43:41 [23161] [7] DEBUG: SMPP[smsc2]: throughput > (0.00,300.00) > 2010-08-30 11:43:43 [23161] [11] DEBUG: boxc_receiver: sms received > 2010-08-30 11:43:43 [23161] [11] DEBUG: send_msg: sending msg to boxc: > <kannel-smsc1> > 2010-08-30 11:43:43 [23161] [9] DEBUG: SMPP[smsc4]: throughput > (0.00,300.00) > 2010-08-30 11:43:43 [23161] [9] DEBUG: SMPP[smsc4]: Manually forced source > addr ton = 49, source add npi = 2 > 2010-08-30 11:43:43 [23161] [9] DEBUG: SMPP[smsc4]: Manually forced dest > addr ton = 49, dest add npi = 2 > 2010-08-30 11:43:43 [23161] [9] DEBUG: SMPP[smsc4]: Sending PDU: > 2010-08-30 11:43:43 [23161] [9] DEBUG: SMPP PDU 0x9372600 dump: > 2010-08-30 11:43:43 [23161] [9] DEBUG: type_name: submit_sm > 2010-08-30 11:43:43 [23161] [9] DEBUG: command_id: 4 = 0x00000004 > 2010-08-30 11:43:43 [23161] [9] DEBUG: command_status: 0 = 0x00000000 > 2010-08-30 11:43:43 [23161] [9] DEBUG: sequence_number: 3 = 0x00000003 > 2010-08-30 11:43:43 [23161] [9] DEBUG: service_type: NULL > 2010-08-30 11:43:43 [23161] [9] DEBUG: source_addr_ton: 49 = 0x00000031 > 2010-08-30 11:43:43 [23161] [9] DEBUG: source_addr_npi: 2 = 0x00000002 > 2010-08-30 11:43:43 [23161] [9] DEBUG: source_addr: "881" > 2010-08-30 11:43:43 [23161] [9] DEBUG: dest_addr_ton: 49 = 0x00000031 > 2010-08-30 11:43:43 [23161] [9] DEBUG: dest_addr_npi: 2 = 0x00000002 > 2010-08-30 11:43:43 [23161] [9] DEBUG: destination_addr: "628811210006" > 2010-08-30 11:43:43 [23161] [9] DEBUG: esm_class: 3 = 0x00000003 > 2010-08-30 11:43:43 [23161] [9] DEBUG: protocol_id: 0 = 0x00000000 > 2010-08-30 11:43:43 [23161] [9] DEBUG: priority_flag: 0 = 0x00000000 > 2010-08-30 11:43:43 [23161] [9] DEBUG: schedule_delivery_time: NULL > 2010-08-30 11:43:43 [23161] [9] DEBUG: validity_period: NULL > 2010-08-30 11:43:43 [23161] [9] DEBUG: registered_delivery: 1 = > 0x00000001 > 2010-08-30 11:43:43 [23161] [9] DEBUG: replace_if_present_flag: 0 = > 0x00000000 > 2010-08-30 11:43:43 [23161] [9] DEBUG: data_coding: 0 = 0x00000000 > 2010-08-30 11:43:43 [23161] [9] DEBUG: sm_default_msg_id: 0 = 0x00000000 > 2010-08-30 11:43:43 [23161] [9] DEBUG: sm_length: 8 = 0x00000008 > 2010-08-30 11:43:43 [23161] [9] DEBUG: short_message: "test (1)" > 2010-08-30 11:43:43 [23161] [9] DEBUG: SMPP PDU dump ends. > 2010-08-30 11:43:43 [23161] [9] DEBUG: SMPP[smsc4]: throughput > (1.00,300.00) > 2010-08-30 11:43:43 [23161] [9] DEBUG: SMPP[smsc4]: throughput > (1.00,300.00) > 2010-08-30 11:43:43 [23161] [9] DEBUG: SMPP[smsc4]: Got PDU: > 2010-08-30 11:43:43 [23161] [9] DEBUG: SMPP PDU 0x9372600 dump: > 2010-08-30 11:43:43 [23161] [9] DEBUG: type_name: submit_sm_resp > 2010-08-30 11:43:43 [23161] [9] DEBUG: command_id: 2147483652 = > 0x80000004 > 2010-08-30 11:43:43 [23161] [9] DEBUG: command_status: 0 = 0x00000000 > 2010-08-30 11:43:43 [23161] [9] DEBUG: sequence_number: 3 = 0x00000003 > 2010-08-30 11:43:43 [23161] [9] DEBUG: message_id: "520566002" > 2010-08-30 11:43:43 [23161] [9] DEBUG: SMPP PDU dump ends. > 2010-08-30 11:43:43 [23161] [9] DEBUG: DLR[internal]: Adding DLR > smsc=smsc4, ts=520566002, src=881, dst=628811210006, mask=31, > boxc=kannel-smsc1 > 2010-08-30 11:43:43 [23161] [9] DEBUG: SMSC[smsc4]: creating DLR message > 2010-08-30 11:43:43 [23161] [9] DEBUG: SMSC[smsc4]: DLR = > 2010-08-30 11:43:43 [23161] [12] DEBUG: send_msg: sending msg to boxc: > <kannel-smsc1> > 2010-08-30 11:43:43 [23161] [12] DEBUG: boxc_sender: sent message to > <127.0.0.1> > 2010-08-30 11:43:43 [23161] [11] DEBUG: boxc_receiver: got ack > 2010-08-30 11:43:43 [23161] [9] DEBUG: SMPP[smsc4]: throughput > (1.00,300.00) > > > 2010/8/30 Nikos Balkanas <nbalka...@gmail.com> > >> Yes I do. I asked for bb logs. >> >> Nikos >> >> ----- Original Message ----- >> *From:* budi wibowo <bwib...@gmail.com> >> *To:* Nikos Balkanas <nbalka...@gmail.com> >> *Cc:* users@kannel.org >> *Sent:* Monday, August 30, 2010 7:37 AM >> *Subject:* Re: dlr issue >> >> hi >> i attached the pcap file for deliver_sm hope you dont mind i send in pcap >> format >> >> thx alot >> >> >> budi >> >> >> 2010/8/28 Nikos Balkanas <nbalka...@gmail.com> >> >>> Hi, >>> >>> Please post detailed bb logs of your DLR reception from your SMSc. That >>> would be your deliver_sm PDU with some context. >>> >>> PS: It is preferable to address a list with "Hi all". >>> >>> BR, >>> Nikos >>> ----- Original Message ----- From: budi wibowo >>> To: users@kannel.org >>> Sent: Saturday, August 28, 2010 5:15 AM >>> Subject: dlr issue >>> >>> >>> >>> dear all i have dlr issue >>> >>> >>> i have following scenario, : >>> >>> >>> a. client connect to smpp_server >>> b. smpp server send the message to kannel then kannel modify sender-id >>> c. kannel return the modified message back to smpp server >>> d. smpp server send the modified message to smsc >>> >>> >>> sending sms working normally, the only issue is the delivery report, >>> where client always get message delivered successfully even mobile phone is >>> switched off. >>> >>> >>> smppbox config also attached. >>> any help is highly appreciated >>> >>> >>> i attached the kannel.conf >>> group = core >>> admin-port = 14040 >>> admin-password = admin >>> status-password = status >>> smsbox-port = 14041 >>> log-file = "/var/log/kannel/bearerbox.log" >>> log-level = 1 >>> dlr-storage = internal >>> >>> >>> # SMSBOX-SETUP >>> group = smsbox >>> sendsms-port = 14042 >>> bearerbox-host = localhost >>> smsbox-id = kannel-smsc1 >>> log-file = "/var/log/kannel/smsbox.log" >>> log-level = 1 >>> >>> >>> #===================================================================== >>> >>> >>> group = smsbox-route >>> smsbox-id = kannel-smsc1 >>> smsc-id = smsc1;smsc2;smsc3;smsc4 >>> >>> >>> #====================================================================== >>> group = smsc >>> smsc = smpp >>> smsc-id = smsc1 >>> allowed-smsc-id = smsc1;smsc2 >>> denied-smsc-id = smsc3;smsc4 >>> throughput = 300 >>> host = 10.17.x.x >>> receive-port = 3200 >>> transceiver-mode = false >>> smsc-username = userin >>> smsc-password = p4ss >>> system-type = "" >>> interface-version = 34 >>> address-range = "" >>> source-addr-ton = 49 >>> source-addr-npi = 2 >>> source-addr-autodetect = false >>> dest-addr-ton = 49 >>> dest-addr-npi = 2 >>> enquire-link-interval = 20 >>> reconnect-delay = 10 >>> alt-charset = "ASCII" >>> reroute-dlr = true >>> >>> >>> #======================================================================= >>> group = sms-service >>> keyword = default >>> get-url = " >>> http://localhost/kannel/sms.php?message=%a&time=%t&MDN=%p&to=%P&trxid=%T >>> " >>> max-messages = 50 >>> concatenation = true >>> accepted-smsc = smsc1 >>> >>> >>> #====================================================================== >>> group = smsc >>> smsc = smpp >>> smsc-id = smsc2 >>> allowed-smsc-id = smsc2 >>> denied-smsc-id = smsc1;smsc3;smsc4 >>> throughput = 300 >>> host = 10.17.x.x >>> port = 3200 >>> transceiver-mode = false >>> smsc-username = userin >>> smsc-password = p4ss >>> system-type = "" >>> interface-version = 34 >>> address-range = "" >>> source-addr-ton = 49 >>> source-addr-npi = 2 >>> source-addr-autodetect = false >>> dest-addr-ton = 49 >>> dest-addr-npi = 2 >>> enquire-link-interval = 20 >>> reconnect-delay = 10 >>> alt-charset = "ASCII" >>> reroute-dlr = true >>> >>> >>> #====================================================================== >>> group = smsc >>> smsc = smpp >>> smsc-id = smsc3 >>> allowed-smsc-id = smsc3;smsc4 >>> denied-smsc-id = smsc1;smsc2 >>> throughput = 300 >>> host = 10.17.x.x >>> receive-port = 3200 >>> transceiver-mode = false >>> smsc-username = userout >>> smsc-password = p4ss >>> system-type = "" >>> interface-version = 34 >>> address-range = "" >>> source-addr-ton = 49 >>> source-addr-npi = 2 >>> source-addr-autodetect = false >>> dest-addr-ton = 49 >>> dest-addr-npi = 2 >>> enquire-link-interval = 20 >>> reconnect-delay = 10 >>> alt-charset = "ASCII" >>> reroute-dlr = true >>> >>> >>> #======================================================================= >>> group = sms-service >>> keyword = default >>> get-url = " >>> http://localhost/kannel/sms.php?message=%a&time=%t&MDN=%p&to=%P&trxid=%T >>> " >>> max-messages = 50 >>> concatenation = true >>> accepted-smsc = smsc1 >>> >>> >>> #====================================================================== >>> group = smsc >>> smsc = smpp >>> smsc-id = smsc4 >>> allowed-smsc-id = smsc4 >>> denied-smsc-id = smsc1;smsc2;smsc3 >>> throughput = 300 >>> host = 10.17.x.x >>> port = 3200 >>> transceiver-mode = false >>> smsc-username = userout >>> smsc-password = p4ss >>> system-type = "" >>> interface-version = 34 >>> address-range = "" >>> source-addr-ton = 49 >>> source-addr-npi = 2 >>> source-addr-autodetect = false >>> dest-addr-ton = 49 >>> dest-addr-npi = 2 >>> enquire-link-interval = 20 >>> reconnect-delay = 10 >>> alt-charset = "ASCII" >>> reroute-dlr = true >>> >>> >>> >>> >>> #====================================================================== >>> >>> >>> group = sendsms-user >>> name = "Group SMSC1" >>> username = user >>> password = user >>> max-messages = 50 >>> concatenation = true >>> forced-smsc = smsc4 >>> dlr-url = " >>> http://localhost/kannel/dlr.php?smsc=%i&destination=%P&ts=%T&source=%p&smsc=%i&status=%d&datelog=%t&mask=7 >>> " >>> >>> >>> #========================================================== >>> >>> >>> >>> >>> #==================================================================== >>> group = mysql-connection >>> id = mydlr >>> host = localhost >>> username = root >>> password = "" >>> database = dlr >>> max-connections = 1 >>> >>> >>> group = dlr-db >>> id = mydlr >>> table = dlr >>> field-smsc = smsc >>> field-timestamp = ts >>> field-destination = destination >>> field-source = source >>> field-service = service >>> field-url = url >>> field-mask = mask >>> field-status = status >>> field-boxc-id = boxc >>> >>> >>> #===================================================================== >>> >>> >>> #==================================================================== >>> #group = smsc >>> #smsc = fake >>> #port = 10000 >>> >>> >>> #==================================================================== >>> >>> >>> >>> >>> SMPPBOX config >>> # sample smppbox.conf >>> # >>> group = core >>> #dlr-storage = mysql >>> >>> >>> # this group defines your smppbox >>> group = smppbox >>> # our boxc type >>> smppbox-id = kannel-sbox >>> # the port to listen on for smpp connections >>> smppbox-port = 14043 >>> # we connect to the following host as a box >>> bearerbox-host = localhost >>> bearerbox-port = 14040 >>> log-level = 0 >>> log-file = /var/log/kannel/smppbox.log >>> our-system-id = smsc1 >>> #route-to-smsc = my-default-smsc >>> #route-to-smsc = smsc1;smsc2;smsc3;smsc4 >>> # see sample smpplogins.txt >>> smpp-logins = "/etc/kannel/smpplogins.txt" >>> >> >> > >