fixes for sprout issue 592

branch on the submodule pjsip-upstream