Section 'XXXXXX' lacks type

I’m testing the use of static SQL-config.

Everything seems to work OK, exept these warnings:

Sep 14 23:30:08 WARNING[10597]: chan_sip.c:12609 reload_config: Section ‘157217030’ lacks type
Sep 14 23:30:08 WARNING[10597]: chan_sip.c:12609 reload_config: Section ‘TISP-157217030’ lacks type

This occurs even if the ‘type’ variable is set for the sections.
If I remove the ‘type’ variable for the sections, I get the warning-messages twice.

SELECT *
FROM ast_config
WHERE var_name LIKE ‘type’

filename category var_name var_val
sip.conf TISP-157217030 type peer
sip.conf 157217030 type friend

Is it a bug?
Any idea, anyone?