if (res2) {
/* Agent must have hung up */
ast_log(LOG_WARNING, "Agent on %s hungup on the customer. They're going to be pissed.\n", peer->name);
- ast_queue_log(queuename, qe->chan->uniqueid, peer->name, "AGENTDUMP", "");
+ ast_queue_log(queuename, qe->chan->uniqueid, peer->name, "AGENTDUMP", "%s", "");
ast_hangup(peer);
return -1;
}
/* Make sure channels are compatible */
res = ast_channel_make_compatible(qe->chan, peer);
if (res < 0) {
- ast_queue_log(queuename, qe->chan->uniqueid, peer->name, "SYSCOMPAT", "");
+ ast_queue_log(queuename, qe->chan->uniqueid, peer->name, "SYSCOMPAT", "%s", "");
ast_log(LOG_WARNING, "Had to drop call because I couldn't make %s compatible with %s\n", qe->chan->name, peer->name);
ast_hangup(peer);
return -1;
qlog = fopen(filename, "a");
ast_mutex_unlock(&qloglock);
if (reloaded)
- ast_queue_log("NONE", "NONE", "NONE", "CONFIGRELOAD", "");
+ ast_queue_log("NONE", "NONE", "NONE", "CONFIGRELOAD", "%s", "");
else
- ast_queue_log("NONE", "NONE", "NONE", "QUEUESTART", "");
+ ast_queue_log("NONE", "NONE", "NONE", "QUEUESTART", "%s", "");
}
int reload_logger(int rotate)