From 380005fea402f8ebf5ad754edb7c176162f4ba8f Mon Sep 17 00:00:00 2001
From: Russell Bryant <russell@russellbryant.com>
Date: Wed, 28 Sep 2005 19:24:30 +0000
Subject: [PATCH] fix variable name (issue #5302)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6676 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 channels/chan_zap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 1e005ec79f..013fc271ab 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -8461,7 +8461,7 @@ static void *pri_dchannel(void *vpri)
 									pbx_builtin_setvar_helper(c, "USERUSERINFO", e->ring.useruserinfo);
 								}
 								if (e->ring.redirectingreason >= 0)
-									pbx_builtin_setvar_helper(c, "PRIREDIRECTCAUSE", redirectingreason2str(e->ring.redirectingreason));
+									pbx_builtin_setvar_helper(c, "PRIREDIRECTREASON", redirectingreason2str(e->ring.redirectingreason));
 							
 								snprintf(calledtonstr, sizeof(calledtonstr)-1, "%d", e->ring.calledplan);
 								pbx_builtin_setvar_helper(c, "CALLEDTON", calledtonstr);
-- 
GitLab