Historically, the Ottomans stayed in World War 1 more or less until the end, signing an armistice only a few weeks before the Germans themselves. This was despite the massive amount of strain this was putting upon the state and upon civilians within the Empire. So say that the Ottoman government is a bit more in tune with what the people desire, and decide to sue for peace after the fall of Baghdad or Jerusalem. Would the allies accept an armistice? What conditions would they offer to the Ottomans?