Hi List,
 Below is the kannel.log and configuration file. 
 I am only receiving  DLR type=8 i.e SMSC submit.
 How can I recieve  Other DLR type=1 2 or 5 ?
 Plese any one  help me 
 I am using kannel-1.4.3, DLR mask 31
   
 
 
 2009-10-18 12:28:22 [15936] [6] DEBUG: SMPP[Id72]: Sending
 PDU:
 2009-10-18 12:28:22 [15936] [6] DEBUG: SMPP PDU 0x9c4e3e8
 dump:
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   type_name: submit_sm
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   command_id: 4 = 0x00000004
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   command_status: 0 = 0x00000000
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   sequence_number: 575 = 0x0000023f
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   service_type: NULL
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   source_addr_ton: 5 = 0x00000005
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   source_addr_npi: 0 = 0x00000000
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   source_addr: "Lalit"
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   dest_addr_ton: 2 = 0x00000002
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   dest_addr_npi: 1 = 0x00000001
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   destination_addr: "919868311699"
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   esm_class: 3 = 0x00000003
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   protocol_id: 0 = 0x00000000
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   priority_flag: 0 = 0x00000000
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   schedule_delivery_time: NULL
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   validity_period: NULL
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   registered_delivery: 1 = 0x00000001
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   replace_if_present_flag: 0 =
 0x00000000
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   data_coding: 242 = 0x000000f2
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   sm_default_msg_id: 0 = 0x00000000
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   sm_length: 14 = 0x0000000e
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   short_message: "Jai Ram-sunil "
 2009-10-18 12:28:22 [15936] [6] DEBUG: SMPP PDU dump ends.
 2009-10-18 12:28:22 [15936] [6] DEBUG: SMPP[Id72]: Got
 PDU:
 2009-10-18 12:28:22 [15936] [6] DEBUG: SMPP PDU 0x9c4e3e8
 dump:
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   type_name: submit_sm_resp
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   command_id: 2147483652 = 0x80000004
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   command_status: 0 = 0x00000000
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   sequence_number: 575 = 0x0000023f
 2009-10-18 12:28:22 [15936] [6]
 DEBUG:   message_id: "4ADA0A0E"
 2009-10-18 12:28:22 [15936] [6] DEBUG: SMPP PDU dump ends.
 2009-10-18 12:28:22 [15936] [6] DEBUG: DLR[mysql]: Adding
 DLR smsc=Id72, ts=4ADA0A0E, src=Lalit, dst=919868311699,
 mask=31, boxc=dlrbox
 2009-10-18 12:28:22 [15936] [6] DEBUG: sql: INSERT INTO dlr
 (smsc, ts, source, destination, service, url, mask, boxc,
 status) VALUES ('Id72', '4ADA0A0E', 'Lalit', '919868311699',
 'playsms', 
'http://localhost/smsadmin/plugin/gateway/kannel/dlr.php?type=%d&slid=749&uid=7',
 '31', 'dlrbox', '0');
 2009-10-18 12:28:22 [15936] [6] DEBUG: SMSC[Id72]: creating
 DLR message
 2009-10-18 12:28:22 [15936] [6] DEBUG: SMSC[Id72]: DLR = 
http://localhost/smsadmin/plugin/gateway/kannel/dlr.php?type=%d&slid=749&uid=7
 2009-10-18 12:28:22 [15936] [9] DEBUG: send_msg: sending
 msg to boxc: <dlrbox
 2009-10-18 12:28:22 [15936] [9] DEBUG: boxc_sender: sent
 message to <127.0.0.1
 2009-10-18 12:28:22 [15936] [8] DEBUG: boxc_receiver: got
 ack
 
 
 
 ###Kannel CONF FILE##############
 group = core
 admin-port = 13000
 admin-password = **
 status-password = **
 log-file = "/var/log/kannel/kannel.log"
 log-level = 0
 access-log = "/var/log/kannel/access.log"
 smsbox-port = 13001
 #store-file = "/var/log/kannel/kannel.store"
 #store-location = "/var/log/kannel/kannel.store"
 sms-resend-retry = 5
 dlr-storage = mysql
 
 
 # SMSC SMPP
 group = smsc
 smsc = smpp
 smsc-id = Id72
 host = *****
 port = 8899
 smsc-username = *****
 smsc-password = *****
 system-type = VMA
 msg-id-type=0x01
 
 # SMSBOX SETUP
 group = smsbox
 smsbox-id = dlrbox
 bearerbox-host = localhost
 sendsms-port = 13131
 sendsms-chars = "0123456789+"
 log-file = "/var/log/kannel/smsbox.log"
 log-level = 0
 access-log = "/var/log/kannel/access.log"
 
 
 # SEND-SMS USERS
 group = sendsms-user
 username = *****
 password = *****
 
 # SMS SERVICE 'Default'
 # there should be default always
 group = sms-service
 keyword = default
 #exec = /usr/local/bin/kannel_incoming %t %q %a
 get-url = 
"http://localhost/smsadmin/plugin/gateway/kannel/geturl.php?t=%t&q=%q&a=%a&d=%d";
 
 
 # Example defining a MySQL database connection resource
 and
 # the required table and field values.
 #
 
 group = mysql-connection
 id = mydlr
 host = localhost
 username = *****
 password = ****
 database = mysms
 # max count of connections that will be opened for dbpool
 # default is 1
 max-connections = 3
 
 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
 ----------------
 -Thanks
 -Sunil 
 
 
       Connect more, do more and share more
 with Yahoo! India Mail. Learn more. http://in.overview.



      Try the new Yahoo! India Homepage. Click here. http://in.yahoo.com/trynew

Reply via email to