]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
[mod_kazoo] add configuration for queue timeouts
authorlazedo <luis.azedo@factorlusitano.com>
Fri, 24 Jan 2020 16:39:51 +0000 (16:39 +0000)
committerlazedo <luis.azedo@factorlusitano.com>
Fri, 24 Jan 2020 16:39:51 +0000 (16:39 +0000)
commitbe9888d74cc5f75ea8edddd0fe4735ee851d7ad3
treee588d75226027bc00501b9cfa92652d0dd4ef977
parentc39a2b11ced83f5f09f1871f1085757d3b97f250
[mod_kazoo] add configuration for queue timeouts

* implements ei_queue_pop that calls
  switch_queue_trypop or switch_queue_pop_timeout
  depending on timeout value

* default for sender_timeout is set to 0
  to bring back previous behaviour of
  using switch_queue_trypop when fetching
  messages to be sent to erlang node
src/mod/event_handlers/mod_kazoo/kazoo_ei.h
src/mod/event_handlers/mod_kazoo/kazoo_ei_config.c
src/mod/event_handlers/mod_kazoo/kazoo_ei_utils.c
src/mod/event_handlers/mod_kazoo/kazoo_event_stream.c
src/mod/event_handlers/mod_kazoo/kazoo_node.c