]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
This patch makes Asterisk send 100 Trying provisional responses upon receipt of re...
authorMark Michelson <mmichelson@digium.com>
Tue, 31 Jul 2007 15:21:22 +0000 (15:21 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 31 Jul 2007 15:21:22 +0000 (15:21 +0000)
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

index 763d0fc9b387725be23877f55525ec75df4fd530..a70d5e58aeeb716582aa78441bfe866963420d2b 100644 (file)
@@ -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;