I googled and could not find anything about the subject. This appeared after a server crash and I could resolve it by wiping the message spool directory entirely for a fresh start. Can it be due to a corrupted store file? Can the code be more specific on which one so that we don't wipe the store entirely?
2020-02-06 19:52:02 [108] [0] INFO: Kannel bearerbox II version 1.4.4 starting 2020-02-06 19:52:02 [108] [0] PANIC: gw/bearerbox.c:664: dispatch_into_queue: Assertion `msg_type(msg) == sms' failed. 2020-02-06 19:52:02 [108] [0] PANIC: bearerbox(gw_backtrace+0xe0) [0x7f9cf6c9bb80] 2020-02-06 19:52:02 [108] [0] PANIC: bearerbox(gw_panic+0x167) [0x7f9cf6c9bcf7] 2020-02-06 19:52:02 [108] [0] PANIC: bearerbox(+0x13549) [0x7f9cf6c13549] 2020-02-06 19:52:02 [108] [0] PANIC: bearerbox(+0x50647) [0x7f9cf6c50647] 2020-02-06 19:52:02 [108] [0] PANIC: bearerbox(+0x5038e) [0x7f9cf6c5038e] 2020-02-06 19:52:02 [108] [0] PANIC: bearerbox(+0x50364) [0x7f9cf6c50364] 2020-02-06 19:52:02 [108] [0] PANIC: bearerbox(+0x50555) [0x7f9cf6c50555] 2020-02-06 19:52:02 [108] [0] PANIC: bearerbox(main+0xb4e) [0x7f9cf6c12c5e] 2020-02-06 19:52:02 [108] [0] PANIC: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f9cf4311b97] 2020-02-06 19:52:02 [108] [0] PANIC: bearerbox(_start+0x2a) [0x7f9cf6c1340a]
