[Kamailio-Users] dbtext, domain and caching

Andreas Granig agranig at sipwise.com
Mon Nov 16 15:10:21 CET 2009


Hi,

I was trying to use caching in domain module with the dbtext backend, 
but on startup I get the error

	ERROR:domain:reload_domain_table: Database problem

Looks like something is wrong with the column type when it's checked in line

	if ((ROW_N(row) == 1) && (VAL_TYPE(val) == DB_STRING)) { ... }

The db file for domain module looks like:

	id(int) domain(str) last_modified(int)
	1:test.local:0

Any hints on that? Probably a problem with dbtext module, since it works 
with mysql?

Best regards,
Andreas







More information about the sr-users mailing list