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 [Kamailio and MongoDB]
tutorials:kamailio-and-mongodb [2019/01/07 09:24]
henningw small addtion
Line 52: 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 70: 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.txt ยท Last modified: 2019/01/07 09:24 by henningw