This is my kannel configuration #------------------------------------------------- # THIS IS A CONFIGURATION FOR KANNEL SMS Gateway #------------------------------------------------- # Single Group "CORE" #-------------------------------------------------
group = core admin-port = "13000" admin-port-ssl="no" admin-password = "xxxxxxxx" status-password = "xxxxxxxx" admin-deny-ip="*.*.*.*" admin-allow-ip="*.*.*.*" smsbox-interface ="127.0.0.1" smsbox-port = "13001" #smsbox-port-ssl="no" log-file = "/home/bulksms/public_html/kannel/logs/kannel1.log" log-level = "0" access-log = "/home/bulksms/public_html/kannel/logs/access1.access" dlr-storage = "internal" sms-incoming-queue-limit = "-1" sms-outgoing-queue-limit = "1000000" smsbox-max-pending = "100" sms-resend-freq = "60" sms-resend-retry = "-1" #------------------------------------------------- # Single Group "smsbox" #------------------------------------------------- group = smsbox smsbox-id = "smsbox" bearerbox-host = "127.0.0.1" bearerbox-port = "15001" sendsms-port = "15010" log-file = "/home/bulksms/public_html/kannel/logs/smsbox1.log" log-level = "0" access-log="/home/bulksms/public_html/kannel/logs/smsaccess1.access" sendsms-chars = "0123456789+ " #max-pending-requests = "512" sendsms-url="/cgi-bin/sendsms" #global-sender = "123456" #ms-length = "140" #http-request-retry=5 mo-recode='1' #------------------------------------------------- # Multi Group "SMSC" #------------------------------------------------- group = smsc smsc = "smpp" smsc-id = "vmobi_tsmsc" log-file = "/home/bulksms/public_html/kannel/logs/vmobi_tsmsc1.log" log-level = "0" host = "xxx.xxx.xxx.xxx" port = "xxxx" #receive-port="xxxx" smsc-username = "xxxxxx" smsc-password = "xxxxxx" allowed-smsc-id = "vmobi_tsmsc" preferred-smsc-id = "vmobi_tsmsc" source-addr-ton = "0" source-addr-npi = "1" dest-addr-ton = "1" dest-addr-npi = "1" service-type = "CMT" system-type = "VMA" alt-charset="ASCII" enquire-link-interval = "120" reconnect-delay = "0" transceiver-mode = "true" interface-version = "34" connection-timeout = "0" throughput = "100" reroute-dlr=true #------------------------------------------------- # Multi Group "smsbox-route" #------------------------------------------------- group = smsbox-route smsbox-id = "smsbox" smsc-id = "vmobi_tsmsc" #------------------------------------------------- # Multi Group "sms-service" # There should be always a 'default' service. # This service is used when no other 'sms-service' is applied. #------------------------------------------------- group = sms-service keyword = default text = "No service specified" accept-x-kannel-headers = true #max-messages = 3 concatenation = true catch-all = true #------------------------------------------------- # Multi Group "sendsms-user" #------------------------------------------------- group = sendsms-user name = "sendsmsuser1" username = "tester1" password = "tester1" forced-smsc = "vmobi_tsmsc" #default-smsc= "vmobi_tsmsc" #user-allow-ip="*.*.*.*" max-messages="10" #------------------------------------------------- Please If there is an issue then let me know. Thanks Ammar Ali On Sat, Apr 18, 2015 at 4:32 PM, Cliff Court <cco...@telkomsa.net> wrote: > Hi Ammar > > If you aren't getting a deliver_sm, it sounds like there is an issue with > the SMSC rather than anything you are doing or configuring. You are > requesting a "registered-delivery" so I would expect the deliver_sm. > > Is your SMS message reaching your test mobile phone? If it isn't, you > would need to wait for an expiry or failed deliver_sm status, but that > could take several hours (or days in some cases) > > > On 2015/04/18 12:34 PM, Ammar Ali wrote: > > For Your Information: > > 2015-04-18 15:52:36 [7282] [9] DEBUG: type_name: *submit_sm* > 2015-04-18 15:52:36 [7282] [9] DEBUG: command_id: 4 = 0x00000004 > 2015-04-18 15:52:36 [7282] [9] DEBUG: command_status: 0 = 0x00000000 > 2015-04-18 15:52:36 [7282] [9] DEBUG: sequence_number: 2 = 0x00000002 > 2015-04-18 15:52:36 [7282] [9] DEBUG: service_type: "CMT" > 2015-04-18 15:52:36 [7282] [9] DEBUG: source_addr_ton: 5 = 0x00000005 > 2015-04-18 15:52:36 [7282] [9] DEBUG: source_addr_npi: 0 = 0x00000000 > 2015-04-18 15:52:36 [7282] [9] DEBUG: source_addr: "IAMFCP" > 2015-04-18 15:52:36 [7282] [9] DEBUG: dest_addr_ton: 1 = 0x00000001 > 2015-04-18 15:52:36 [7282] [9] DEBUG: dest_addr_npi: 1 = 0x00000001 > 2015-04-18 15:52:36 [7282] [9] DEBUG: destination_addr: "9039238251" > 2015-04-18 15:52:36 [7282] [9] DEBUG: esm_class: 3 = 0x00000003 > 2015-04-18 15:52:36 [7282] [9] DEBUG: protocol_id: 0 = 0x00000000 > 2015-04-18 15:52:36 [7282] [9] DEBUG: priority_flag: 0 = 0x00000000 > 2015-04-18 15:52:36 [7282] [9] DEBUG: schedule_delivery_time: NULL > 2015-04-18 15:52:36 [7282] [9] DEBUG: validity_period: NULL > 2015-04-18 15:52:36 [7282] [9] DEBUG: registered_delivery: 1 = 0x00000001 > 2015-04-18 15:52:36 [7282] [9] DEBUG: replace_if_present_flag: 0 = > 0x00000000 > 2015-04-18 15:52:36 [7282] [9] DEBUG: data_coding: 0 = 0x00000000 > 2015-04-18 15:52:36 [7282] [9] DEBUG: sm_default_msg_id: 0 = 0x00000000 > 2015-04-18 15:52:36 [7282] [9] DEBUG: sm_length: 5 = 0x00000005 > 2015-04-18 15:52:36 [7282] [9] DEBUG: short_message: "hello" > 2015-04-18 15:52:36 [7282] [9] DEBUG: SMPP PDU dump ends. > 2015-04-18 15:52:36 [7282] [9] DEBUG: SMPP[newtsmsc]: throughput > (1.00,100.00) > 2015-04-18 15:52:36 [7282] [9] DEBUG: SMPP[newtsmsc]: throughput > (1.00,100.00) > 2015-04-18 15:52:36 [7282] [9] DEBUG: SMPP[newtsmsc]: Got PDU: > 2015-04-18 15:52:36 [7282] [9] DEBUG: SMPP PDU 0x7f2838001700 dump: > 2015-04-18 15:52:36 [7282] [9] DEBUG: type_name: *submit_sm_resp* > 2015-04-18 15:52:36 [7282] [9] DEBUG: command_id: 2147483652 = 0x80000004 > 2015-04-18 15:52:36 [7282] [9] DEBUG: command_status: 0 = 0x00000000 > 2015-04-18 15:52:36 [7282] [9] DEBUG: sequence_number: 2 = 0x00000002 > 2015-04-18 15:52:36 [7282] [9] DEBUG: message_id: > 2015-04-18 15:52:36 [7282] [9] DEBUG: Octet string at 0x7f2838001150: > 2015-04-18 15:52:36 [7282] [9] DEBUG: len: 36 > 2015-04-18 15:52:36 [7282] [9] DEBUG: size: 37 > 2015-04-18 15:52:36 [7282] [9] DEBUG: immutable: 0 > 2015-04-18 15:52:36 [7282] [9] DEBUG: data: 35 38 37 64 30 36 30 39 > 2d 35 33 34 61 2d 34 65 587d0609-534a-4e > 2015-04-18 15:52:36 [7282] [9] DEBUG: data: 66 38 2d 39 63 37 63 2d > 37 39 33 30 61 63 37 61 f8-9c7c-7930ac7a > 2015-04-18 15:52:36 [7282] [9] DEBUG: data: 39 33 37 > 61 937a > 2015-04-18 15:52:36 [7282] [9] DEBUG: Octet string dump ends. > 2015-04-18 15:52:36 [7282] [9] DEBUG: SMPP PDU dump ends. > 2015-04-18 15:52:36 [7282] [9] DEBUG: DLR[internal]: Adding DLR > smsc=newtsmsc, ts=587d0609-534a-4ef8-9c7c-7930ac7a937a, src=IAMFCP, > dst=9039238251, mask=31, boxc=smsbox > 2015-04-18 15:52:36 [7282] [9] DEBUG: SMPP[newtsmsc]: throughput > (1.00,100.00) > 2015-04-18 15:54:09 [7282] [9] DEBUG: SMPP[newtsmsc]: Sending enquire link: > 2015-04-18 15:54:09 [7282] [9] DEBUG: SMPP PDU 0x7f2838001700 dump: > > > > On Sat, Apr 18, 2015 at 4:01 PM, Ammar Ali <ammarali3...@gmail.com> wrote: > >> *Hello** Cliff,* >> >> I'm sending sms using SQLBox, and I'm inserting message into send_sms >> table with dlr_mask=31. >> >> But When I'm seeing my log files there is no *delivery_sm* packet for >> delivery report. >> >> >> *This is the sql query for insertion:* >> >> INSERT INTO send_sms (momt, sender, receiver, msgdata, sms_type, smsc_id, >> dlr_mask) >> VALUES ('MT', 'TESTIN', '9039238251, 'SQLBOX TESTING SERVER', 2, >> 'newtsmsc', 31); >> >> >> Please suggest me that how to get this delivery report. >> >> >> Thanks >> Ammar Ali >> >> >> >> >> >> >> >> >> >> >> >> On Sat, Apr 18, 2015 at 3:40 PM, Cliff Court <cco...@telkomsa.net> wrote: >> >>> If you are using sendsms to send messages , are you including the >>> dlr-mask and dlr-url in URL parameters? >>> >>> e.g. set dlr-mask=31 (for all reports) and dlr-url must be set for a >>> script that can store your dlr data >>> >>> Thanks >>> Cliff >>> >>> >>> On 2015/04/18 08:34 AM, Ammar Ali wrote: >>> >>> I'm not getting Delivery Report. >>> >>> On Sat, Apr 18, 2015 at 12:04 PM, Ammar Ali <ammarali3...@gmail.com> >>> wrote: >>> >>>> Hello Team, >>>> >>>> I had some issue with delivery reports. I configured smsc configuration >>>> for transmit and receiving sms and dlr. >>>> >>>> >>>> >>>> *This is my configuration: *group = smsc >>>> smsc = smpp >>>> smsc-id = tx_smsc >>>> host= xxx.xxx.xxx.xxx >>>> smsc-username= xxxxxx >>>> smsc-password= xxxx >>>> port = 2775 >>>> #receive-port= 2775 >>>> connect-allow-ip = 127.0.0.1 >>>> system-type="SMPP" >>>> address-range="" >>>> alt-charset=1 >>>> alt-charset="ASCII" >>>> source-addr-ton=1 >>>> source-addr-npi=1 >>>> dest-addr-ton=1 >>>> dest-addr-npi=1 >>>> #transceiver-mode=1 >>>> allowed-smsc-id=newtsmsc >>>> throughput= 40 >>>> log-file =/home/bulksms/public_html/kannel/logs/new_tsmsc1.log >>>> log-level = 0 >>>> >>>> ----------------------------------------------------------------------------------------------------- >>>> group = smsc >>>> smsc = smpp >>>> smsc-id = rx_smsc >>>> host= xxx.xxx.xxx.xxx >>>> smsc-username= xxxxxxx >>>> smsc-password= xxxxxxx >>>> #port = 2775 >>>> receive-port= 2775 >>>> connect-allow-ip = 127.0.0.1 >>>> system-type="SMPP" >>>> address-range="" >>>> alt-charset="ASCII" >>>> source-addr-ton=1 >>>> source-addr-npi=1 >>>> dest-addr-ton=1 >>>> dest-addr-npi=1 >>>> #transceiver-mode=1 >>>> allowed-smsc-id=newtrsmsc >>>> log-file =/home/bulksms/public_html/kannel/logs/new_trsmsc1.log >>>> log-level = 0 >>>> >>>> Can you suggest me where is the actual problem in my configuration. >>>> >>>> >>>> >>>> Thanks >>>> Ammar Ali >>>> FRAMP Technology >>>> Pune (MH) >>>> >>>> >>>> >>>> >>> >>> >> > >