# WITH_MONGO DB is for replacement of Local DB with Mongo DB #!define WITH_MONGODB # WITH_NDB_MONGODB is interface for accessing mongodb directly. #!define WITH_NDB_MONGODB #!define WITH_ANTIFLOOD # #!define WITH_MYSQL #!define WITH_TLS # - Local IP #!substdef "!IP_ADDR!192.168.2.105!g" # - SIP #!substdef "!SIP_PORT!5060!g" #!substdef "!SIP_TLS_PORT!5061!g" # - WEBSOCKET #!substdef "!WS_PORT!8080!g" #!substdef "!WSS_PORT!443!g" # - DB #!ifdef WITH_MONGODB # http://www.kamailio.org/wiki/tutorials/kamailio-and-mongodb #!define DBURL "mongodb://localhost/kamailio" # With User Name & Password # #!define DBURL "mongodb://username:password@localhost/kamailio" #!else #!define DBURL 'mysql://kamailio:kamailiorw@localhost/kamailio' #!endif # - LOG #!define DEBUG_LVL 2 # Yes to Log to a File, No for the Terminal #!define LOG_STDERR no