diff options
Diffstat (limited to 'res/res_stasis.c')
-rw-r--r-- | res/res_stasis.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/res/res_stasis.c b/res/res_stasis.c index e4ad97eae..b64f40ca9 100644 --- a/res/res_stasis.c +++ b/res/res_stasis.c @@ -594,6 +594,13 @@ int stasis_app_exec(struct ast_channel *chan, const char *app_name, int argc, int r; int command_count; + if (stasis_app_get_bridge(control)) { + /* Bridge is handling channel frames */ + control_wait(control); + control_dispatch_all(control, chan); + continue; + } + r = ast_waitfor(chan, MAX_WAIT_MS); if (r < 0) { |