Hi again,
I managed to get the DLR running for CIMD2, but now the smsbox kills itself
if it gets the order to open the dlrurl to submit the DLR.
Here both outputs (Bearer&SMS-box):
BearerBox Output:
DEBUG: smscconn_sender (CIMD2:<IP ADDR>:<PORT>:<USER>): sending message
DEBUG: CIMD2 sending message. Text:
DEBUG: Octet string at 0x8126680:
DEBUG: len: 3
DEBUG: size: 4
DEBUG: immutable: 0
DEBUG: data: 62 6c 61 bla
DEBUG: Octet string dump ends.
DEBUG: After CIMD2 encoding:
DEBUG: Octet string at 0x8126680:
DEBUG: len: 3
DEBUG: size: 4
DEBUG: immutable: 0
DEBUG: data: 62 6c 61 bla
DEBUG: Octet string dump ends.
DEBUG: Adding DLR smsc=CIMD2:<IP ADDR>:<PORT>:<USER>, ts=030203224454, src=234,
dst=<PHONE>, mask=31
DEBUG: sql: INSERT INTO dlr (smsc, ts, source, destination, service, url, mask,
boxcid, status) VALUES ('CIMD2:<IP
ADDR>:<PORT>:<USER>', '030203224454', '234', '<PHONE', '234',
'http://hostname/blabla?res=%d', '31', '(null)', '0');
DEBUG: sql: SELECT mask, service, url, source, boxcid FROM dlr WHERE smsc='CIMD2:<IP
ADDR>:<PORT>:<USER>' AND ts='030203224454';
DEBUG: Found entry, row[0]=31, row[1]=234, row[2]=http://hostname/blabla?res=%d,
row[3]=234, row[4]=(null)
DEBUG: created DLR message for URL <http://hostname/blabla?res=%d>
DEBUG: removing DLR from database
DEBUG: smscconn (CIMD2:<IP ADDR>:<PORT>:<USER>): new message received
ERROR: Could not route message to smsbox id <(null)>, smsbox is gone!
DEBUG: boxc_sender: sent message to <127.0.0.1>
INFO: Connection closed by the box <127.0.0.1>
SMSBox Output:
DEBUG: HTTP: Destroying HTTPClient area 0x80df1b8.
DEBUG: HTTP: Destroying HTTPClient for `10.1.1.1'.
INFO: Starting delivery report <234> from <234>
PANIC: gwlib/octstr.c:2119: seems_valid_real: Assertion `ostr != NULL' failed.
(Called from
gwlib/octstr.c:1343:octstr_split_words.)
Any help would be appreciated
Greetings
tom Weber