Browse Source

init amqp for registrar cache flush

3.20
lazedo 11 years ago
parent
commit
7c331b97a7
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      kamailio/default.cfg

+ 7
- 0
kamailio/default.cfg View File

@ -662,6 +662,13 @@ event_route[kazoo:mod-init]
#!endif #!endif
#!ifdef REGISTRAR-ROLE
$var(payload) = "{ 'exchange' : 'callmgr' , 'type' : 'topic', 'queue' : 'MSG-FLUSH-MY_HOSTNAME', 'routing' : 'registration.flush.*', 'auto_delete' : 1, 'durable' : 0, 'no_ack' : 1, 'wait_for_consumer_ack' : 0 }";
kazoo_subscribe("$var(payload)");
#!endif
} }
event_route[kazoo:consumer-event] event_route[kazoo:consumer-event]


Loading…
Cancel
Save