SIP (Session Initiation Protocol) parameter structure.
struct{ DWORD dwSize; BYTE byEnableAutoLogin; BYTE byLoginStatus; BYTE byRes1[2]; NET_DVR_IPADDR stuServerIP; WORD wServerPort; BYTE byRes2[2]; BYTE byUserName[NAME_LEN/*32*/]; BYTE byPassWord[PASSWD_LEN/*16*/]; BYTE byLocalNo[MAX_NUMBER_LEN/*32*/]; BYTE byDispalyName[MAX_NAME_LEN/*128*/]; WORD wLocalPort; BYTE byLoginCycle; BYTE byRes3; BYTE bySIPServerDomain[MAX_DOMAIN_NAME/*64*/]; NET_DVR_IPADDR stuSTUNServerIP; BYTE bySTUNServerDomain[MAX_DOMAIN_NAME/*64*/]; WORD wSTUNServerPort; BYTE byRes4[2] NET_DVR_IPADDR stuProxyServerIP; BYTE byProxyServerDomain[MAX_DOMAIN_NAME/*64*/]; WORD wProxyServerPort; BYTE byNetWork; BYTE byRes5; BYTE byCalledTargetName[NET_SDK_MAX_CALLEDTARGET_NAME/*32*/]; BYTE byRes[224]; }NET_DVR_SIP_CFG_V50, *LPNET_DVR_SIP_CFG_V50;
Structure size.
Whether to enable registering automatically: 0-disable, 1-enable.
Login status: 0-unregistered,1-registered. This parameter can only be obtained.
Reserved, set to 0.
IP address of the SIP server.
Port No. of the SIP server.
Reserved, set to 0.
User name.
Password.
Local No.
Displayed name.
Local port.
Registration period, value range: [1, 99], unit: minute.
Reserved, set to 0.
SIP server domain name
Domain name of the SIP server. Only one member of stuServerIP and bySIPServerDomain should be configured; if both are configured, stuServerIP will be preferred.
IP address of the STUN server.
Domain name of the STUN server.
Port No. of the STUN server.
Reserved, set to 0.
IP address of the proxy server.
Domain name of the proxy server. Only one member of stuProxyServerIP and byProxyServerDomain should be configured; if both are configured, the stuProxyServerIP will be preferred.
Port No. of the proxy server.
Network type: 0-invalid, 1-wired network 1, 2-wired network 2, 3-wireless network. If this member is set to wired network, only the wired network will be used no matter whether the wireless network is normal or not; if this member is set to wireless network, only the wireless network will be used.
Reserved, set to 0.
User name of the called person.
Reserved, set to 0.