diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-31 15:22:32 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-31 15:22:32 +0000 |
commit | 9c4617aa6b8b288d3f5826d57f7890d192be4015 (patch) | |
tree | 8185726c075505dafb46b68b2d53e36308401444 /channels | |
parent | 7de96f9ecb8eeb6938e7cef12eb306c26226a535 (diff) |
Merged revisions 77824 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r77824 | mmichelson | 2007-07-31 10:21:22 -0500 (Tue, 31 Jul 2007) | 6 lines
This patch makes Asterisk send 100 Trying provisional responses upon receipt of re-invites. This makes it so that if there are two or more Asterisk
servers between endpoints, the Asterisk servers will not keep retransmitting the re-invites.
(closes issue #10274, reported by cstadlmann, patched by me with approval from file)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77825 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index af27a912e..4770c9cee 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -14720,6 +14720,8 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int case AST_STATE_UP: ast_debug(2, "%s: This call is UP.... \n", c->name); + transmit_response(p, "100 Trying", req); + if (p->t38.state == T38_PEER_REINVITE) { struct ast_channel *bridgepeer = NULL; struct sip_pvt *bridgepvt = NULL; |