NET_DVR_PHONECENTERDIALCFG

Center parameter structure.

Structure Definition

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;

Members

sCenterName

Center nam.e

byPhoneNum

Telephone number.

byRepeatCall

Repeated dial-up times, value range: 1~15 times.

byPstnProtocol

Communication protocol: 0-CID.

byDialDelay

Dial-up delay, value range: 0~150s.

byPstnTransMode

Transmission mode: 0-DTMF 5/S, 1-DTMF 10/S.

byEnable

Whether to enable, 0-disable, 1-enable.

byRes1

Reserved, set to 0.

byReceiverId

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.

byRes2

Reserved, set to 0.

Remarks

  • 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).