RestComm / jain-sip

Disclaimer: This repository is a git-svn mirror of the project found at http://java.net/projects/jsip whose original repository is developed collaboratively by the Advanced Networking Technologies Division at the National Institute of Standards and Technology (NIST) - an agency of the United States Department of Commerce and by a community of individual and enterprise contributors. TeleStax, Inc. will perform some productization work, new features experimentation branches, etc for its TelScale jSIP product that doesn't concern the community from the main repository hence this git repository.
http://www.restcomm.com/
141 stars 151 forks source link

Solve issue #188: Connected flag in NIOHandler.java > openOutgoingConnection is not updated correctly #197

Open lmcdasi opened 2 years ago

lmcdasi commented 2 years ago

Can you please merge this change in NIOHandler ?

The issue is that the 1st SIP re-INVITE from Jain sip going out will fail sending the data: Dead socketChanneljava.nio.channels.SocketChannel[connected local=/10.3.85.54:55327 remote=/10.5.23.58:5060] socket /10.5.23.58:5060

lmcdasi commented 2 years ago

This issue also affects TLS! And it is even worse because the sip re-invite is not getting out at all ! Please accept the fix and provide a new build that can be accessed from mvn repo. Thank you.