Re: SMPP 3.4 DLR Problem

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Centrium GmbH
Message-ID <[email protected]>
Hi Troy,

bearerbox doesn't handle smpp's optional parameters, Please try to force 
inrerface-version = 33 ...

Am Montag, 2. Juni 2003 00:15 schrieb Troy Kelly:
> I was having an issue with DLR messages, I was getting the "smsbox is
> gone!" error.
>
> After adding "smsbox-id = "vfFSG01"" to the config file the above error is
> gone - but I still can't process the actual delivery receipt.
>
> Any ideas?
>
> Regards, Troy
>
> --Start Conf File---
> group = core
> admin-port = 13000
> admin-password = xXxXxXx
> status-password = xXxXxXx
> admin-deny-ip = "*.*.*.*"
> admin-allow-ip = "127.0.0.1;192.168.21.*;203.147.168.98"
> smsbox-port = 13001
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1;203.147.168.98"
> udp-deny-ip = "*.*.*.*"
> udp-allow-ip = "127.0.0.1;203.147.168.98"
> log-file = "e:/progra~1/kannel/log/FSG-core.log"
> log-level = 0
> access-log = "e:/progra~1/kannel/log/FSG-access.log"
> unified-prefix = "614,04"
> store-file = "e:/progra~1/kannel/store/FSG-store.log"
> dlr-storage = internal
> maximum-queue-length = 500
>
> group = smsc
> smsc = smpp
> smsc-id = "vfFSG01"
> allowed-smsc-id = "vfFSG01"
> host = 202.81.65.23
> port = 3402
> transceiver-mode = 1
> #recieve-port = 0
> smsc-username = "Webcentral1"
> smsc-password = "xXxXxXxXx"
> system-type= "Webcentral1"
> our-host = "203.147.168.98"
> enquire-link-interval = 30
> max-pending-submits = 10
> reconnect-delay = 10
> source-addr-ton = 1
> source-addr-npi = 1
> dest-addr-ton = 1
> dest-addr-npi = 1
>
> group = smsbox
> bearerbox-host = "127.0.0.1"
> sendsms-port = 13013
> sendsms-url = /cgi-bin/sendsms
> sendota-url = /cgi-bin/sendota
> sendsms-chars = "0123456789+-"
> log-file = e:/progra~1/kannel/log/FSG-smsbox.log
> log-level = 0
> access-log = e:/progra~1/kannel/log/FSG-access-sms.log
> mo-recode = 1
> http-request-retry = 10
> http-queue-delay = 10
> smsbox-id = "vfFSG01"
>
> group = sms-service
> keyword = default
> name = "deliver2gw"
> get-url =
> "http://127.0.0.1/sms.asp?sender=%p&receiver=%P&message=%a&binary=%b&time=%
>t &udh=%u&charset=%C&coding=%c"
> accepted-smsc = "vfFSG01"
> catch-all = 1
> send-sender = 1
> strip-keyword = 0
> max-messages = 0
> accept-x-kannel-headers = 1
> assume-plain-text = 1
> concatenation = false
> omit-empty = 1
>
> group = sendsms-user
> username = "wcsms01"
> password = "t3sts0s"
> name = "defwcsender"
> user-deny-ip = "*.*.*.*"
> user-allow-ip = "127.0.0.1;203.147.168.98"
> #forced-smsc = "vfFSG01"
> default-smsc = "vfFSG01"
> concatenation = 1
> omit-empty = 1
> dlr-url = "http://127.0.0.1/dlr.asp?type=%d&value=%A"
> --End Conf File---
>
> --Start Log File--
> 2003-06-02 08:01:49 [4] DEBUG: HTTP: Resetting HTTPClient for
> `203.147.168.98'.
> 2003-06-02 08:01:53 [8] DEBUG: boxc_receiver: sms received
> 2003-06-02 08:01:53 [6] DEBUG: SMPP[vfFSG01]: Manually forced source addr
> ton = 1, source add npi = 1
> 2003-06-02 08:01:53 [6] DEBUG: SMPP[vfFSG01]: Manually forced dest addr ton
> = 1, dest add npi = 1
> 2003-06-02 08:01:53 [6] DEBUG: SMPP[vfFSG01]: Sending PDU:
> 2003-06-02 08:01:53 [6] DEBUG: SMPP PDU 0x1011a518 dump:
> 2003-06-02 08:01:53 [6] DEBUG:   type_name: submit_sm
> 2003-06-02 08:01:53 [6] DEBUG:   command_id: 4 = 0x00000004
> 2003-06-02 08:01:53 [6] DEBUG:   command_status: 0 = 0x00000000
> 2003-06-02 08:01:53 [6] DEBUG:   sequence_number: 8 = 0x00000008
> 2003-06-02 08:01:53 [6] DEBUG:   service_type: NULL
> 2003-06-02 08:01:53 [6] DEBUG:   source_addr_ton: 1 = 0x00000001
> 2003-06-02 08:01:53 [6] DEBUG:   source_addr_npi: 1 = 0x00000001
> 2003-06-02 08:01:53 [6] DEBUG:   source_addr: "61412879362"
> 2003-06-02 08:01:53 [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
> 2003-06-02 08:01:53 [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
> 2003-06-02 08:01:53 [6] DEBUG:   destination_addr: "61401985224"
> 2003-06-02 08:01:53 [6] DEBUG:   esm_class: 3 = 0x00000003
> 2003-06-02 08:01:53 [6] DEBUG:   protocol_id: 0 = 0x00000000
> 2003-06-02 08:01:53 [6] DEBUG:   priority_flag: 0 = 0x00000000
> 2003-06-02 08:01:53 [6] DEBUG:   schedule_delivery_time: NULL
> 2003-06-02 08:01:53 [6] DEBUG:   validity_period: NULL
> 2003-06-02 08:01:53 [6] DEBUG:   registered_delivery: 1 = 0x00000001
> 2003-06-02 08:01:53 [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
> 2003-06-02 08:01:53 [6] DEBUG:   data_coding: 0 = 0x00000000
> 2003-06-02 08:01:53 [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
> 2003-06-02 08:01:53 [6] DEBUG:   sm_length: 16 = 0x00000010
> 2003-06-02 08:01:53 [6] DEBUG:   short_message: "foodey goodness?"
> 2003-06-02 08:01:53 [6] DEBUG: SMPP PDU dump ends.
> 2003-06-02 08:01:53 [6] DEBUG: SMPP[vfFSG01]: Got PDU:
> 2003-06-02 08:01:53 [6] DEBUG: SMPP PDU 0x1011a518 dump:
> 2003-06-02 08:01:53 [6] DEBUG:   type_name: submit_sm_resp
> 2003-06-02 08:01:53 [6] DEBUG:   command_id: 2147483652 = 0x80000004
> 2003-06-02 08:01:53 [6] DEBUG:   command_status: 0 = 0x00000000
> 2003-06-02 08:01:53 [6] DEBUG:   sequence_number: 8 = 0x00000008
> 2003-06-02 08:01:53 [6] DEBUG:   message_id:
> 2003-06-02 08:01:53 [6] DEBUG:    Octet string at 0x1011a340:
> 2003-06-02 08:01:53 [6] DEBUG:      len:  28
> 2003-06-02 08:01:53 [6] DEBUG:      size: 29
> 2003-06-02 08:01:53 [6] DEBUG:      immutable: 0
> 2003-06-02 08:01:53 [6] DEBUG:      data: 30 33 2f 30 30 2f 61 32  
> 03/00/a2 2003-06-02 08:01:53 [6] DEBUG:      data: 33 66 31 32 35 38 2f 31 
>  3f1258/1 2003-06-02 08:01:53 [6] DEBUG:      data: 31 36 31 34 30 31 39 38
>   16140198 2003-06-02 08:01:53 [6] DEBUG:      data: 35 32 32 34           
>    5224 2003-06-02 08:01:53 [6] DEBUG:    Octet string dump ends.
> 2003-06-02 08:01:53 [6] DEBUG: SMPP PDU dump ends.
> 2003-06-02 08:01:53 [6] DEBUG: Adding DLR smsc=vfFSG01,
> ts=03/00/a23f1258/1161401985224, src=61412879362, dst=61401985224, mask=31,
> boxc=vfFSG01
> 2003-06-02 08:01:53 [6] DEBUG: Looking for DLR smsc=vfFSG01,
> ts=03/00/a23f1258/1161401985224, dst=61401985224, type=12
> 2003-06-02 08:01:53 [6] DEBUG: created DLR message for URL
> <http://localhost/dlr.asp?data=124238|%d|%A>
> 2003-06-02 08:01:53 [6] INFO: dlr not destroyed, still waiting for other
> delivery report
> 2003-06-02 08:01:53 [9] DEBUG: send_msg: sending msg to boxc: <vfFSG01>
> 2003-06-02 08:01:53 [9] DEBUG: boxc_sender: sent message to <127.0.0.1>
> 2003-06-02 08:01:53 [1] DEBUG: Dumping 2 messages and 0 acks to store
> 2003-06-02 08:01:53 [8] DEBUG: boxc_receiver: got ack
> 2003-06-02 08:01:58 [6] DEBUG: Optional parameter tag (0x0427)
> 2003-06-02 08:01:58 [6] DEBUG: Optional parameter length read as 1
> 2003-06-02 08:01:58 [6] DEBUG: Optional parameter value ()
> 2003-06-02 08:01:58 [6] DEBUG: Optional parameter tag (0x001e)
> 2003-06-02 08:01:58 [6] DEBUG: Optional parameter length read as 29
> 2003-06-02 08:01:58 [6] DEBUG: Optional parameter value
> (03/00/a23f1258/1161401985224)
> 2003-06-02 08:01:58 [6] DEBUG: SMPP[vfFSG01]: Got PDU:
> 2003-06-02 08:01:58 [6] DEBUG: SMPP PDU 0x1011a518 dump:
> 2003-06-02 08:01:58 [6] DEBUG:   type_name: deliver_sm
> 2003-06-02 08:01:58 [6] DEBUG:   command_id: 5 = 0x00000005
> 2003-06-02 08:01:58 [6] DEBUG:   command_status: 0 = 0x00000000
> 2003-06-02 08:01:58 [6] DEBUG:   sequence_number: 3 = 0x00000003
> 2003-06-02 08:01:58 [6] DEBUG:   service_type: NULL
> 2003-06-02 08:01:58 [6] DEBUG:   source_addr_ton: 1 = 0x00000001
> 2003-06-02 08:01:58 [6] DEBUG:   source_addr_npi: 1 = 0x00000001
> 2003-06-02 08:01:58 [6] DEBUG:   source_addr: "61401985224"
> 2003-06-02 08:01:58 [6] DEBUG:   dest_addr_ton: 3 = 0x00000003
> 2003-06-02 08:01:58 [6] DEBUG:   dest_addr_npi: 9 = 0x00000009
> 2003-06-02 08:01:58 [6] DEBUG:   destination_addr: "0416905800"
> 2003-06-02 08:01:58 [6] DEBUG:   esm_class: 4 = 0x00000004
> 2003-06-02 08:01:58 [6] DEBUG:   protocol_id: 0 = 0x00000000
> 2003-06-02 08:01:58 [6] DEBUG:   priority_flag: 0 = 0x00000000
> 2003-06-02 08:01:58 [6] DEBUG:   schedule_delivery_time: NULL
> 2003-06-02 08:01:58 [6] DEBUG:   validity_period: NULL
> 2003-06-02 08:01:58 [6] DEBUG:   registered_delivery: 0 = 0x00000000
> 2003-06-02 08:01:58 [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
> 2003-06-02 08:01:58 [6] DEBUG:   data_coding: 1 = 0x00000001
> 2003-06-02 08:01:58 [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
> 2003-06-02 08:01:58 [6] DEBUG:   sm_length: 71 = 0x00000047
> 2003-06-02 08:01:58 [6] DEBUG:   short_message:
> 2003-06-02 08:01:58 [6] DEBUG:    Octet string at 0x1011a340:
> 2003-06-02 08:01:58 [6] DEBUG:      len:  71
> 2003-06-02 08:01:58 [6] DEBUG:      size: 72
> 2003-06-02 08:01:58 [6] DEBUG:      immutable: 0
> 2003-06-02 08:01:58 [6] DEBUG:      data: 4d 65 73 73 61 67 65 20   Message
> 2003-06-02 08:01:58 [6] DEBUG:      data: 68 61 73 20 62 65 65 6e   has
> been 2003-06-02 08:01:58 [6] DEBUG:      data: 20 73 75 63 63 65 73 73   
> success 2003-06-02 08:01:58 [6] DEBUG:      data: 66 75 6c 6c 79 20 64 65  
> fully de 2003-06-02 08:01:58 [6] DEBUG:      data: 6c 69 76 65 72 65 64 20 
>  livered 2003-06-02 08:01:58 [6] DEBUG:      data: 74 6f 20 74 68 65 20 64 
>  to the d 2003-06-02 08:01:58 [6] DEBUG:      data: 65 73 74 69 6e 61 74 69
>   estinati 2003-06-02 08:01:58 [6] DEBUG:      data: 6f 6e 20 36 31 34 30
> 31   on 61401 2003-06-02 08:01:58 [6] DEBUG:      data: 39 38 35 32 32 34
> 20      985224 2003-06-02 08:01:58 [6] DEBUG:    Octet string dump ends.
> 2003-06-02 08:01:58 [6] DEBUG:   SMPP_message_state:
> 2003-06-02 08:01:58 [6] DEBUG:    Octet string at 0x10119f18:
> 2003-06-02 08:01:58 [6] DEBUG:      len:  1
> 2003-06-02 08:01:58 [6] DEBUG:      size: 2
> 2003-06-02 08:01:58 [6] DEBUG:      immutable: 0
> 2003-06-02 08:01:58 [6] DEBUG:      data: 02                        .
> 2003-06-02 08:01:58 [6] DEBUG:    Octet string dump ends.
> 2003-06-02 08:01:58 [6] DEBUG:   SMPP_receipted_message_id:
> 2003-06-02 08:01:58 [6] DEBUG:    Octet string at 0x1011a3f8:
> 2003-06-02 08:01:58 [6] DEBUG:      len:  29
> 2003-06-02 08:01:58 [6] DEBUG:      size: 30
> 2003-06-02 08:01:58 [6] DEBUG:      immutable: 0
> 2003-06-02 08:01:58 [6] DEBUG:      data: 30 33 2f 30 30 2f 61 32  
> 03/00/a2 2003-06-02 08:01:58 [6] DEBUG:      data: 33 66 31 32 35 38 2f 31 
>  3f1258/1 2003-06-02 08:01:58 [6] DEBUG:      data: 31 36 31 34 30 31 39 38
>   16140198 2003-06-02 08:01:58 [6] DEBUG:      data: 35 32 32 34 00        
>    5224. 2003-06-02 08:01:58 [6] DEBUG:    Octet string dump ends.
> 2003-06-02 08:01:58 [6] DEBUG: SMPP PDU dump ends.
> 2003-06-02 08:01:58 [6] DEBUG: SMPP[vfFSG01] handle_pdu, got DLR
> 2003-06-02 08:01:58 [6] ERROR: SMPP[vfFSG01]: got DLR but could not find
> message or was not interested in it
> 2003-06-02 08:01:58 [6] DEBUG: SMPP[vfFSG01]: Sending PDU:
> 2003-06-02 08:01:58 [6] DEBUG: SMPP PDU 0x101134e0 dump:
> 2003-06-02 08:01:58 [6] DEBUG:   type_name: deliver_sm_resp
> 2003-06-02 08:01:58 [6] DEBUG:   command_id: 2147483653 = 0x80000005
> 2003-06-02 08:01:58 [6] DEBUG:   command_status: 0 = 0x00000000
> 2003-06-02 08:01:58 [6] DEBUG:   sequence_number: 3 = 0x00000003
> 2003-06-02 08:01:58 [6] DEBUG:   message_id: NULL
> 2003-06-02 08:01:58 [6] DEBUG: SMPP PDU dump ends.
> --End Log File--

-- 
Best regards / Mit besten Grüßen aus Köln

Dipl.-Ing.
Alexander Malysh
___________________________________

Centrium GmbH
Ehrenstrasse 2
50672 Köln

Fon: +49 (0221) 277 49 240
Fax: +49 (0221) 277 49 109

email: a.malysh at centrium.de
web: http://www.centrium.de
msn: olek2002 at hotmail.com
___________________________________________

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.