diff options
author | Gregory Nietsky <gregory@distrotech.co.za> | 2011-10-02 14:20:35 +0000 |
---|---|---|
committer | Gregory Nietsky <gregory@distrotech.co.za> | 2011-10-02 14:20:35 +0000 |
commit | b5147c881722b7e35593afbc3b7b39caa493392f (patch) | |
tree | 03e01bbc21bd322a79bca90c4bbc717f9c398de2 | |
parent | 167bd0113bd8c08f0f1be29e143f471a312a706c (diff) |
Merged revisions 338904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10
........
r338904 | irroot | 2011-10-02 16:17:32 +0200 (Sun, 02 Oct 2011) | 8 lines
Remove T38 Gateway capability when detaching framehook.
SET(FAXOPT(gateway)=no) does not remove the capability when
detaching the framehook.
small patch to fix this problem.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@338905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | res/res_fax.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_fax.c b/res/res_fax.c index e746650e5..49812167c 100644 --- a/res/res_fax.c +++ b/res/res_fax.c @@ -2843,6 +2843,8 @@ static struct ast_frame *fax_gateway_framehook(struct ast_channel *chan, struct } } + details->caps &= ~AST_FAX_TECH_GATEWAY; + ao2_ref(details, -1); return NULL; } |