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

Question: Disable Retransmission for Reliable Transport? #68

Closed valliman closed 8 years ago

valliman commented 8 years ago

Is there a way in the Transaction API to disable retransmission if a reliable transport mechanism (i.e. TCP) is used. I checked through the code and it seems that I can set various timers and the retransmission interval. However that does not allow to disable the retransmission. Is this possible on a transaction base?

jaimecasero commented 8 years ago

Hi, sorry for the late answer.

That level of timer configuration granularity is not currently possible. Nervertheless, the code is aware of transport reliability when it comes to retransmissions. Look at for an exmaple.. https://github.com/RestComm/jain-sip/blob/master/src/gov/nist/javax/sip/stack/SIPClientTransactionImpl.java#L483