|
|
|
@ -3,9 +3,9 @@ |
|
|
|
|
|
|
|
####### defs ######## |
|
|
|
|
|
|
|
#!ifndef KAZOO_LOG_LEVEL |
|
|
|
#!define KAZOO_LOG_LEVEL L_INFO |
|
|
|
#!endif |
|
|
|
#!trydef KAZOO_LOG_LEVEL L_INFO |
|
|
|
|
|
|
|
#!trydef KZ_ASYNC_WORKERS 3 |
|
|
|
|
|
|
|
#!ifndef KAMAILIO_DBMS |
|
|
|
#!substdef "!KAMAILIO_DBMS!kazoo!g" |
|
|
|
@ -23,52 +23,30 @@ |
|
|
|
#!substdef "!MAX_WHILE_LOOPS!500!g" |
|
|
|
#!endif |
|
|
|
|
|
|
|
#!ifndef CHILDREN |
|
|
|
#!define CHILDREN 25 |
|
|
|
#!endif |
|
|
|
|
|
|
|
#!ifndef TCP_CHILDREN |
|
|
|
#!define TCP_CHILDREN 25 |
|
|
|
#!endif |
|
|
|
#!trydef CHILDREN 25 |
|
|
|
#!trydef TCP_CHILDREN 25 |
|
|
|
|
|
|
|
#!ifndef ANTIFLOOD_CACHE_PERIOD |
|
|
|
#!substdef "!ANTIFLOOD_CACHE_PERIOD!600!g" |
|
|
|
#!endif |
|
|
|
|
|
|
|
#!ifndef MY_AMQP_MAX_CHANNELS |
|
|
|
#!define MY_AMQP_MAX_CHANNELS 25 |
|
|
|
#!endif |
|
|
|
#!trydef MY_AMQP_MAX_CHANNELS 25 |
|
|
|
#!trydef MY_AMQP_CONSUMER_PROCESSES 4 |
|
|
|
#!trydef MY_AMQP_CONSUMER_WORKERS 16 |
|
|
|
#!trydef MY_AMQP_HEARTBEATS 5 |
|
|
|
|
|
|
|
#!ifndef MY_AMQP_CONSUMER_PROCESSES |
|
|
|
#!define MY_AMQP_CONSUMER_PROCESSES 4 |
|
|
|
#!endif |
|
|
|
|
|
|
|
#!ifndef MY_AMQP_CONSUMER_WORKERS |
|
|
|
#!define MY_AMQP_CONSUMER_WORKERS 16 |
|
|
|
#!endif |
|
|
|
|
|
|
|
#!ifndef MY_AMQP_HEARTBEATS |
|
|
|
#!define MY_AMQP_HEARTBEATS 5 |
|
|
|
#!endif |
|
|
|
|
|
|
|
#!ifndef BLF_USE_SINGLE_DIALOG |
|
|
|
#!define BLF_USE_SINGLE_DIALOG 1 |
|
|
|
#!endif |
|
|
|
#!trydef BLF_USE_SINGLE_DIALOG 1 |
|
|
|
|
|
|
|
#!ifndef MY_AMQP_ZONE |
|
|
|
#!substdef "!MY_AMQP_ZONE!local!g" |
|
|
|
#!endif |
|
|
|
|
|
|
|
#!ifndef PRESENCE_RESET_BLF_DEFER_UPDATE |
|
|
|
#!define PRESENCE_RESET_BLF_DEFER_UPDATE 0 |
|
|
|
#!endif |
|
|
|
#!trydef PRESENCE_RESET_BLF_DEFER_UPDATE 0 |
|
|
|
|
|
|
|
#!ifndef MY_AMQP_PUA_MODE |
|
|
|
#!ifdef PRESENCE_ROLE |
|
|
|
#!define MY_AMQP_PUA_MODE 1 |
|
|
|
#!trydef MY_AMQP_PUA_MODE 1 |
|
|
|
#!else |
|
|
|
#!define MY_AMQP_PUA_MODE 0 |
|
|
|
#!endif |
|
|
|
#!trydef MY_AMQP_PUA_MODE 0 |
|
|
|
#!endif |
|
|
|
|
|
|
|
#!ifndef MEDIA_SERVERS_HASH_SIZE |
|
|
|
|