Hi list

I have an ubuntu box with kannel 1.5.0 and opensmppbox (with mysql)
configured and i have two issues while trying to work with DLR.

The config for MT is like this

ESME -> Opensmppbox (SMSC) -> HTTP SMSC

First issue:
- When sending a MT, there is an automatic response from our provider and
kannel assumes that is a DLR. How can i reject that DLR with kannel? or
avoid receiving it as a DLR?

Second issue:
- While working DLR in another way (using php+mysql) i send DLR to kannel
HTTP SMSC working out good
2015-03-16 21:14:05 [5059] [11] DEBUG: HTTP[itagg]: Got request
`/dlr?&username=*&password=*&dlr-mask=1&dlr-mid=1&to=447742898855&text=DLR+test'
2015-03-16 21:14:05 [5059] [11] DEBUG: HTTP[itagg]: Received an HTTP request
2015-03-16 21:14:05 [5059] [11] DEBUG: DLR[mysql]: Looking for DLR
smsc=itagg, ts=1, dst=447742898855, type=1
2015-03-16 21:14:05 [5059] [11] DEBUG: sql: SELECT `mask`, `service`,
`url`, `source`, `destination`, `boxc` FROM `dlr` WHERE `smsc`=? AND
`ts`=?  LIMIT 1
2015-03-16 21:14:05 [5059] [11] DEBUG: column=mask buffer_type=3
max_length=0 length=10
2015-03-16 21:14:05 [5059] [11] DEBUG: column=service buffer_type=253
max_length=0 length=40
2015-03-16 21:14:05 [5059] [11] DEBUG: column=url buffer_type=253
max_length=0 length=255
2015-03-16 21:14:05 [5059] [11] DEBUG: column=source buffer_type=253
max_length=0 length=40
2015-03-16 21:14:05 [5059] [11] DEBUG: column=destination buffer_type=253
max_length=0 length=40
2015-03-16 21:14:05 [5059] [11] DEBUG: column=boxc buffer_type=253
max_length=0 length=40
2015-03-16 21:14:05 [5059] [11] DEBUG: DLR[mysql]: created DLR message for
URL <>
2015-03-16 21:14:05 [5059] [11] DEBUG: removing DLR from database
2015-03-16 21:14:05 [5059] [11] DEBUG: sql: DELETE FROM `dlr` WHERE
`smsc`=? AND `ts`=?  LIMIT 1
2015-03-16 21:14:05 [5059] [11] DEBUG: HTTP[itagg]: Received DLR for
DLR-URL <(null)>
2015-03-16 21:14:05 [5059] [11] DEBUG: HTTP[itagg]: Sending reply
2015-03-16 21:14:05 [5059] [11] DEBUG: HTTP: Resetting HTTPClient for
`181.197.132.13'.
2015-03-16 21:14:05 [5059] [11] DEBUG: HTTP[itagg]: Destroying client
information

But when opensmppbox receive DLR it crashes.

2015-03-16 22:16:33 [42476] [1] INFO: We received an SMS message.
2015-03-16 22:16:33 [42476] [1] PANIC: gwlib/octstr.c:2549:
seems_valid_real: Assertion `ostr != NULL' failed. (Called from
gwlib/octstr.c:1073:octstr_search.)
2015-03-16 22:16:33 [42476] [1] PANIC: opensmppbox(gw_backtrace+0xae)
[0x45aafe]
2015-03-16 22:16:33 [42476] [1] PANIC: opensmppbox(gw_panic+0x16f)
[0x45ac7f]
2015-03-16 22:16:33 [42476] [1] PANIC: opensmppbox() [0x45cb72]
2015-03-16 22:16:33 [42476] [1] PANIC: opensmppbox(octstr_search+0x27)
[0x45e827]
2015-03-16 22:16:33 [42476] [1] PANIC: opensmppbox(octstr_split+0x98)
[0x460508]
2015-03-16 22:16:33 [42476] [1] PANIC: opensmppbox() [0x40d317]
2015-03-16 22:16:33 [42476] [1] PANIC: opensmppbox() [0x450d26]
2015-03-16 22:16:33 [42476] [1] PANIC:
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8182) [0x7fc88cb11182]
2015-03-16 22:16:33 [42476] [1] PANIC:
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fc88c537efd]

I will appreciate any help to solve this issue.

Thank you.


*Best regards / Saludos cordiales*

*Ricardo Antonio Gomez Lollet*
*Phone number / Telefono: +50763518542*

Reply via email to