mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 19:28:53 +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.
This commit is contained in:
@@ -9209,6 +9209,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