[Users] AVPops: inconsistent usage of DB scheme

Daniel-Constantin Mierla daniel at voice-system.ro
Thu Jun 1 17:59:25 CEST 2006


Hello,

if you want to play with the development version (next stable release), 
take a look at avp_db_query(), it is easier to use when loading from 
custom database tables.

http://openser.org/docs/modules/1.1.x/avpops.html#AEN268

Cheers,
Daniel


On 06/01/06 09:10, Franz Edler wrote:
> Hi,
> again I need some help from AVPops-experts.
>
> I have created a table for P-Associated-URI - parameter (addressed via
> uuid).
> 	CREATE TABLE associated_uris (
> 	  auth_user varchar(64) NOT NULL default '',
> 	  id varchar(32) NOT NULL default '',
> 	  uri varchar(128) NOT NULL default '',
> 	  type integer NOT NULL default '0',
> 	  modified timestamp(14) NOT NULL,
> 	  PRIMARY KEY (auth_user, id)
> 	) TYPE=MyISAM;
>
> I also have created the following db-scheme:
> 	
> modparam("avpops","db_scheme","P-assoc:uuid_col=auth_user;value_col=id;value
> _type=string;table=associated_uris")
>
> When I access the table with 
> 	avp_db_load("$auth-user","i:/$P-assoc"); 
>
> I get the error:
> 	0(0) ERROR:avpops:parse_avp_db: inconsistent usage of DB scheme
> without complet specification of AVP name
>  	0(0) ERROR:avpops:fixup_db_avp: parse failed
>
> Any help appreciated.
> Franz
>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the Users mailing list