diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-08 09:06:08 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-08 09:06:08 +0000 |
commit | aa07c1c205efb59c7455fc5e4ea59974d7c0ec71 (patch) | |
tree | c3920d027ac887c783b18b0474dfd590a6babdf7 /channels | |
parent | fd2af649d29c51977d5efe592508857b720c5850 (diff) |
Fix issues where repeated messages where ignored, but retransmitted reliably instead of unreliably.
Reported by: johan
Patches:
12746.txt uploaded by oej (license 306)
Tested by: johan
(issue #12746)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@128912 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 0cafa796b..7a73bf2c5 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -14100,7 +14100,8 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int else ast_log(LOG_DEBUG, "Got a SIP re-transmit of INVITE for call %s\n", p->callid); } - reinvite = 1; + if (!ast_test_flag(req, SIP_PKT_IGNORE)) + reinvite = 1; c = p->owner; } |