#define RING_NUM				61
#define AUDIO_FRAMES_NUM		8

#define SET_LABEL_LENGTH		4
#define STORE_LABEL_LENGTH		6
#define LOAD_LABEL_LENGTH		5
#define DEFAULT_LABEL_LENGTH	7
#define PASSWORD_LABEL_LENGTH	9

#ifdef _GDI_CONST
CCHAR _cPasswordLabel[] = "password ";
CCHAR _cSuperPasswordLabel[] = "superpassword ";
CCHAR _cIPLabel[] = "ip ";
CCHAR _cMaskLabel[] = "subnetmask ";
CCHAR _cRouterLabel[] = "router ";
CCHAR _cIPTypeLabel[] = "iptype ";
CCHAR _cPppIDLabel[] = "pppid ";
CCHAR _cPppPinLabel[] = "ppppin ";
CCHAR _cDNSLabel[] = "dns ";
CCHAR _cDNSLabel2[] = "dns2 ";
CCHAR _cUseGKLabel[] = "service ";
CCHAR _cDTMFLabel[] = "dtmf ";
CCHAR _cHandsetInputLabel[] = "handsetin ";
CCHAR _cHandsetOutputLabel[] = "handsetout ";
CCHAR _cHandfreeInputLabel[] = "speakerin ";
CCHAR _cHandfreeOutputLabel[] = "speakerout ";
CCHAR _cPhoneNumberLabel[] = "phonenumber ";
CCHAR _cForwardNumberLabel[] = "fwdnumber ";
CCHAR _cFwdAlwaysLabel[] = "fwdalways ";
CCHAR _cFwdBusyLabel[] = "fwdbusy ";
CCHAR _cFwdNoAnswerLabel[] = "fwdnoanswer ";
CCHAR _cFwdPowerOffLabel[] = "fwdpoweroff ";
CCHAR _cCallWaitingLabel[] = "callwaiting ";
CCHAR _cRingNumberLabel[] = "answer ";
CCHAR _cNatTraversalLabel[] = "nattraversal ";
CCHAR _cNatAddrLabel[] = "nataddr ";
CCHAR _cProtocolLabel[] = "protocol ";
CCHAR _cDeviceAttrLabel[] = "deviceattr ";
CCHAR _cVlan[] = "vlan ";
CCHAR _cVlanID[] = "vlanid ";

#if defined CALL_N2P || defined CALL_WP
CCHAR _cRtpLabel[] = "voiceport ";
#elif defined CALL_H323 || defined CALL_SIP || defined CALL_MGCP || defined CALL_EPN
CCHAR _cRtpLabel[] = "rtpport ";
#endif

#ifdef CALL_H323
CCHAR _cRasLabel[] = "rasport ";
#elif defined CALL_IAX2
CCHAR _cRasLabel[] = "localport ";   //defined CALL_IAX2
#elif defined CALL_SIP || defined CALL_MGCP || defined CALL_N2P
CCHAR _cRasLabel[] = "registerport ";
#endif

#ifdef CALL_H323
CCHAR _cQ931Label[] = "q931port ";
CCHAR _cH245Label[] = "h245port ";
#endif

#ifdef CALL_SIP
CCHAR _cSipPrackLabel[] = "prack ";
CCHAR _cFaststartLabel[] = "outboundproxy ";
#endif

#ifdef CALL_IAX2
CCHAR _cRemoteDialplanLabel[] = "remotedialplan ";
#endif

#ifdef CALL_MGCP
CCHAR _cCCIDLabel[] = "endpointid ";
CCHAR _cCCPINLabel[] = "domain ";
#else
CCHAR _cCCIDLabel[] = "account ";
CCHAR _cCCPINLabel[] = "pin ";
#endif

#ifdef CALL_SIP
CCHAR _cServiceAddrLabel[] = "sipproxy ";
#elif defined CALL_MGCP
CCHAR _cServiceAddrLabel[] = "caaddr ";		//defined CALL_MGCP
#else
CCHAR _cServiceAddrLabel[] = "serviceaddr ";
#endif

#ifdef CALL_SIP
CCHAR _cGKIDLabel[] = "domain ";
#elif defined CALL_N2P
CCHAR _cGKIDLabel[] = "serviceid ";
#endif

CCHAR _cIlbcPayLoadLabel[] = "ilbcpayload ";
CCHAR _cAudioframeLabel[] = "audioframes ";
CCHAR _cAudiotypeLabel[] = "audiotype ";
CCHAR _cCodec1Label[] = "codec1 ";
CCHAR _cCodec2Label[] = "codec2 ";
CCHAR _cCodec3Label[] = "codec3 ";
CCHAR _cCodec4Label[] = "codec4 ";
CCHAR _cCodec5Label[] = "codec5 ";
CCHAR _cCodec6Label[] = "codec6 ";
CCHAR _cJitterSizeLabel[] = "jittersize ";
CCHAR _cDialplanLabel[] = "dialplan ";
CCHAR _cCountrycodeLabel[] = "iddcode ";
CCHAR _cIDDprefixLabel[] = "iddprefix ";
CCHAR _cAreacodeLabel[] = "dddcode ";
CCHAR _cDDDprefixLabel[] = "dddprefix ";
CCHAR _cInnerLineLabel[] = "innerline ";
CCHAR _cDualModeLabel[] = "dualmode ";
CCHAR _cDualModePrefixLabel[] = "dualmodeprefix ";
CCHAR _cInnerLinePrefixLabel[] = "innerlineprefix ";
CCHAR _cServicetypeLabel[] = "servicetype ";
CCHAR _cRegisterTTLLabel[] = "registerttl ";
CCHAR _cNatTTLLabel[] = "natttl ";
CCHAR _cDtmfPayLoadLabel[] = "dtmfpayload ";
#ifdef VER_IPH_E00
CCHAR _cSetMacLabel[] = "ethermac ";
CCHAR _cSuperPassLabel[] = "superpass ";
CCHAR _cAccBalance[] = "Account Balance:";
CCHAR _cNoCredit[] = "No Credit";
#endif
CCHAR _cUpgradeTypeLabel[] = "upgradetype ";
CCHAR _cDialNumberLabel[] = "dialnumber ";
CCHAR _cUpgradeAddrLabel[] = "upgradeaddr ";

CCHAR _cServicePortLabel[] = "serviceport ";
CCHAR _cRtpTosLabel[] = "tos ";
CCHAR _cMacLabel[] = "mac ";
CCHAR _cAecLabel[] = "aec ";
CCHAR _cAgcLabel[] = "agc ";
CCHAR _cVadLabel[] = "vad ";
CCHAR _cHighrateLabel[] = "6.3k ";
CCHAR _cLocalAliasLabel[] = "localtype ";
CCHAR _cDebugLabel[] = "debug ";
CCHAR _cSetLabel[] = "set ";
CCHAR _cWriteLabel[] = "write";
CCHAR _cExitLabel[] = "exit";
CCHAR _cGetLabel[] = "get";
CCHAR _cEmptyLabel[] = "[empty]";
CCHAR _cNtsIPLabel[] = "sntpip ";
CCHAR _cTimeZoneLabel[] = "timezone ";
CCHAR _cDaylightLabel[] = "daylight ";
CCHAR _cRingTypeLabel[] = "ringtype ";
CCHAR _cDigitMapLabel[] = "digitmap ";
CCHAR _cTimeOut0Label[] = "predialtime ";
CCHAR _cTimeOut1Label[] = "interdialtime ";
CCHAR _cTimeOut2Label[] = "postdialtime ";
CCHAR _cStoreLabel[] = "store ";
CCHAR _cLoadLabel[] = "load ";
CCHAR _cDefaultLabel[] = "default";
CCHAR _cOKLabel[] = "OK";

#else

#ifdef CALL_IAX2
extern CCHAR _cRemoteDialplanLabel[];
#endif
#ifdef CALL_SIP
extern CCHAR _cSipPrackLabel[];
#endif
extern CCHAR _cPasswordLabel[];
extern CCHAR _cSuperPasswordLabel[];
extern CCHAR _cIPLabel[];
extern CCHAR _cMaskLabel[];
extern CCHAR _cRouterLabel[];
extern CCHAR _cIPTypeLabel[];
//extern CCHAR _cDHCPLabel[];
//extern CCHAR _cPPPoELabel[];
extern CCHAR _cPppIDLabel[];
extern CCHAR _cPppPinLabel[];
extern CCHAR _cDNSLabel[];
extern CCHAR _cDNSLabel2[];
extern CCHAR _cUpgradeTypeLabel[];
extern CCHAR _cUpgradeAddrLabel[];
extern CCHAR _cServiceAddrLabel[];
extern CCHAR _cServicePortLabel[];
extern CCHAR _cDtmfPayLoadLabel[];
extern CCHAR _cRtpTosLabel[];
extern CCHAR _cUseGKLabel[];
extern CCHAR _cVlan[];
extern CCHAR _cVlanID[];
#ifdef CALL_SIP
extern CCHAR _cFaststartLabel[];
#endif
extern CCHAR _cDTMFLabel[];
extern CCHAR _cFwdAlwaysLabel[];
extern CCHAR _cFwdBusyLabel[];
extern CCHAR _cFwdNoAnswerLabel[];
extern CCHAR _cFwdPowerOffLabel[];
extern CCHAR _cCallWaitingLabel[];
extern CCHAR _cHandsetInputLabel[];
extern CCHAR _cHandsetOutputLabel[];
extern CCHAR _cHandfreeInputLabel[];
extern CCHAR _cHandfreeOutputLabel[];
extern CCHAR _cPhoneNumberLabel[];
extern CCHAR _cForwardNumberLabel[];
extern CCHAR _cRingNumberLabel[];
extern CCHAR _cNatTraversalLabel[];
extern CCHAR _cNatAddrLabel[];
extern CCHAR _cProtocolLabel[];
extern CCHAR _cDeviceAttrLabel[];
#if defined CALL_H323 || defined CALL_SIP || defined CALL_MGCP || defined CALL_N2P || defined CALL_IAX2
extern CCHAR _cRasLabel[];
#endif
#ifdef CALL_H323
extern CCHAR _cQ931Label[];
extern CCHAR _cH245Label[];
#endif
#ifndef CALL_IAX2
extern CCHAR _cRtpLabel[];
#endif
extern CCHAR _cIlbcPayLoadLabel[];
extern CCHAR _cAudioframeLabel[];
extern CCHAR _cAudiotypeLabel[];
extern CCHAR _cCodec1Label[];
extern CCHAR _cCodec2Label[];
extern CCHAR _cCodec3Label[];
extern CCHAR _cCodec4Label[];
extern CCHAR _cCodec5Label[];
extern CCHAR _cCodec6Label[];
extern CCHAR _cJitterSizeLabel[];
extern CCHAR _cDialplanLabel[];
extern CCHAR _cCountrycodeLabel[];
extern CCHAR _cIDDprefixLabel[];
extern CCHAR _cAreacodeLabel[];
extern CCHAR _cDDDprefixLabel[];
extern CCHAR _cInnerLineLabel[];
extern CCHAR _cDualModeLabel[];
extern CCHAR _cDualModePrefixLabel[];
extern CCHAR _cInnerLinePrefixLabel[];
extern CCHAR _cServicetypeLabel[];
extern CCHAR _cRegisterTTLLabel[];
extern CCHAR _cNatTTLLabel[];
extern CCHAR _cCCIDLabel[];
extern CCHAR _cCCPINLabel[];
extern CCHAR _cMacLabel[];
#ifdef VER_IPH_E00
extern CCHAR _cSetMacLabel[];
extern CCHAR _cSuperPassLabel[];
extern CCHAR _cAccBalance[];
extern CCHAR _cNoCredit[];
#endif
extern CCHAR _cDialNumberLabel[];
extern CCHAR _cAecLabel[];
extern CCHAR _cAgcLabel[];
extern CCHAR _cVadLabel[];
extern CCHAR _cHighrateLabel[];
extern CCHAR _cLocalAliasLabel[];
extern CCHAR _cDebugLabel[];
extern CCHAR _cSetLabel[];
extern CCHAR _cExitLabel[];
extern CCHAR _cGetLabel[];
extern CCHAR _cEmptyLabel[];
extern CCHAR _cNtsIPLabel[];
extern CCHAR _cTimeZoneLabel[];
extern CCHAR _cDaylightLabel[];
#if defined CALL_SIP || defined CALL_N2P
extern CCHAR _cGKIDLabel[];
#endif
extern CCHAR _cWriteLabel[];
extern CCHAR _cRingTypeLabel[];
extern CCHAR _cDigitMapLabel[];
extern CCHAR _cTimeOut0Label[];
extern CCHAR _cTimeOut1Label[];
extern CCHAR _cTimeOut2Label[];
extern CCHAR _cStoreLabel[];
extern CCHAR _cLoadLabel[];
extern CCHAR _cDefaultLabel[];
extern CCHAR _cOKLabel[];
#endif

