Browse Source

allow configuration of presence amqp publish

4.1
Luis Azedo 8 years ago
parent
commit
80be63891c
2 changed files with 5 additions and 1 deletions
  1. +4
    -0
      kamailio/defs.cfg
  2. +1
    -1
      kamailio/presence-role.cfg

+ 4
- 0
kamailio/defs.cfg View File

@ -83,4 +83,8 @@
#!endif
#!endif
#!ifndef PRESENCE_AMQP_PUBLISH
#!define PRESENCE_AMQP_PUBLISH 1
#!endif
# vim: tabstop=4 softtabstop=4 shiftwidth=4 expandtab

+ 1
- 1
kamailio/presence-role.cfg View File

@ -53,7 +53,7 @@ modparam("nat_traversal", "keepalive_state_file", "KAZOO_DATA_DIR/keep_alive_sta
modparam("nat_traversal", "keepalive_interval", 45)
#!endif
kazoo.presence_sync_amqp = 0 descr "sync subscriptions to amqp"
kazoo.presence_sync_amqp = PRESENCE_AMQP_PUBLISH descr "sync subscriptions to amqp"
#!ifdef FAST_PICKUP_ROLE
#!include_file "fast-pickup-role.cfg"


Loading…
Cancel
Save