summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xchannel.c1
-rwxr-xr-xchannels/chan_agent.c1
-rwxr-xr-xchannels/chan_zap.c5
3 files changed, 5 insertions, 2 deletions
diff --git a/channel.c b/channel.c
index 9ef5c9015..a4a857829 100755
--- a/channel.c
+++ b/channel.c
@@ -1556,6 +1556,7 @@ int ast_prod(struct ast_channel *chan)
ast_log(LOG_DEBUG, "Prodding channel '%s'\n", chan->name);
a.subclass = chan->pvt->rawwriteformat;
a.data = nothing + AST_FRIENDLY_OFFSET;
+ a.src = "ast_prod";
if (ast_write(chan, &a))
ast_log(LOG_WARNING, "Prodding channel '%s' failed\n", chan->name);
}
diff --git a/channels/chan_agent.c b/channels/chan_agent.c
index 8e596a44f..b81a6d85c 100755
--- a/channels/chan_agent.c
+++ b/channels/chan_agent.c
@@ -1401,6 +1401,7 @@ static int __login_exec(struct ast_channel *chan, void *data, int callbackmode)
exten = NULL;
pos = 0;
} else {
+ ast_log(LOG_WARNING, "Extension '%s@%s' is not valid for automatic login of agent '%s'\n", tmpchan, context && !ast_strlen_zero(context) ? context : "default", p->agent);
res = ast_streamfile(chan, "invalid", chan->language);
if (!res)
res = ast_waitstream(chan, AST_DIGIT_ANY);
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index b544addcd..5708c0e99 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -1232,7 +1232,7 @@ static void zt_enable_ec(struct zt_pvt *p)
ast_log(LOG_DEBUG, "Enabled echo cancellation on channel %d\n", p->channel);
}
} else
- ast_log(LOG_DEBUG, "No echocancellation requested\n");
+ ast_log(LOG_DEBUG, "No echo cancellation requested\n");
}
static void zt_train_ec(struct zt_pvt *p)
@@ -4225,6 +4225,7 @@ static int zt_indicate(struct ast_channel *chan, int condition)
int index;
ast_mutex_lock(&p->lock);
index = zt_get_index(chan, p, 0);
+ ast_log(LOG_DEBUG, "Requested indication %d on channel %s\n", condition, chan->name);
if (index == SUB_REAL) {
switch(condition) {
case AST_CONTROL_BUSY:
@@ -6214,7 +6215,7 @@ static struct zt_pvt *mkintf(int channel, int signalling, int radio, struct zt_p
return NULL;
}
if (p.sigtype != (signalling & 0x3ffff)) {
- ast_log(LOG_ERROR, "Signalling requested is %s but line is in %s signalling\n", sig2str(signalling), sig2str(p.sigtype));
+ ast_log(LOG_ERROR, "Signalling requested on channel %d is %s but line is in %s signalling\n", channel, sig2str(signalling), sig2str(p.sigtype));
destroy_zt_pvt(&tmp);
return tmp;
}