diff --git a/apps/app_queue.c b/apps/app_queue.c index 264b54fe54e32c8f361a9086d3893aa1464b90b9..60be3059b85f38caa4b1cbaf58fc7b055ba65c39 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -4667,7 +4667,7 @@ static int ring_one(struct queue_ent *qe, struct callattempt *outgoing, int *bus /* Ring just the best channel */ ast_debug(1, "Trying '%s' with metric %d\n", best->interface, best->metric); ret = ring_entry(qe, best, busies); - if (qe->predial_callee && cur->chan) { + if (qe->predial_callee && best->chan) { ast_autoservice_start(best->chan); } }