Update Issue 145

JAIN SIP ISsue JSIP-476

Backport to master : Fix + non regression test

(cherry picked from commit 80528eb2632aeafe45f19a1a34aaaba7616cb0b7)