diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-16 22:18:46 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-16 22:18:46 +0000 |
commit | 284f7ee4ce062c15b156257b59da31d89d7de4d7 (patch) | |
tree | 9aace3cc4927057d5fce222a4442029dc09de3f8 /channels/chan_agent.c | |
parent | 0624203d9835772109e378ae2621006caa9fa174 (diff) |
Merged revisions 54999 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r54999 | file | 2007-02-16 17:13:45 -0500 (Fri, 16 Feb 2007) | 2 lines
Do not send indications through ast_indicate in chan_agent but instead go directly to the technology. This way when indications are emulated they happen on the Agent channel and do not screw up formats on the channels. (issue #8439 reported by punkgode)
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@55002 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_agent.c')
-rw-r--r-- | channels/chan_agent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_agent.c b/channels/chan_agent.c index 5f3e3bc5d..545de1245 100644 --- a/channels/chan_agent.c +++ b/channels/chan_agent.c @@ -600,7 +600,7 @@ static int agent_indicate(struct ast_channel *ast, int condition, const void *da int res = -1; ast_mutex_lock(&p->lock); if (p->chan) - res = ast_indicate_data(p->chan, condition, data, datalen); + res = p->chan->tech->indicate ? p->chan->tech->indicate(p->chan, condition, data, datalen) : -1; else res = 0; ast_mutex_unlock(&p->lock); |