Displaying 1 result from an estimated 1 matches for "bl_linkdown".
2009 Mar 20
1
chan_ss7 with ringing, but no voice stream.
...*prev, *best, *best_prev;
best = NULL;
best_prev = NULL;
for(cur = linkset->idle_list, prev = NULL; cur !=
NULL; prev = cur, cur = cur->next_idle) {
/* Don't select lines that are resetting or
blocked. */
 ? if(!cur->reset_done || (cur->blocked
& (BL_LH|BL_RM|BL_RH|BL_UNEQUIPPED|BL_LINKDOWN))) {
? ? continue;
? ? }
/* if((cur->cic % 2) == 0) {? */
/*change to this*/
if(((cur->cic % 2) ==
0)&&0==strcasecmp(cur->link->name,linkname))
{
? ? ? /* Choose the first idle even circuit,
if any. */
 /*end of change*/? ? ? 
 best = cur;
 ? ? ? best_prev = prev;
 ? ? ? break;...