[svn-commits] mattf: trunk r115941 - /trunk/channels/chan_zap.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue May 13 15:18:05 CDT 2008


Author: mattf
Date: Tue May 13 15:18:04 2008
New Revision: 115941

URL: http://svn.digium.com/view/asterisk?view=rev&rev=115941
Log:
Need to clear calling_party_cat variable after we retrieve it

Modified:
    trunk/channels/chan_zap.c

Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=115941&r1=115940&r2=115941
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Tue May 13 15:18:04 2008
@@ -9242,7 +9242,7 @@
 	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);




More information about the svn-commits mailing list