mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
Split Hold event into Hold/Unhold, and move it into core.
(closes issue ASTERISK-21487) Review: https://reviewboard.asterisk.org/r/2565/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2481,9 +2481,9 @@ static void jingle_action_session_info(struct jingle_endpoint *endpoint, struct
|
||||
ast_setstate(chan, AST_STATE_RINGING);
|
||||
}
|
||||
} else if (iks_find_with_attrib(pak->query, "hold", "xmlns", JINGLE_RTP_INFO_NS)) {
|
||||
ast_queue_control(chan, AST_CONTROL_HOLD);
|
||||
ast_queue_hold(chan, NULL);
|
||||
} else if (iks_find_with_attrib(pak->query, "unhold", "xmlns", JINGLE_RTP_INFO_NS)) {
|
||||
ast_queue_control(chan, AST_CONTROL_UNHOLD);
|
||||
ast_queue_unhold(chan);
|
||||
}
|
||||
|
||||
ast_channel_unlock(chan);
|
||||
|
Reference in New Issue
Block a user