Skip to content
Snippets Groups Projects
Commit 82a30356 authored by Joshua Colp's avatar Joshua Colp
Browse files

Merged revisions 64044 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64044 | file | 2007-05-12 12:32:15 -0400 (Sat, 12 May 2007) | 2 lines

Ensure the onhold flag is set no matter what when being put on hold.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 60f6a721
No related branches found
No related tags found
No related merge requests found
......@@ -5724,6 +5724,8 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req)
ast_set_flag(&p->flags[1], SIP_PAGE2_CALL_ONHOLD_ONEDIR);
else if (sendonly == 2) /* Inactive stream */
ast_set_flag(&p->flags[1], SIP_PAGE2_CALL_ONHOLD_INACTIVE);
else
ast_set_flag(&p->flags[1], SIP_PAGE2_CALL_ONHOLD);
if (global_notifyhold)
sip_peer_hold(p, TRUE);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment