]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
automerge commit
authorAutomerge Script <automerge@asterisk.org>
Fri, 16 Feb 2007 22:14:32 +0000 (22:14 +0000)
committerAutomerge Script <automerge@asterisk.org>
Fri, 16 Feb 2007 22:14:32 +0000 (22:14 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@55001 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_agent.c

index bba17969c57c77e0dd6975816a6d30ccae9d7032..f1c2de9ae0762c5957534ef0ca299ac9e0bd6c40 100644 (file)
@@ -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);