/* We need the clone's lock, too */
ast_pthread_mutex_lock(&clone->lock);
- ast_log(LOG_DEBUG, "Got clone lock on '%s'\n", clone->name);
+ ast_log(LOG_DEBUG, "Got clone lock on '%s' at %p\n", clone->name, &clone->lock);
/* Having remembered the original read/write formats, we turn off any translation on either
one */
/* Need to actually hangup since there is no PBX */
ochan = p->chan;
else
- local_queue_frame(p, isoutbound, &f, ast);
+ local_queue_frame(p, isoutbound, &f, NULL);
ast_pthread_mutex_unlock(&p->lock);
if (ochan)
ast_hangup(ochan);