aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorautomerge <automerge@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-16 22:14:32 +0000
committerautomerge <automerge@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-16 22:14:32 +0000
commit6ffddcca88282330b15c09f287c420ffad02c774 (patch)
tree5f75483581c3ed3d5c9192467ab9628c5915fdc6 /channels
parenta273bc321ee864c4f8e0781c1f3180c7335d2847 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@55001 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_agent.c b/channels/chan_agent.c
index bba17969c..f1c2de9ae 100644
--- a/channels/chan_agent.c
+++ b/channels/chan_agent.c
@@ -616,7 +616,7 @@ static int agent_indicate(struct ast_channel *ast, int condition)
int res = -1;
ast_mutex_lock(&p->lock);
if (p->chan)
- res = ast_indicate(p->chan, condition);
+ res = p->chan->tech->indicate ? p->chan->tech->indicate(p->chan, condition) : -1;
else
res = 0;
ast_mutex_unlock(&p->lock);