[Asterisk-code-review] reinvite early: Verify operation when get an unexpected reIN... (testsuite[master])

Richard Mudgett asteriskteam at digium.com
Wed Oct 7 11:24:02 CDT 2015


Hello Anonymous Coward #1000019,

I'd like you to reexamine a change.  Please visit

    https://gerrit.asterisk.org/1398

to look at the new patch set (#2).

Change subject: reinvite_early: Verify operation when get an unexpected reINVITE.
......................................................................

reinvite_early: Verify operation when get an unexpected reINVITE.

A SIPp scenario places a call into Asterisk.  Once the call has been
answered, the caller sends a reINVITE before sending the ACK to the
initial INVITE.  Asterisk should respond to the reINVITE with a 491
because it has not seen the ACK completing the initial INVITE transaction.
Once the reINVITE is completed the SIPp scenario completes the original
INVITE and hangs up the call.

The reason this test exists is because Asterisk would crash on the early
reINVITE because the reINVITE was not identified and was treated as an
initial INVITE.  The call wound up with two PBX threads running on the
same channel.  This test ensures that the code changes have fixed the
issue as expected.

ASTERISK-25404
Reported by Chet Stevens

Change-Id: Id6fcdb655228b9bc89764cff00fdb921e6571152
---
A tests/channels/pjsip/reinvite_early/configs/ast1/extensions.conf
A tests/channels/pjsip/reinvite_early/configs/ast1/pjsip.conf
A tests/channels/pjsip/reinvite_early/sipp/uac-reinvite-early.xml
A tests/channels/pjsip/reinvite_early/test-config.yaml
M tests/channels/pjsip/tests.yaml
5 files changed, 216 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/98/1398/2
-- 
To view, visit https://gerrit.asterisk.org/1398
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id6fcdb655228b9bc89764cff00fdb921e6571152
Gerrit-PatchSet: 2
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019



More information about the asterisk-code-review mailing list