[Users] avp_db_query doesn't work with DBTEXT???

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Apr 19 09:47:09 CEST 2007


Hi Daryl,

DBTEXT engine does not support raw queries and avp_db_query is based on 
such queries.

regards,
bogdan

Daryl Sanders wrote:
> I cannot seem to get avp_db_query to work with dbtext.  My query looks
> like this..
>
> avp_db_query("SELECT uuid FROM subscriber WHERE username = '$rU'",
> "$avp(s:callee_uuid)");
>
> I receive the following error: avpops:db_query_avp: error - cannot do 
> the query
>
> Are there any other options for doing a query on a dbtext table from
> within the config?
>
> Thanks,
> Daryl
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>





More information about the sr-users mailing list