This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorials:kamailio-and-mongodb [2015/09/08 21:32] miconda |
tutorials:kamailio-and-mongodb [2015/09/08 21:38] miconda [Kamailio and MongoDB] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Kamailio and MongoDB ====== | ====== Kamailio and MongoDB ====== | ||
+ | Details about how to use Kamailio with a MongoDB backend. | ||
===== Kamailio Database ===== | ===== Kamailio Database ===== | ||
Line 59: | Line 60: | ||
==== Other Tables ==== | ==== Other Tables ==== | ||
- | MongoDB doesn' | + | MongoDB doesn' |
- | ===== DB URL in Kamailio Config ===== | + | Anyhow, if you want, you can create the collections in advance, using: |
+ | |||
+ | < | ||
+ | > db.createCollection(" | ||
+ | </ | ||
+ | ===== Kamailio Config ===== | ||
+ | |||
+ | ==== DB URL ==== | ||
The corresponding database URL in kamailio.cfg: | The corresponding database URL in kamailio.cfg: | ||
Line 75: | Line 83: | ||
< | < | ||
#!define DBURL " | #!define DBURL " | ||
+ | </ | ||
+ | |||
+ | ==== Other Parameters ==== | ||
+ | |||
+ | If you store location records in MongoDB, set the following parameter for usrloc modules: | ||
+ | |||
+ | < | ||
+ | modparam(" | ||
</ | </ |