diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 1e005ec79f467d37d7a4cce1d33b74fa3a48e35e..013fc271ab3e5f6e048107d1042a89090e699bfa 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);