User Tools

Site Tools


tutorials:kamailio-and-mongodb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:kamailio-and-mongodb [2015/09/08 21:38]
miconda [DB URL in Kamailio Config]
tutorials:kamailio-and-mongodb [2019/01/07 09:24] (current)
henningw small addtion
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 51: Line 52:
 > db.getCollection("​version"​).insert({table_name:​ "​watchers",​ table_version:​ NumberInt(3) }) > db.getCollection("​version"​).insert({table_name:​ "​watchers",​ table_version:​ NumberInt(3) })
  
-db.getCollection("​version"​).insert({table_name:​ "​active_watchers",​ table_version:​ NumberInt(11) })+db.getCollection("​version"​).insert({table_name:​ "​active_watchers",​ table_version:​ NumberInt(11) })
  
 </​code>​ </​code>​
Line 69: Line 70:
  
 ==== DB URL ==== ==== DB URL ====
 +
 +You need to load the "​db_mongodb"​ module in the configuration.
  
 The corresponding database URL in kamailio.cfg:​ The corresponding database URL in kamailio.cfg:​
tutorials/kamailio-and-mongodb.1441741100.txt.gz ยท Last modified: 2015/09/08 21:38 by miconda