From 43b39d02aef28ec16d270a46d8cdfe40489260d1 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Tue, 31 Jul 2007 15:21:22 +0000 Subject: [PATCH] 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@77824 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 763d0fc9b3..a70d5e58ae 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -13697,6 +13697,8 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int if (option_debug > 1) ast_log(LOG_DEBUG, "%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; -- 2.47.3