[OpenSIPS-Users] Erroneous Retransmissions

Ben Newlin Ben.Newlin at genesys.com
Mon Apr 15 19:19:51 EDT 2019


Just wanted to bump this to see if anyone has had a chance to take a look. We are continuing to see this failing our tests intermittently. I have a new example here: https://pastebin.com/kQJSGE56.

In this example you can see that the retransmission of the INVITE is occurring not just after the 100 Trying has been received, but also after a 500 final response has already been received and is being processed, but the INVITE is still retransmitted!

Any help on this would be greatly appreciated.

# opensips -V
version: opensips 2.4.5 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
git revision: d025b4f61
main.c compiled on 21:18:18 Apr 12 2019 with gcc 7

Ben Newlin

From: Users <users-bounces at lists.opensips.org> on behalf of Ben Newlin <Ben.Newlin at genesys.com>
Reply-To: OpenSIPS users mailling list <users at lists.opensips.org>
Date: Thursday, April 4, 2019 at 3:10 PM
To: OpenSIPS users mailling list <users at lists.opensips.org>
Subject: [OpenSIPS-Users] Erroneous Retransmissions

Hello,

We are seeing an issue which is causing our tests to fail intermittently. It appears that sometimes OpenSIPS will retransmit a relayed INVITE request, even though a 100 Trying response has already been received and processed. This only happens intermittently.

I have captured debug logs for the scenario: https://pastebin.com/bHcBJmtv. In the log, you can see the 100 Trying response is received on line 707 and it appears to be matched to the correct transaction on line 729. However then on line 774 you can see the retransmission of the INVITE anyway.

I have verified using tcpdump that the INVITE is being retransmitted; it is not just a log error. And our tests are failing due to the unexpected extra 100 Trying response to the retransmission.

Can anyone explain why this would occur?

Ben Newlin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190415/bcd8b075/attachment.html>


More information about the Users mailing list