projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b11930
)
Make chan_iax2 reject cause code indications correctly
author
Kinsey Moore
<kmoore@digium.com>
Mon, 21 May 2012 20:35:58 +0000
(20:35 +0000)
committer
Kinsey Moore
<kmoore@digium.com>
Mon, 21 May 2012 20:35:58 +0000
(20:35 +0000)
If chan_iax2 does not reject the PVT_CAUSE_CODE frames, the cause will not be
stored properly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@367189
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_iax2.c
patch
|
blob
|
history
diff --git
a/channels/chan_iax2.c
b/channels/chan_iax2.c
index
3b2d8cc
..
c88cd4d
100644
(file)
--- a/
channels/chan_iax2.c
+++ b/
channels/chan_iax2.c
@@
-5671,7
+5671,7
@@
static int iax2_indicate(struct ast_channel *c, int condition, const void *data,
break;
case AST_CONTROL_PVT_CAUSE_CODE:
res = -1;
- break;
+ goto done;
}
res = send_command(pvt, AST_FRAME_CONTROL, condition, 0, data, datalen, -1);