SMS and SIP calls termination using phones gateway Archive