Center parameter structure.
struct{ BYTE sCenterName[NAME_LEN/*32*/]; BYTE byPhoneNum[MAX_PHONE_NUM/*32*/]; BYTE byRepeatCall; BYTE byPstnProtocol; BYTE byDialDelay; BYTE byPstnTransMode; BYTE byEnable; BYTE byRes1[5]; BYTE byReceiverId[6]; BYTE byRes2[32]; }NET_DVR_PHONECENTERDIALCFG, *LPNET_DVR_PHONECENTERDIALCFG;
Center nam.e
Telephone number.
Repeated dial-up times, value range: 1~15 times.
Communication protocol: 0-CID.
Dial-up delay, value range: 0~150s.
Transmission mode: 0-DTMF 5/S, 1-DTMF 10/S.
Whether to enable, 0-disable, 1-enable.
Reserved, set to 0.
Receiver account ID. It consists of up to 6 characters including 0 to 9, a to f, and A to F. When the protocol is "CID", the valid length is 4.
Reserved, set to 0.
Up to two centers' phone numbers are supported, and they can be the same one. For two centers (a main center and a backup center), the dial-up will only be transmitted to the first center (accounts of the two centers can be different).
The phone number of each center consists of 31 characters including 0 to 9 and F, and the end character is "E".
For the two centers, their default phone numbers are both "E0000000000000000000000000000000" (the number of 0 is 31).