<?php

class XmlButtons
{

    const CANCEL = 'CANCEL';
    const ENTER = 'ENTER';
    const ONHOOK = 'ONHOOK';
    const RIGHT = 'RIGHT';
    const F_RIGHT = 'F_RIGHT'; //(snom 370)
    const LEFT = 'LEFT';
    const F_LEFT = 'F_LEFT'; //(snom 370)
    const REDIAL = 'REDIAL';
    const SPEAKER = 'SPEAKER';
    const TRANSFER = 'TRANSFER';
    const CONFERENCE = 'CONFERENCE';
    const HELP = 'HELP';
    const F_MUTE = 'F_MUTE';
    const F_UP = 'F_UP';
    const F_DOWN = 'F_DOWN';
    const REC = 'REC';
    const SNOM = 'SNOM';
    const DND = 'DND';
    const RECALL = 'RECALL';
    const PHONE_BOOK = 'PHONE_BOOK';

}

class XmlIndexButtons extends XmlButtons
{

    const F1 = 'F1';
    const F2 = 'F2';
    const F3 = 'F3';
    const F4 = 'F4';

}

class XmlSoftkeyButtons extends XmlButtons
{

    const F_ABORT = 'F_ABORT';
    const F_REDIRECT = 'F_REDIRECT';
    const F_DND = 'F_DND';
    const F_SNOM = 'F_SNOM';
    const F_HELP = 'F_HELP';
    const F_CONFERENCE = 'F_CONFERENCE';
    const F_REC = 'F_REC';
    const F_RETRIEVE = 'F_RETRIEVE';
    const F_TRANSFER = 'F_TRANSFER';
    const F_REDIAL = 'F_REDIAL';
    const F_LOGOFF_ALL = 'F_LOGOFF_ALL';
    const F_HOLD = 'F_HOLD';
    const F_DENYALL = 'F_DENYALL';
    const F_CC = 'F_CC';
    const F_MESSAGE = 'F_MESSAGE';
    const F_REGS = 'F_REGS';
    const F_DIALOG = 'F_DIALOG';
    const F_CONTACTS = 'F_CONTACTS';
    const F_CALL_LIST = 'F_CALL_LIST';
    const F_ADR_BOOK = 'F_ADR_BOOK';
    const F_PRESENCE = 'F_PRESENCE';
    const F_SPEED_DIAL = 'F_SPEED_DIAL';
    const F_DIRECTORY_SEARCH = 'F_DIRECTORY_SEARCH';
    const F_AUTO_ANSWER = 'F_AUTO_ANSWER';

}
