diff --git a/res/res_features.c b/res/res_features.c
index 1ffa1aef42beca723b63ede4af11f3ee537c9b82..0f8f5d57ce8f1d9f79a6c6ddd5c16ec59b60cf2b 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -1272,7 +1272,7 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast
 			src = chan;
 		else if ((monitor_exec = pbx_builtin_getvar_helper(peer, "AUTO_MONITOR")))
 			src = peer;
-		if (src) {
+		if (monitor_app && src) {
 			char *tmp = ast_strdupa(monitor_exec);
 			if (tmp) {
 				pbx_exec(src, monitor_app, tmp, 1);