[svn-commits] branch 1.2 r22866 - /branches/1.2/channels/chan_zap.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Apr 27 09:12:46 MST 2006


Author: mattf
Date: Thu Apr 27 11:12:46 2006
New Revision: 22866

URL: http://svn.digium.com/view/asterisk?rev=22866&view=rev
Log:
Fix buglet in channel reassignment on SETUP_ACK

Modified:
    branches/1.2/channels/chan_zap.c

Modified: branches/1.2/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_zap.c?rev=22866&r1=22865&r2=22866&view=diff
==============================================================================
--- branches/1.2/channels/chan_zap.c (original)
+++ branches/1.2/channels/chan_zap.c Thu Apr 27 11:12:46 2006
@@ -9030,7 +9030,7 @@
 					ast_log(LOG_WARNING, "Received SETUP_ACKNOWLEDGE on unconfigured channel %d/%d span %d\n", 
 						PRI_SPAN(e->setup_ack.channel), PRI_CHANNEL(e->setup_ack.channel), pri->span);
 				} else {
-					chanpos = pri_fixup_principle(pri, chanpos, e->ring.call);
+					chanpos = pri_fixup_principle(pri, chanpos, e->setup_ack.call);
 					if (chanpos > -1) {
 						ast_mutex_lock(&pri->pvts[chanpos]->lock);
 						pri->pvts[chanpos]->setup_ack = 1;



More information about the svn-commits mailing list