Update Issue 145

JAIN SIP ISsue JSIP-476

Backport to master : Fix + non regression test

(cherry picked from commit 80528eb2632aeafe45f19a1a34aaaba7616cb0b7)

git-svn-id: https://svn.java.net/svn/jsip~svn@2337 8e71dc83-d81e-6649-80f2-80b843a9b2be