added softphone-states and -unittests