Index: channels/chan_zap.c =================================================================== RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v retrieving revision 1.355 diff -u -r1.355 chan_zap.c --- channels/chan_zap.c 5 Oct 2004 20:55:31 -0000 1.355 +++ channels/chan_zap.c 6 Oct 2004 23:43:20 -0000 @@ -6556,6 +6556,7 @@ if (working->channel > tmp->channel) { tmp->next = *wlist; tmp->prev = NULL; + (*wlist)->prev = tmp; *wlist = tmp; } else { /* go through all the members and put the member in the right place */