channel_alloc query