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/
144 stars 152 forks source link

Address with Text attribute fix. According to the SIP rfc4244 document. #186

Open zekiyugnak opened 5 years ago

zekiyugnak commented 5 years ago

Hi Team, We found a bug inside AddressParser.java when it tries to parse SIP Header with "Text" information.

Here an example from RFC:

<sip:User3@UA3.example.com?Reason=SIP;cause=487;text="Request Terminated">; index=1.1.2,

Please try to run AddressParserTest with these SIP address, you will see the exception.