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

Support multiples Valves #122

Closed jaimecasero closed 7 years ago

jaimecasero commented 7 years ago

we can define a new property gov.nist.javax.sip.SIP_MESSAGE_VALVES with comma-separated values

do you need the valve to be able to interrupt the chain as in servlets? -> yes, if the valve decides to drop the message/sendResponse, the other valves shouldn't not get the message

we could potetntially extend the valve interface for chainReady valves so we dont break the current contracts and define a default behavior for legacy ones (ie continue with the chain...)