Egypt, Qatar and Turkey acted as mediators with Hamas leaders in Cairo to implement the second phase of US-brokered peace talks.