Hello there,

at first i want thank you all for opensmppbox.

Situation is:

I am sending sms via:

http://myhost_a:13013/cgi-bin/sendsms?user=user&pass=password&dlr-mask=63&dlr-url=http://someurl/&from=test&to=421944178045&text=testing+intermediate&validity=3

When sms is driven directly to my smpp smsc provider, then i get intermediate dlr if target phone is off.

But when sms is driven to my other kannel server (myhost_b), where is opensmppbox on incomming side, then intermediate dlr will not come from my smpp smsc provider.

I found that opensmppbox will log PDU correctly, but after conversion to MSG structure, somethings happend, what changes DLR-MASK from entered 63 to 19. I am not sure, if that's some problem in myhost_a bearerbox (probably not, because it's working directly with smsc smpp well), or if it is something within opensmppbox.

Logged PDU:
2010-10-25 15:36:17 [29264] [2] DEBUG: SMPP PDU 0x1617e4c0 dump:
2010-10-25 15:36:17 [29264] [2] DEBUG:   type_name: submit_sm
2010-10-25 15:36:17 [29264] [2] DEBUG:   command_id: 4 = 0x00000004
2010-10-25 15:36:17 [29264] [2] DEBUG:   command_status: 0 = 0x00000000
2010-10-25 15:36:17 [29264] [2] DEBUG:   sequence_number: 365 = 0x0000016d
2010-10-25 15:36:17 [29264] [2] DEBUG:   service_type: NULL
2010-10-25 15:36:17 [29264] [2] DEBUG:   source_addr_ton: 5 = 0x00000005
2010-10-25 15:36:17 [29264] [2] DEBUG:   source_addr_npi: 0 = 0x00000000
2010-10-25 15:36:17 [29264] [2] DEBUG:   source_addr: "test"
2010-10-25 15:36:17 [29264] [2] DEBUG:   dest_addr_ton: 1 = 0x00000001
2010-10-25 15:36:17 [29264] [2] DEBUG:   dest_addr_npi: 1 = 0x00000001
2010-10-25 15:36:17 [29264] [2] DEBUG:   destination_addr: "421944178045"
2010-10-25 15:36:17 [29264] [2] DEBUG:   esm_class: 3 = 0x00000003
2010-10-25 15:36:17 [29264] [2] DEBUG:   protocol_id: 0 = 0x00000000
2010-10-25 15:36:17 [29264] [2] DEBUG:   priority_flag: 0 = 0x00000000
2010-10-25 15:36:17 [29264] [2] DEBUG:   schedule_delivery_time: NULL
2010-10-25 15:36:17 [29264] [2] DEBUG:   validity_period: "101025133917000+"
2010-10-25 15:36:17 [29264] [2] DEBUG: registered_delivery: 17 = 0x00000011 2010-10-25 15:36:17 [29264] [2] DEBUG: replace_if_present_flag: 0 = 0x00000000
2010-10-25 15:36:17 [29264] [2] DEBUG:   data_coding: 241 = 0x000000f1
2010-10-25 15:36:17 [29264] [2] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2010-10-25 15:36:17 [29264] [2] DEBUG:   sm_length: 21 = 0x00000015
2010-10-25 15:36:17 [29264] [2] DEBUG:   short_message:
2010-10-25 15:36:17 [29264] [2] DEBUG:    Octet string at 0x1617a300:
2010-10-25 15:36:17 [29264] [2] DEBUG:      len:  21
2010-10-25 15:36:17 [29264] [2] DEBUG:      size: 22
2010-10-25 15:36:17 [29264] [2] DEBUG:      immutable: 0
2010-10-25 15:36:17 [29264] [2] DEBUG: data: 54 65 73 74 20 69 6e 74 65 72 6d 65 64 69 61 74 Test intermediat 2010-10-25 15:36:17 [29264] [2] DEBUG: data: 65 20 44 4c 52 e DLR
2010-10-25 15:36:17 [29264] [2] DEBUG:    Octet string dump ends.
2010-10-25 15:36:17 [29264] [2] DEBUG: SMPP PDU dump ends.


Logged MSG structure (truncated)
2010-10-25 15:36:17 [29264] [2] DEBUG: Msg object at 0x16171540:
2010-10-25 15:36:17 [29264] [2] DEBUG:  type: sms
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.sender:
2010-10-25 15:36:17 [29264] [2] DEBUG:  Octet string at 0x16172830:
2010-10-25 15:36:17 [29264] [2] DEBUG:    len:  4
2010-10-25 15:36:17 [29264] [2] DEBUG:    size: 5
2010-10-25 15:36:17 [29264] [2] DEBUG:    immutable: 0
2010-10-25 15:36:17 [29264] [2] DEBUG: data: 74 65 73 74 test
2010-10-25 15:36:17 [29264] [2] DEBUG:  Octet string dump ends.
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.receiver:
2010-10-25 15:36:17 [29264] [2] DEBUG:  Octet string at 0x1617a2a0:
2010-10-25 15:36:17 [29264] [2] DEBUG:    len:  13
2010-10-25 15:36:17 [29264] [2] DEBUG:    size: 1024
2010-10-25 15:36:17 [29264] [2] DEBUG:    immutable: 0
2010-10-25 15:36:17 [29264] [2] DEBUG: data: 2b 34 32 31 39 34 34 31 37 38 30 34 35 +421944178045
2010-10-25 15:36:17 [29264] [2] DEBUG:  Octet string dump ends.
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.udhdata:
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.msgdata:
2010-10-25 15:36:17 [29264] [2] DEBUG:  Octet string at 0x1617a300:
2010-10-25 15:36:17 [29264] [2] DEBUG:    len:  21
2010-10-25 15:36:17 [29264] [2] DEBUG:    size: 22
2010-10-25 15:36:17 [29264] [2] DEBUG:    immutable: 0
2010-10-25 15:36:17 [29264] [2] DEBUG: data: 54 65 73 74 20 69 6e 74 65 72 6d 65 64 69 61 74 Test intermediat 2010-10-25 15:36:17 [29264] [2] DEBUG: data: 65 20 44 4c 52 e DLR
2010-10-25 15:36:17 [29264] [2] DEBUG:  Octet string dump ends.
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.time: 1288013777
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.smsc_id:
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.smsc_number:
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.foreign_id:
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.service:
2010-10-25 15:36:17 [29264] [2] DEBUG:  Octet string at 0x16182c30:
2010-10-25 15:36:17 [29264] [2] DEBUG:    len:  9
2010-10-25 15:36:17 [29264] [2] DEBUG:    size: 10
2010-10-25 15:36:17 [29264] [2] DEBUG:    immutable: 0
2010-10-25 15:36:17 [29264] [2] DEBUG: data: 74 72 61 6e 73 66 65 72 31 transfer1
2010-10-25 15:36:17 [29264] [2] DEBUG:  Octet string dump ends.
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.account:
2010-10-25 15:36:17 [29264] [2] DEBUG: sms.id: cbbcf8d6-bf39-4144-b31c-507610864e2c
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.sms_type: 2
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.mclass: 1
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.mwi: -1
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.coding: 0
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.compress: -1
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.validity: -1
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.deferred: -1
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.dlr_mask: 19
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.dlr_url:
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.pid: 0
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.alt_dcs: 1
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.rpi: -1
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.charset:
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.boxc_id:
2010-10-25 15:36:17 [29264] [2] DEBUG:  Octet string at 0x16182b20:
2010-10-25 15:36:17 [29264] [2] DEBUG:    len:  3
2010-10-25 15:36:17 [29264] [2] DEBUG:    size: 4
2010-10-25 15:36:17 [29264] [2] DEBUG:    immutable: 0
2010-10-25 15:36:17 [29264] [2] DEBUG: data: 76 6d 61 vma
2010-10-25 15:36:17 [29264] [2] DEBUG:  Octet string dump ends.
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.binfo:
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.msg_left: -1
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.split_parts: (nil)
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.priority: 0
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.resend_try: -1
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.resend_time: -1
2010-10-25 15:36:17 [29264] [2] DEBUG:  sms.meta_data:
2010-10-25 15:36:17 [29264] [2] DEBUG:  Octet string at 0x16182af0:
2010-10-25 15:36:17 [29264] [2] DEBUG:    len:  6
2010-10-25 15:36:17 [29264] [2] DEBUG:    size: 1024
2010-10-25 15:36:17 [29264] [2] DEBUG:    immutable: 0
2010-10-25 15:36:17 [29264] [2] DEBUG: data: 3f 73 6d 70 70 3f ?smpp?
2010-10-25 15:36:17 [29264] [2] DEBUG:  Octet string dump ends.
2010-10-25 15:36:17 [29264] [2] DEBUG: Msg object ends.

Thank for any advice or explanation.

Slavoj.

Reply via email to