mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 07:18:15 +00:00
Make chan_iax2 reject cause code indications correctly
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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user