mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
stasis: Update the snapshot after setting the redirect
The previous commit added the caller_rdnis attribute. Make it
avialble during a possible ChanngelHangupRequest.
(cherry picked from commit 9fd2655d5a
)
This commit is contained in:
committed by
Asterisk Development Team
parent
4053abc214
commit
35281dac6a
@@ -9119,6 +9119,7 @@ void ast_channel_set_redirecting(struct ast_channel *chan, const struct ast_part
|
||||
ast_channel_lock(chan);
|
||||
ast_party_redirecting_set(ast_channel_redirecting(chan), redirecting, update);
|
||||
ast_channel_snapshot_invalidate_segment(chan, AST_CHANNEL_SNAPSHOT_INVALIDATE_CALLER);
|
||||
ast_channel_publish_snapshot(chan);
|
||||
ast_channel_unlock(chan);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user