added softphone states
added softphonestate tests