1st: Please use the Kannel users list to ask questions.

2nd: The short answer: No, if you use svn version for opensmppbox, you
should also use the bearerbox svn version.

 

== Rene

 

From: Jesus Irausquin [mailto:jdirausq...@yahoo.com] 
Sent: Tuesday, 22 November, 2011 19:55
To: Rene Kluwen
Subject: Re: Send DLR through Opensmpp to the ESME

 

I have bearerbox1.4.3 (stable version) and opensmppbox (svn version). Are
not compatible?

 

  _____  

De: Rene Kluwen <rene.klu...@chimit.nl>
Para: 'Jesus Irausquin' <jdirausq...@yahoo.com>; users@kannel.org 
Enviado: Martes, noviembre 22, 2011 1:52 P.M.
Asunto: RE: Send DLR through Opensmpp to the ESME

This error possibly comes from a version mismatch of opensmppbox and
bearerbox.

 

From: Jesus Irausquin [mailto:jdirausq...@yahoo.com] 
Sent: Tuesday, 22 November, 2011 15:51
To: Rene Kluwen; users@kannel.org
Subject: Re: Send DLR through Opensmpp to the ESME

 

Thanks Rene. I added the smsbox-route to my configuration but it's doesn't
works.

This appears still  on my logs:

 

[11738] [3] DEBUG: DLR[internal]: Adding DLR smsc=ext1, ts=b57602f6,
src=+34somenumber, dst=+58somenumber, mask=19, boxc=ext1

[11738] [3] ERROR: Packet too short while unpacking Msg.
[11738] [3] ERROR: Msg packet was invalid.
[11738] [3] ERROR: Failed to unpack data!replace_if_present_flag: 0 =
0x00000000


Any other suggestions? Thanks in advanced..

 

 

 

  _____  

De: Rene Kluwen <rene.klu...@chimit.nl>
Para: 'Jesus Irausquin' <jdirausq...@yahoo.com>; users@kannel.org 
Enviado: Lunes, noviembre 21, 2011 11:18 A.M.
Asunto: RE: Send DLR through Opensmpp to the ESME

See group = smsbox-route in the user manual.

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Jesus Irausquin
Sent: Monday, 21 November, 2011 16:36
To: users@kannel.org
Subject: Send DLR through Opensmpp to the ESME

 

Hi all,

Please I need your help with the next situation:

ESME --> Opensmmppbox --> Kannel --> SMSC (GSM Operator)

1. The ESME sends a simple SMS to a user from GSM Operator and the SMS is
received correctly at the mobile phone.
2. The ESME sends a simple SMS with alphanumeric sender to a user from GSM
Operator and the SMS is received correctly at the mobile phone.
3. The ESME sends a SMS with DLR to a user from GSM Operator and the SMS  is
received correctly at the mobile phone, the GSM Operator reply with the DLR
(I can see at kannel logs the DLR) BUT here is my question: How to forward
this DLR to the ESME??

DLR storage is internal and I changed the storage from "file" to "spool" for
some recommendations that I read it, here is my configuration:

group = core
admin-port = 13000
smsbox-port = 15000
admin-password = *****
status-password = *****
admin-allow-ip = "*.*.*.*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 1
store-type = spool
store-location = "/var/log/kannel/storedmsg/"
dlr-storage = internal
#store-file = "/var/log/kannel/StoredMsg"
access-log = "/var/log/kannel/access.log"

Here are some logs:

"accesslog"
2011-11-18 13:29:43 Sent SMS [SMSC:GSMOp] [SVC:test] [ACT:] [BINF:]
[FID:5fc4c769] [from:+34somenumber] [to:+58somenumber] [flags:-1:0:-1:0:19]
[msg:12:Test7 con DR] [udh:0:]
2011-11-18 13:29:49 Receive DLR [SMSC: GSMOp] [SVC:test] [ACT:] [BINF:]
[FID:5fc4c769] [from:+34somenumber] [to:+58somenumber] [flags:-1:-1:-1:-1:1]
[msg:114:id:1606731625 sub:001 dlvrd:001 submit date:1111180859 done
date:1111180859 stat:DELIVRD err:000 text:Test7 con DR] [udh:0:]

"opensmppbox log"
2011-11-18 13:29:43 [11738] [4] DEBUG: SMPP[ext1]: Got PDU:
2011-11-18 13:29:43 [11738] [4] DEBUG: SMPP PDU 0x8a85a80 dump:
2011-11-18 13:29:43 [11738] [4] DEBUG:   type_name: submit_sm
2011-11-18 13:29:43 [11738] [4] DEBUG:   command_id: 4 = 0x00000004
2011-11-18 13:29:43 [11738] [4] DEBUG:   command_status: 0 = 0x00000000
2011-11-18 13:29:43 [11738] [4] DEBUG:   sequence_number: 107417 =
0x0001a399
2011-11-18 13:29:43 [11738] [4] DEBUG:   service_type: NULL
2011-11-18 13:29:43 [11738] [4] DEBUG:   source_addr_ton: 1 = 0x00000001
2011-11-18 13:29:43 [11738] [4] DEBUG:   source_addr_npi: 1 = 0x00000001
2011-11-18 13:29:43 [11738] [4] DEBUG:   source_addr: "34somenumber"
2011-11-18 13:29:43 [11738] [4] DEBUG:   dest_addr_ton: 1 = 0x00000001
2011-11-18 13:29:43 [11738] [4] DEBUG:   dest_addr_npi: 1 = 0x00000001
2011-11-18 13:29:43 [11738] [4] DEBUG:   destination_addr: "58somenumber"
2011-11-18 13:29:43 [11738] [4] DEBUG:   esm_class: 0 = 0x00000000
2011-11-18 13:29:43 [11738] [4] DEBUG:   protocol_id: 0 = 0x00000000
2011-11-18 13:29:43 [11738] [4] DEBUG:   priority_flag: 0 = 0x00000000
2011-11-18 13:29:43 [11738] [4] DEBUG:   schedule_delivery_time: NULL
2011-11-18 13:29:43 [11738] [4] DEBUG:   validity_period: NULL
2011-11-18 13:29:43 [11738] [4] DEBUG:   registered_delivery: 1 = 0x00000001
2011-11-18 13:29:43 [11738] [4] DEBUG:   replace_if_present_flag: 0 =
0x00000000
2011-11-18 13:29:43 [11738] [4] DEBUG:   data_coding: 1 = 0x00000001
2011-11-18 13:29:43 [11738] [4] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2011-11-18 13:29:43 [11738] [4] DEBUG:   sm_length: 12 = 0x0000000c
2011-11-18 13:29:43 [11738] [4] DEBUG:   short_message: "Test7 con DR"
2011-11-18 13:29:43 [11738] [4] DEBUG: SMPP PDU dump ends.
2011-11-18 13:29:43 [11738] [4] DEBUG: Msg object at 0x8a867e8:
2011-11-18 13:29:43 [11738] [4] DEBUG:  type: sms
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.sender:
2011-11-18 13:29:43 [11738] [4] DEBUG:  Octet string at 0x8a85b60:
2011-11-18 13:29:43 [11738] [4] DEBUG:    len:  12
2011-11-18 13:29:43 [11738] [4] DEBUG:    size: 1024
2011-11-18 13:29:43 [11738] [4] DEBUG:    immutable: 0
2011-11-18 13:29:43 [11738] [4] DEBUG:    data: 2b 33 34 39 37 33 39 30 30
36 32 36               +34somenumber
2011-11-18 13:29:43 [11738] [4] DEBUG:  Octet string dump ends.
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.receiver:
2011-11-18 13:29:43 [11738] [4] DEBUG:  Octet string at 0x8a85c30:
2011-11-18 13:29:43 [11738] [4] DEBUG:    len:  13
2011-11-18 13:29:43 [11738] [4] DEBUG:    size: 1024
2011-11-18 13:29:43 [11738] [4] DEBUG:    immutable: 0
2011-11-18 13:29:43 [11738] [4] DEBUG:    data: 2b 35 38 34 31 34 31 36 39
32 38 37 33            +58somenumber
2011-11-18 13:29:43 [11738] [4] DEBUG:  Octet string dump ends.
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.udhdata:
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.msgdata:
2011-11-18 13:29:43 [11738] [4] DEBUG:  Octet string at 0x8a85c60:
2011-11-18 13:29:43 [11738] [4] DEBUG:    len:  12
2011-11-18 13:29:43 [11738] [4] DEBUG:    size: 13
2011-11-18 13:29:43 [11738] [4] DEBUG:    immutable: 0
2011-11-18 13:29:43 [11738] [4] DEBUG:    data: 54 65 73 74 37 20 63 6f 6e
20 44 52               Test7 with DLR
2011-11-18 13:29:43 [11738] [4] DEBUG:  Octet string dump ends.
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.time: 1321622983
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.smsc_id:
2011-11-18 13:29:43 [11738] [4] DEBUG:  Octet string at 0x8a85bc0:
2011-11-18 13:29:43 [11738] [4] DEBUG:    len:  9
2011-11-18 13:29:43 [11738] [4] DEBUG:    size: 10
2011-11-18 13:29:43 [11738] [4] DEBUG:    immutable: 0
2011-11-18 13:29:43 [11738] [4] DEBUG:    data: 54 45 4c 43 45 4c 5f 56 45
GSMOp
2011-11-18 13:29:43 [11738] [4] DEBUG:  Octet string dump ends.
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.smsc_number:
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.foreign_id:
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.service:
2011-11-18 13:29:43 [11738] [4] DEBUG:  Octet string at 0x8a85ba8:
2011-11-18 13:29:43 [11738] [4] DEBUG:    len:  6
2011-11-18 13:29:43 [11738] [4] DEBUG:    size: 7
2011-11-18 13:29:43 [11738] [4] DEBUG:    immutable: 0
2011-11-18 13:29:43 [11738] [4] DEBUG:    data: 6c 6c 65 69 64 61
test
2011-11-18 13:29:43 [11738] [4] DEBUG:  Octet string dump ends.
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.account:
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.id:
b57602f6-e29f-4a6b-a056-6cfa5006a54c
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.sms_type: 2
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.mclass: -1
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.mwi: -1
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.coding: 0
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.compress: 0
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.validity: -1
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.deferred: -1
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.dlr_mask: 19
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.dlr_url:
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.pid: 0
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.alt_dcs: 0
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.rpi: -1
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.charset:
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.boxc_id:
2011-11-18 13:29:43 [11738] [4] DEBUG:  Octet string at 0x8a76688:
2011-11-18 13:29:43 [11738] [4] DEBUG:    len:  4
2011-11-18 13:29:43 [11738] [4] DEBUG:    size: 5
2011-11-18 13:29:43 [11738] [4] DEBUG:    immutable: 0
2011-11-18 13:29:43 [11738] [4] DEBUG:    data: 65 78 74 31
ext1
2011-11-18 13:29:43 [11738] [4] DEBUG:  Octet string dump ends.
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.binfo:
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.msg_left: -1
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.split_parts: (nil)
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.priority: 0
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.resend_try: -1
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.resend_time: -1
2011-11-18 13:29:43 [11738] [4] DEBUG:  sms.meta_data:
2011-11-18 13:29:43 [11738] [4] DEBUG:  Octet string at 0x8a85c48:
2011-11-18 13:29:43 [11738] [4] DEBUG:    len:  6
2011-11-18 13:29:43 [11738] [4] DEBUG:    size: 1024
2011-11-18 13:29:43 [11738] [4] DEBUG:    immutable: 0
2011-11-18 13:29:43 [11738] [4] DEBUG:    data: 3f 73 6d 70 70 3f
?smpp?
2011-11-18 13:29:43 [11738] [4] DEBUG:  Octet string dump ends.
2011-11-18 13:29:43 [11738] [4] DEBUG: Msg object ends.
2011-11-18 13:29:43 [11738] [4] DEBUG: DLR[internal]: Adding DLR smsc=ext1,
ts=b57602f6, src=+34somenumber, dst=+58somenumber, mask=19, boxc=ext1
2011-11-18 13:29:43 [11738] [3] DEBUG: SMPP[ext1]: Sending PDU:
2011-11-18 13:29:43 [11738] [3] DEBUG: SMPP PDU 0x8a860c8 dump:
2011-11-18 13:29:43 [11738] [3] DEBUG:   type_name: submit_sm_resp
2011-11-18 13:29:43 [11738] [3] DEBUG:   command_id: 2147483652 = 0x80000004
2011-11-18 13:29:43 [11738] [3] DEBUG:   command_status: 0 = 0x00000000
2011-11-18 13:29:43 [11738] [3] DEBUG:   sequence_number: 107417 =
0x0001a399
2011-11-18 13:29:43 [11738] [3] DEBUG:   message_id: "b57602f6"
2011-11-18 13:29:43 [11738] [3] DEBUG: SMPP PDU dump ends.
2011-11-18 13:29:49 [11738] [3] ERROR: Packet too short while unpacking Msg.
2011-11-18 13:29:49 [11738] [3] ERROR: Msg packet was invalid.
2011-11-18 13:29:49 [11738] [3] ERROR: Failed to unpack
data!replace_if_present_flag: 0 = 0x00000000
2011-11-18 13:29:43 [11738] [4] DEBUG:   data_coding: 1 = 0x00000001
2011-11-18 13:29:43 [11738] [4] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2011-11-18 13:29:43 [11738] [4] DEBUG:   sm_length: 12 = 0x0000000c
2011-11-18 13:29:43 [11738] [4] DEBUG:   short_message: "Test7 with DR"
2011-11-18 13:29:43 [11738] [4] DEBUG: SMPP PDU dump ends.

"bearerboxlog"
2011-11-18 13:29:42 [11505] [11] WARNING: SMPP: Unknown
TLV(0x000e,0x0001,01) for PDU type (deliver_sm) received!
2011-11-18 13:29:42 [11505] [11] WARNING: SMPP: Unknown
TLV(0x0006,0x0001,03) for PDU type (deliver_sm) received!
2011-11-18 13:29:42 [11505] [9] WARNING: SMPP: Unknown TLV(0x000e,0x0001,03)
for PDU type (deliver_sm) received!
2011-11-18 13:29:42 [11505] [9] WARNING: SMPP: Unknown TLV(0x0006,0x0001,03)
for PDU type (deliver_sm) received!
2011-11-18 13:29:43 [11505] [9] WARNING: SMPP: Unknown TLV(0x000e,0x0001,03)
for PDU type (deliver_sm) received!
2011-11-18 13:29:43 [11505] [9] WARNING: SMPP: Unknown TLV(0x0006,0x0001,03)
for PDU type (deliver_sm) received!
2011-11-18 13:29:49 [11505] [15] WARNING: SMPP: Unknown
TLV(0x000e,0x0001,01) for PDU type (deliver_sm) received!
2011-11-18 13:29:49 [11505] [15] WARNING: SMPP: Unknown
TLV(0x0006,0x0001,01) for PDU type (deliver_sm) received!
2011-11-18 13:29:49 [11505] [9] WARNING: SMPP: Unknown TLV(0x000e,0x0001,03)
for PDU type (deliver_sm) received!
2011-11-18 13:29:49 [11505] [9] WARNING: SMPP: Unknown TLV(0x0006,0x0001,03)
for PDU type (deliver_sm) received!
2011-11-18 13:29:57 [11505] [17] WARNING: SMPP: Unknown
TLV(0x000e,0x0001,01) for PDU type (deliver_sm) received!
2011-11-18 13:29:57 [11505] [17] WARNING: SMPP: Unknown
TLV(0x0006,0x0001,01) for PDU type (deliver_sm) received!
2011-11-18 13:29:59 [11505] [9] WARNING: SMPP: Unknown TLV(0x000e,0x0001,03)
for PDU type (deliver_sm) received!
2011-11-18 13:29:59 [11505] [9] WARNING: SMPP: Unknown TLV(0x0006,0x0001,03)
for PDU type (deliver_sm) received!

Thanks so much for your help.

JD. 

 

 

 

 

Reply via email to