[Kamailio-Users] [REQ, $] db_rest (or db_http) module for database access
Henning Westerholt
henning.westerholt at 1und1.de
Tue Jun 23 10:03:28 CEST 2009
On Dienstag, 23. Juni 2009, Konstantin Cherkasov wrote:
> Our company seeking for programmer who can create module for flexible
> database access.
>
> I call it db_rest (or db_http). This module must provide internal database
> API for other modules like db_auth. For access to external data it must use
> HTTPS-server and use REST-style data access
> (http://en.wikipedia.org/wiki/Representational_State_Transfer).
>
> Instead of making query like "SELECT f1,f2,f3 FROM tableA WHERE f4 =
> 'somevalue'" it must call HTTPS-server like this:
> GET http://hostname/database/tableA&c=f1,f2,f3&k=f4&op=eq&v=somevalue
Hello Constantin,
you probably already investigated this, but are you aware of the http_query
function in the utils module?
http://www.kamailio.org/docs/modules/1.5.x/utils.html#id2454145
If this don't meet your requirements yet, perhaps it can be extended?
Henning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090623/b7606f30/attachment.htm>
More information about the sr-users
mailing list