asterisk/res/stasis
Joshua C. Colp 1323730f6c stasis / manager / ari: Better filter messages.
Previously both AMI and ARI used a default route on
their stasis message router to handle some of the
messages for publishing out their respective
connection. This caused messages to be given to
their subscription that could not be formatted
into AMI or JSON.

This change adds an API call to the stasis message
router which allows a default route to be set as well
as formatters that the default route is expecting.
This allows both AMI and ARI to specify that their
default route only wants messages of their given
formatter. By doing so stasis can more intelligently
filter at publishing time so that they do not receive
messages which will not be turned into AMI or JSON.

ASTERISK-28244

Change-Id: I65272819a53ce99f869181d1d370da559a7d1703
2019-01-17 14:51:47 -04:00
..
app.c stasis / manager / ari: Better filter messages. 2019-01-17 14:51:47 -04:00
app.h ari: Implement 'debug all' and request/response logging 2017-01-23 10:25:58 -07:00
command.c res_stasis: Reduce RAII_VAR usage. 2018-01-08 18:51:45 -05:00
command.h ARI: Fix a crash caused by hanging during playback to a channel in a bridge 2014-08-22 16:52:51 +00:00
control.c stasis: Use an implementation specific channel snapshot cache. 2018-11-26 18:43:53 +00:00
control.h res_stasis: Handle re-enter stasis bridge with swap channel. 2016-04-20 15:44:30 -05:00
messaging.c VECTOR: Passing parameters with side effects to macros is dangerous. 2018-06-21 16:10:52 -06:00
messaging.h Clean up files that do not end with newlines 2014-08-21 14:52:28 +00:00
stasis_bridge.c res_stasis: Reduce RAII_VAR usage. 2018-01-08 18:51:45 -05:00
stasis_bridge.h ARI: Make mixing bridges propagate linkedids and accountcodes. 2014-07-09 16:34:51 +00:00