diff options
author | Richard Mudgett <rmudgett@digium.com> | 2016-04-15 16:51:58 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2016-04-15 20:26:14 -0500 |
commit | af114edb8bde5257a2e7511c6120e175f673a229 (patch) | |
tree | 0d7dfbc55f1a992d9cfa0b2b82fb95e82e4e8081 | |
parent | f7a434fa6d11e0d3d97f475ba9921a26b386add1 (diff) |
stasis_bridge.c: Update stasis bridge push diagnostic messages.
Change-Id: I195b14994c9dcccb9452491ca20a885d2a54605a
-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 1f501cad1..bfd287226 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; } |