[OpenSIPS-Devel] [opensips] drouting: failed to work with nonSQL database (#173)

Ovidiu Sas notifications at github.com
Fri May 2 16:10:59 CEST 2014


I tested with mongodb and it doesn't work because "id" must be retrieved as "_id" for mongo.
If I change (dr_db_def.c)
<code>
#define ID_DRD_COL       "_id"
</code>
it works ok.

It seems that we need to add a new module param: id_column.
Or to add a flag that will flip the name of id column between "id" and "_id".


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/173#issuecomment-42036031
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140502/88676e2e/attachment.htm>


More information about the Devel mailing list