Refactor Main SIP Procedure.