Liking cljdoc? Tell your friends :D

Change Log

Unreleased

[1.0.4] - 2021-02-09

Added

  • Added a new optional parameter - on-close to both listen and connect functions. If given, this zero arity function will be called after connection to freeswitch is closed, just before :closed? promise is delivered. This can be useful in event driven designs.

1.0.3 - 2021-02-05

Changed

  • Fixed a concurrency related bug where pushing large amount of messages through same connection can make the responses be processed out of order and crash freeswitch-clj.

1.0.2 - 2021-01-29

Changed

  • Fixed a major concurrent access bug. Connections can now be safely accessed from different threads.

1.0.1 - 2021-01-29

Changed

  • Fixed a major bug where trying to use network disconnected connections were not raising errors and were hanging instead. Such situations now properly raise IOException .

1.0.0 - 2021-01-28

Added

  • Added a new parameter - :pre-init-fn to listen function. This can help avoid unpredictability of event handling in freeswitch-outbound mode.
  • Added a new parameter - :async-thread-type to listen . This parameter determines the type of threads(2 in total) to spawn for event dispatch and handling. Valid values are - :thread and :go-block. By default, :thread is used. In previous versions, go-block was used for dispatch, while thread was used for handler execution.
  • Added a new parameter - :async-thread-type to connect function. This is analogous to the new parameter for `listen.
  • Added a docker based testing environment.
  • Added test to check correct behavior of listen function, with and without :pre-init-fn.

0.2.3 - 2021-01-28

Changed

  • Handler execution and subsequent connection closing is now wrapped in a try-finally block so that handler crash does not keep the connection open.

0.2.2 - 2019-06-30

Changed:

  • Test and doc dependencies are moved to seperate profiles.
  • Test is now configurable with FS\_HOST, FS\_PORT and FS\_PASS environment variables.
  • Changed doc format to markdown.
  • Changed documentation links from github pages to cljdoc.org.
  • Updated project dependencies.
  • Changed default log level to be :warn so that user application logs aren't bombarded with debug information, fixing issue #1.
  • Fixed issue #4.

Added:

  • Added a call-origination example to tutorial.
  • Added a way to pass custom :event-uuid to req-call-execute function.
  • Added a :conn-timeout keyword argument to connect function.

Removed:

  • Deleted some unused requirements from namespace declaration.

0.2.1 - 2018-01-18

Changed:

  • Fixed '+' disappearing from phone numbers in event header values.
  • Fixed channel-data header values not being decoded in outbound handler.

0.2.0 - 2017-11-18

Changed:

  • Event handling system has been rewritten using core.async.
  • Event matching system has beeen generalized. Now events can be matched against arbitrary header values.
  • req-sendmsg and req-call-execute has been thoroughly tested.
  • Most of the function signatures involing events has been changed.

0.1.0 - 2017-11-14

Initial commit.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close