diff options
author | Joshua Colp <jcolp@digium.com> | 2016-04-19 09:42:50 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-04-19 09:42:50 -0500 |
commit | 47adff8977ea1fe8c8259ff4766e3a7440c7bb27 (patch) | |
tree | e93a51203607566b4d4b04bee93e56f4b374ffbb /res | |
parent | a048a0ffbdce32e62e9a05b66b3931c964e23ed2 (diff) | |
parent | 724acb6ce72b931ccff5d6df586db941dea87b2a (diff) |
Merge "stasis_bridge.c: Update stasis bridge push diagnostic messages." into 13
Diffstat (limited to 'res')
-rw-r--r-- | res/stasis/stasis_bridge.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/res/stasis/stasis_bridge.c b/res/stasis/stasis_bridge.c index e41088134..f97673d78 100644 --- a/res/stasis/stasis_bridge.c +++ b/res/stasis/stasis_bridge.c @@ -167,10 +167,15 @@ static int bridge_stasis_push(struct ast_bridge *self, struct ast_bridge_channel if (!control && !stasis_app_channel_is_internal(bridge_channel->chan)) { /* channel not in Stasis(), get it there */ + ast_debug(1, "Bridge %s: pushing non-stasis %p(%s) setup to come back in under stasis\n", + self->uniqueid, bridge_channel, ast_channel_name(bridge_channel->chan)); + /* Attach after-bridge callback and pass ownership of swap_app to it */ if (ast_bridge_set_after_callback(bridge_channel->chan, bridge_stasis_run_cb, NULL, NULL)) { - ast_log(LOG_ERROR, "Failed to set after bridge callback\n"); + ast_log(LOG_ERROR, + "Failed to set after bridge callback for bridge %s non-stasis push of %s\n", + self->uniqueid, ast_channel_name(bridge_channel->chan)); return -1; } |