Samsung Galaxy S3 has a setting within the Phone Dialer "Call Settings\Call Alert\Alerts on call". Unchecking this will prevent alerts from interfereing a phone call. This is probably similar on your Galaxy S2.