Hamas says it is taking action after being contacted by mediators about negotiations for the second phase of a peace deal.