[Kamailio-Users] dbtext, domain and caching
Daniel-Constantin Mierla
miconda at gmail.com
Mon Nov 16 16:34:06 CET 2009
On 16.11.2009 15:15 Uhr, Andreas Granig wrote:
> Btw, kam 1.5.2 is used.
>
> Andreas Granig wrote:
>> 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)) { ... }
it could be. Probably kamailio is returning DB_STR. I have to check the
code.
Cheers,
Daniel
>>
>> 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
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
--
Daniel-Constantin Mierla
* http://www.asipto.com/
More information about the sr-users
mailing list