diff options
author | Matthew Fredrickson <creslin@digium.com> | 2008-05-13 20:18:04 +0000 |
---|---|---|
committer | Matthew Fredrickson <creslin@digium.com> | 2008-05-13 20:18:04 +0000 |
commit | a439ea6fe20d243c10c3f1580b6e33d9d85c0cb2 (patch) | |
tree | 729a9bde9a1e6af1a5da9da5a3d8975a8462d0d5 /channels/chan_zap.c | |
parent | df175cebc3ac878d5a3ec9514c7b0e350080f328 (diff) |
Need to clear calling_party_cat variable after we retrieve it
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115941 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r-- | channels/chan_zap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |