[reSIProcate] [resiprocate] Fixed issue with DUM ServerInviteSession not automatically re-issuing an INVITE after received a 491. Also added tfdum test. (#35)

Francis Joanis notifications at github.com
Thu Jan 21 14:20:49 CST 2016


A ServerInviteSession receiving a 491 for a re-INVITE it just sent will not automatically resend the re-INVITE as per RFC 3261, Section 14.1.

The same scenario works fine in the case of a ClientInviteSession. It looks like there was a missing "else" statement in ServerInviteSession that is present in ClientInviteSession for the default handling of the DumTimeout::Glare timeout.

This patch adds the "else" statement to ServerInviteSession.cxx and also adds a tfdum automated test suite that should test both Client/Server cases.

I have mostly tested the patch with re-INVITE and not UPDATE and/or PRACK, but all test suites seem to be OK.

Could you please review if this makes sense? Let me know if you would like me to test more with UPDATE/PRACK/...

Thanks!
You can view, comment on, or merge this pull request online at:

  https://github.com/resiprocate/resiprocate/pull/35

-- Commit Summary --

  * -Fixed issue with DUM ServerInviteSession not automatically re-issuing an INVITE after received a 491. Also added tfdum test.

-- File Changes --

    M resip/dum/ServerInviteSession.cxx (4)
    M tfm/tfdum/dumTests.cxx (79)

-- Patch Links --

https://github.com/resiprocate/resiprocate/pull/35.patch
https://github.com/resiprocate/resiprocate/pull/35.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/resiprocate/resiprocate/pull/35
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20160121/7f274733/attachment.htm>


More information about the resiprocate-devel mailing list