diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-17 16:26:36 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-17 16:26:36 +0000 |
commit | e2ffe5e9a5ffed9696331d7cc375850c25734135 (patch) | |
tree | dd7d8c5cbdd282a596eb3acafd926da76dbe7107 | |
parent | 3d3fbb5bf9d95bcd7a9e45dfabc70f83892653f5 (diff) |
Merged revisions 109107 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r109107 | file | 2008-03-17 13:24:29 -0300 (Mon, 17 Mar 2008) | 4 lines
200 OKs in response to a reinvite need to be sent reliably. If the remote side does not receive one the dialog will be torn down.
(closes issue #12208)
Reported by: atrash
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109108 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 0279cf948..ea43be361 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -16733,7 +16733,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int /* Respond to normal re-invite */ if (sendok) { /* If this is not a re-invite or something to ignore - it's critical */ - transmit_response_with_sdp(p, "200 OK", req, (reinvite || req->ignore) ? XMIT_UNRELIABLE : XMIT_CRITICAL, p->session_modify == TRUE ? FALSE:TRUE); + transmit_response_with_sdp(p, "200 OK", req, (reinvite ? XMIT_RELIABLE : (req->ignore ? XMIT_UNRELIABLE : XMIT_CRITICAL)), p->session_modify == TRUE ? FALSE:TRUE); } } p->invitestate = INV_TERMINATED; |