[asterisk-commits] stasis bridge.c: Update stasis bridge push diagnostic messages. (asterisk[13])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 19 09:42:50 CDT 2016


Joshua Colp has submitted this change and it was merged.

Change subject: stasis_bridge.c: Update stasis bridge push diagnostic messages.
......................................................................


stasis_bridge.c: Update stasis bridge push diagnostic messages.

Change-Id: I195b14994c9dcccb9452491ca20a885d2a54605a
---
M res/stasis/stasis_bridge.c
1 file changed, 6 insertions(+), 1 deletion(-)

Approvals:
  Anonymous Coward #1000019: Verified
  Joshua Colp: Looks good to me, approved
  George Joseph: Looks good to me, but someone else must approve



diff --git a/res/stasis/stasis_bridge.c b/res/stasis/stasis_bridge.c
index e410881..f97673d 100644
--- a/res/stasis/stasis_bridge.c
+++ b/res/stasis/stasis_bridge.c
@@ -167,10 +167,15 @@
 
 	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;
 		}
 

-- 
To view, visit https://gerrit.asterisk.org/2625
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I195b14994c9dcccb9452491ca20a885d2a54605a
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>



More information about the asterisk-commits mailing list