summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Fredrickson <creslin@digium.com>2005-07-13 15:13:12 +0000
committerMatthew Fredrickson <creslin@digium.com>2005-07-13 15:13:12 +0000
commit91f84f9098745939beffe971864f5dc7906383c9 (patch)
tree629884617ed7f17c83368c4f6d63c2a80012d170
parent709689f76e98a868599d62870eaaacd439af5865 (diff)
Update variable name to match docs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-xchannels/chan_zap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 46830c528..1eadea3e6 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -8237,7 +8237,7 @@ static void *pri_dchannel(void *vpri)
snprintf(calledtonstr, sizeof(calledtonstr)-1, "%d", e->ring.calledplan);
pbx_builtin_setvar_helper(c, "CALLEDTON", calledtonstr);
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));
ast_mutex_lock(&pri->lock);
if (c && !ast_pthread_create(&threadid, &attr, ss_thread, c)) {