parse stun attributes