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

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Oct 11 17:27:32 CDT 2007


Author: mattf
Date: Thu Oct 11 17:27:32 2007
New Revision: 85497

URL: http://svn.digium.com/view/asterisk?view=rev&rev=85497
Log:
Make sure we set the ANI2 field for PRI

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=85497&r1=85496&r2=85497
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Thu Oct 11 17:27:32 2007
@@ -9841,6 +9841,7 @@
 							if (e->ring.ani2 >= 0) {
 								snprintf(ani2str, 5, "%.2d", e->ring.ani2);
 								pbx_builtin_setvar_helper(c, "ANI2", ani2str);
+								pri->pvts[chanpos]->cid_ani2 = e->ring.ani2;
 							}
 
 #ifdef SUPPORT_USERUSER
@@ -9879,6 +9880,7 @@
 								if (e->ring.ani2 >= 0) {
 									snprintf(ani2str, 5, "%d", e->ring.ani2);
 									pbx_builtin_setvar_helper(c, "ANI2", ani2str);
+									pri->pvts[chanpos]->cid_ani2 = e->ring.ani2;
 								}
 
 #ifdef SUPPORT_USERUSER




More information about the svn-commits mailing list