receiving BYE when hanging up
some cleaning in sip code