[SR-Users] error using avp_db_load with mongodb

Sebastian Damm damm at sipgate.de
Wed Jul 26 18:58:36 CEST 2017


Hi,

I've seen this before, but with MySQL. Kamailio is pretty strict with
data types of database fields. IIRC I tried to use it with a view and
the view returned a string value where Kamailio expected an integer
and threw the same error. So maybe you might want to check the
reference structure of the usr_preferences table under
https://github.com/kamailio/kamailio/blob/master/utils/kamctl/mongodb/kamailio/usr_preferences.json
with your local structure.

HTH
Sebastian



More information about the sr-users mailing list