aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-12 16:33:34 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-12 16:33:34 +0000
commitcb4e6696a0f6329d1b2b7467591eb6c8f2deb024 (patch)
treec7af09222cd471c8d8e6734ac630a79af532d3c7 /channels
parent4a92af95b3f8578e5635e3d49fb085d19bebe9d1 (diff)
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: http://svn.digium.com/svn/asterisk/trunk@64045 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 763933780..23bf71e83 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -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);
}