|
|
@ -165,8 +165,7 @@ modparam("kazoo", "amqp_max_channels", MY_AMQP_MAX_CHANNELS) |
|
|
#!else |
|
|
#!else |
|
|
modparam("kazoo", "amqp_max_channels", 100) |
|
|
modparam("kazoo", "amqp_max_channels", 100) |
|
|
#!endif |
|
|
#!endif |
|
|
modparam("kazoo", "amqp_internal_loop_count", 1); |
|
|
|
|
|
modparam("kazoo", "amqp_consumer_loop_count", 4); |
|
|
|
|
|
|
|
|
modparam("kazoo", "amqp_query_timeout_avp", "$avp(kz_timeout)"); |
|
|
|
|
|
|
|
|
####### Role Configurations ########## |
|
|
####### Role Configurations ########## |
|
|
#!ifdef DISPATCHER-ROLE |
|
|
#!ifdef DISPATCHER-ROLE |
|
|
@ -199,6 +198,9 @@ include_file "antiflood-role.cfg" |
|
|
#!ifdef TRAFFIC-FILTER-ROLE |
|
|
#!ifdef TRAFFIC-FILTER-ROLE |
|
|
include_file "traffic-filter-role.cfg" |
|
|
include_file "traffic-filter-role.cfg" |
|
|
#!endif |
|
|
#!endif |
|
|
|
|
|
#!ifdef PUSHER-ROLE |
|
|
|
|
|
include_file "pusher-role.cfg" |
|
|
|
|
|
#!endif |
|
|
|
|
|
|
|
|
####### Permissions module ########## |
|
|
####### Permissions module ########## |
|
|
loadmodule "permissions.so" |
|
|
loadmodule "permissions.so" |
|
|
@ -510,6 +512,10 @@ route[INTERNAL_TO_EXTERNAL_RELAY] |
|
|
} |
|
|
} |
|
|
#!endif |
|
|
#!endif |
|
|
|
|
|
|
|
|
|
|
|
#!ifdef PUSHER-ROLE |
|
|
|
|
|
route(INTERNAL_TO_EXTERNAL_PUSH); |
|
|
|
|
|
#!endif |
|
|
|
|
|
|
|
|
remove_hf_re("^X-.*"); |
|
|
remove_hf_re("^X-.*"); |
|
|
|
|
|
|
|
|
t_on_reply("EXTERNAL_REPLY"); |
|
|
t_on_reply("EXTERNAL_REPLY"); |
|
|
|