messages getting stuck in store file

Steven König <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
hi,
we have a big problem with messages getting stuck in the store file of 
the bearerbox without beeing delivered.
We use the at_smsc with wavecom modems.
I've already check the entire mailing-list archives for any patch or 
answer. The only answer i found is to restart the bearerbox.
But this is not applicable because i can't restart the bearerbox every 
hour.

some status output of the gateway at [2008-07-09 16:05:56]:

   Status: running, uptime 0d 1h 27m 40s

   WDP: received 0 (0 queued), sent 0 (0 queued)

   SMS: received 2946 (0 queued), sent 2788 (0 queued), store size 6

   SMS: inbound 0.56 msg/sec, outbound 0.53 msg/sec

   DLR: 1581957 queued, using mysql storage

   Box connections:
       smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 1h 27m 39s)

   SMSC connections:
       d2_01    AT2[d2_01] (online 5154s, rcvd 594, sent 560, failed 
4,   queued 0 msgs)
       d2_02    AT2[d2_02] (online 5244s, rcvd 586, sent 554, failed 
2,   queued 0 msgs)
       d2_03    AT2[d2_03] (online 5244s, rcvd 583, sent 556, failed 
2,   queued 0 msgs)
       d2_04    AT2[d2_04] (online 5158s, rcvd 583, sent 555, failed 
2,   queued 0 msgs)
       d2_05    AT2[d2_05] (online 5242s, rcvd 600, sent 563, failed 
3,   queued 0 msgs)

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" 
"http://www.wapforum.org/DTD/wml_1.1.xml">

<wml>
 <card>
  <p>[SMS ID] [Type] [Time] [Sender] [Receiver] [SMSC ID] [BOX ID] [UDH] 
[Message]
[4ec562cf-9f20-4499-8dc4-69e108fac836] [MT-PUSH] [2008-07-09 14:42:20] 
[0815] [0049174xxxxxxxx] [] [] [] [some text here]
[31773daa-93bb-442d-8136-c8f1fce7d9bb] [MT-PUSH] [2008-07-09 14:42:20] 
[0815] [0049172xxxxxxx] [] [] [] [some other text here]
[7f69d121-6e04-450c-9a69-8cbb42f78d42] [MT-PUSH] [2008-07-09 14:42:44] 
[0815] [0049172xxxxxxx] [] [] [] [some other other text here]
[09e6edad-0c35-4a00-b647-094e5d409979] [MT-PUSH] [2008-07-09 14:42:35] 
[0815] [0049152xxxxxxxx] [] [] [] [some other other other text here]
  </p>
 </card>
</wml>

here is what i found in the core.log according to a send message and a 
message which was stuck:

stuck message:
2008-07-09 14:42:35 [30327] [12] DEBUG: boxc_receiver: sms received: 
0049152xxxxxxxxx

sent message:
2008-07-09 16:08:58 [30327] [12] DEBUG: boxc_receiver: sms received: 
0049172xxxxxxxxx
2008-07-09 16:09:09 [30327] [9] DEBUG: DLR[mysql]: Adding DLR 
smsc=d2_04, ts=245, src=0815, dst=0049172xxxxxxxx, mask=31, boxc=
2008-07-09 16:09:09 [30327] [9] DEBUG: sql: INSERT INTO dlr (smsc, ts, 
source, destination, service, url, mask, boxc, status) VALUES ('d2_04', 
'245', '0815', '0049172xxxxxxxx', 'customer1', 'dlr_url in here', '31', 
'', '0');

Is there anyone who can help me with that problem?
If more information is needed i can add additional debugging output in 
the source. but i don't really know where to put it.

Regards,
Steven

-- 
Steven König
Technik

Fastcom GmbH & Co. KG
Hardenbergstr. 12
D-10623 Berlin
Germany

Telefon: +49 30 31517 291
Mobile:  +49 176 21520 612
Telefax: +49 30 31517 296
Email: [email protected]
Web: http://www.fast-com.de
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.