Egypt was in contact with senior Hamas and Israeli figures as well as other mediators on Sunday in an effort to restart negotiations for a truce in the Gaza Strip during Ramadan, which begins on Monday or Tuesday, two Egyptian security sources told Reuters.