Hi,

I've tried to send message via standard SMSBOX (CGI push) and when it
is being queued sms_type field is present (value 2).

But if message is pushed via open SMPPBOX, sms_type field is missing
and Bearerbox crashes during restart. So it must be issue with open
SMPPBOX.

As Alex wrote, probably sms_type field is empty so it makes problems
with store.

Tomasz


> A similar problem happens with sqlbox if you don't set the "sms_type" to "2"
> when submitting mt's: everything works fine until you restart the service,
> and then when bearerbox tries to restore the queue from the store it fails
> with those errors.

> I don't know if opensmppbox is leaving the sms type empty, if is this a bug
> or misconfiguration (I've no experience with opensmppbox so far myself) but
> perhaps the sqlbox issue points you on the right direction?

> Regards,

> Alex

> On Mon, Aug 9, 2010 at 7:14 PM, Tomasz <[email protected]> wrote:

>> Hi,
>>
>> Open SMPPBOX haven't its own queue - I submit messages to Bearerbox
>> via open SMPPBOX from other system. But sometimes these messages are
>> being queued by Bearerbox in spool.
>>
>> But when Bearerbox is restarted while at spool there are some messages, it
>> PANICs and won't run.
>>
>> The problem is because messages at spool haven't Type field. They have
>> SMS ID, Time, Sender, Receiver, SMSC ID, BOX ID,  UDH, Message fields
>> but Type field is empty.
>>
>> Bearerbox during start informs about it:
>>
>> 2010-08-09 17:49:55 [29887] [0] PANIC: Not handled sms_type within store!
>>
>> I didn't tried submitting messages to BEARERBOX from a standard SMSBOX
>> yet, only by open SMPPBOX so I don't know at the moment if this
>> problem happens only when using open SMPPBOX.
>>
>> @Nikos Sorry for adressing you private, it was my mistake.
>>
>> Tomasz
>>
>> > Please address list.
>>
>> > I didn't know that opensmppbox has now a queue. Clearly you shouldn't
>> have
>> > overlapping spools between bb and openssmppbox. Configure different spool
>> > areas for each one.
>>
>> > BR,
>> > Nikos
>> > ----- Original Message -----
>> > From: "Tomasz" <[email protected]>
>> > To: "Nikos Balkanas" <[email protected]>
>> > Sent: Monday, August 09, 2010 7:55 PM
>> > Subject: Re: Problem with spool store - missing sms_type
>>
>>
>> > Hi,
>>
>> > Yes, I know that they are corrupted, but all msgs in spool are always
>> > corrupted   I removed them, but all new messages queued at spool are
>> > corrupted.
>>
>> > They are probably incorrectly saved by Bearerbox/openSMPPBOX.
>>
>> > The problem starts when I want to restart Bearerbox - it displays
>> > PANICs and won't start until I remove spool manually. It causes that I
>> > can't restart Bearerbox if there is some queue in spool...
>>
>> > Tomasz
>>
>>
>> > W Twoim liœcie datowanym 9 sierpnia 2010 (18:34:44) moΏna przeczytaζ:
>>
>> >> Hi,
>>
>> >> You have a corrupted SMS in your spool. Remove it and you will be fine.
>>
>> >> BR,
>> >> Nikos
>> >> ----- Original Message -----
>> >> From: "Tomasz" <[email protected]>
>> >> To: <[email protected]>
>> >> Sent: Monday, August 09, 2010 7:30 PM
>> >> Subject: Problem with spool store - missing sms_type
>>
>>
>> >> Hi,
>>
>> >> Today I've found some critical error with kannel spool store-type.
>> >> When I have messages in a queue (spool) and restart Bearerbox I get
>> >> Panic:
>>
>> >> 2010-08-09 17:49:55 [29887] [0] PANIC: Not handled sms_type within
>> store!
>> >> 2010-08-09 17:49:55 [29887] [0] PANIC:
>> >> /usr/local/sbin/bearerbox(gw_panic+0x14b) [0x487f5b]
>> >> 2010-08-09 17:49:55 [29887] [0] PANIC: /usr/local/sbin/bearerbox
>> >> [0x419721]
>> >> 2010-08-09 17:49:55 [29887] [0] PANIC: /usr/local/sbin/bearerbox
>> >> [0x419144]
>> >> 2010-08-09 17:49:55 [29887] [0] PANIC: /usr/local/sbin/bearerbox
>> >> [0x419166]
>> >> 2010-08-09 17:49:55 [29887] [0] PANIC: /usr/local/sbin/bearerbox
>> >> [0x419689]
>> >> 2010-08-09 17:49:55 [29887] [0] PANIC:
>> >> /usr/local/sbin/bearerbox(main+0x80f)
>> >> [0x40f22f]
>> >> 2010-08-09 17:49:55 [29887] [0] PANIC:
>> >> /lib/libc.so.6(__libc_start_main+0xe6) [0x7f5cdfd3b1a6]
>> >> 2010-08-09 17:49:55 [29887] [0] PANIC: /usr/local/sbin/bearerbox
>> >> [0x40db09]
>>
>> >> When I checked store-status (via http admin) I could see that "Type"
>> field
>> >> of all messages was empty. All messages were submitted to Bearerbox
>> >> via open SMPPBOX.
>>
>> >> My Kannel version is from latest SVN (Rev. 4837).
>>
>> >> Tomasz
>>
>>
>>


Reply via email to