From 77d8144e34cc8ce93ef99a549ba0ba4bd524edcb Mon Sep 17 00:00:00 2001 From: mattf Date: Tue, 13 May 2008 20:18:04 +0000 Subject: [PATCH] Need to clear calling_party_cat variable after we retrieve it git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115941 f38db490-d61c-443f-a65b-d21fe96a405b --- 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 b72627921..dfc6d6013 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -9242,7 +9242,7 @@ static void ss7_start_call(struct zt_pvt *p, struct zt_ss7 *linkset) snprintf(tmp, sizeof(tmp), "%d", p->calling_party_cat); pbx_builtin_setvar_helper(c, "SS7_CALLING_PARTY_CATEGORY", tmp); /* Clear this after we set it */ - p->call_ref_pc = 0; + p->calling_party_cat = 0; if (!ast_strlen_zero(p->redirecting_num)) { pbx_builtin_setvar_helper(c, "SS7_REDIRECTING_NUMBER", p->redirecting_num);