Fix build error in chan_misdn from commit 370316
chan_misdn was not updated properly to account for a change in parameters for HANGUPCAUSE functionality. It now builds properly. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
afaa23864b
commit
c2d9192660
|
@ -7614,7 +7614,7 @@ static enum ast_bridge_result misdn_bridge(struct ast_channel *c0,
|
|||
#endif
|
||||
|
||||
if (f->frametype == AST_FRAME_CONTROL && f->subclass.integer == AST_CONTROL_PVT_CAUSE_CODE) {
|
||||
ast_channel_hangupcause_hash_set((who == c0) ? c1 : c0, f->data.ptr);
|
||||
ast_channel_hangupcause_hash_set((who == c0) ? c1 : c0, f->data.ptr, f->datalen);
|
||||
} else {
|
||||
ast_write((who == c0) ? c1 : c0, f);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue