search for: parking_lock

Displaying 1 result from an estimated 1 matches for "parking_lock".

Did you mean: paging_lock
2003 Jul 03
1
res parking patch
...ou type to park the call */ static char parking_ext[AST_MAX_EXTENSION] = "700"; +static char parking_pick[AST_MAX_EXTENSION] = "750"; static char pickup_ext[AST_MAX_EXTENSION] = "*8"; @@ -507,7 +508,23 @@ park = atoi((char *)data); ast_pthread_mutex_lock(&parking_lock); pu = parkinglot; - while(pu) { + if (park == atoi((char *)parking_pick)) { + ast_log(LOG_NOTICE,"Picking up the older parked call!\n"); + while(pu) { + if (!pu->next) { + if (pl) + pl->next = pu->next;...