aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-27 10:54:57 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-27 10:54:57 +0000
commita044e2f9e9017966fc5ad228a5bde23c6c8a8f46 (patch)
tree0d7a8484dc24d6d2268de734b7dcd0d1d3f862a5
parent70f5ad301eab0bc37eb42d46129eb1bba622878e (diff)
Don't change direction of the dialogue when we send a re-invite
(will confuse to/from headers and to/from tags) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36171 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index f68a63d93..c5f221111 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -6100,13 +6100,10 @@ static int transmit_reinvite_with_sdp(struct sip_pvt *p)
/* Use this as the basis */
initialize_initreq(p, &req);
p->lastinvite = p->ocseq;
- ast_set_flag(&p->flags[0], SIP_OUTGOING);
return send_request(p, &req, 1, p->ocseq);
}
-/*--- transmit_reinvite_with_t38_sdp: Transmit reinvite with T38 SDP ---*/
-/* A re-invite is basically a new INVITE with the same CALL-ID and TAG as the
- INVITE that opened the SIP dialogue
+/*! \brief Transmit reinvite with T38 SDP
We reinvite so that the T38 processing can take place.
SIP Signalling stays with * in the path.
*/
@@ -6125,7 +6122,6 @@ static int transmit_reinvite_with_t38_sdp(struct sip_pvt *p)
/* Use this as the basis */
initialize_initreq(p, &req);
p->lastinvite = p->ocseq;
- ast_set_flag(&p->flags[0], SIP_OUTGOING);
return send_request(p, &req, 1, p->ocseq);
}