Working on complete SIP logic.