fix variable name (issue #5302)
authorRussell Bryant <russell@russellbryant.com>
Wed, 28 Sep 2005 19:24:30 +0000 (19:24 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 28 Sep 2005 19:24:30 +0000 (19:24 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6676 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 1e005ec..013fc27 100755 (executable)
@@ -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);