Configuring Dahua SIP video door stations for use with iRidi
Tested devices
| Model | Description | Appearance |
|---|---|---|
| DahuaVTO1210C-X | outdoor video door station | ![]() |
| DahuaVTO2111D-WP(433) | outdoor video door station |
Configuring Dahua video door stations
Settings may vary slightly depending on the video door station model and firmware version.
General settings
- Sign in to the video door station's web interface using the login and password (by default, admin and admin).

- On the Local Config > A&C Manager tab, set the digital interface TCP/IP as the operating interface.

- Configure the video door station's IP addresses as required by the local network of your SIP system.

- Configure the door-opening control parameters.

- Unlock Responding Interval: the minimum interval between door openings (in seconds),
- Unlock Period: the time the lock remains unlocked (in seconds),
- Open Door First Command: the combination that opens the lock (finish entering this combination with the "#" character).
- Configure the video stream parameters.

- Configure the audio settings.

Configuring the built-in SIP server
Dahua video door stations have a built-in SIP server. It lets you set up a simple SIP system without additional devices or special software. You can also use an external SIP server .
-
Reset all settings under Network Config > SIP Server Config to their defaults (using the Default button).
-
Enable the built-in SIP server.

-
Restart the device.
-
Configure the video door station's connection to its own SIP server (when the built-in SIP server is enabled, the station is always assigned the number 8001).

If the connection is successful, the VTO1210C-X video door station display should show the status Online.
- Configure subscriber connections to the SIP server.

Configuring operation with an external SIP server
- The built-in SIP server must be disabled. Specify the access parameters for the external SIP server:

-
Restart the device.
-
You can change the door station's number on the LAN Config tab.

- Restart the device again.
Working in iRidi Studio
- Create a Panel Project.
- Add the SIP driver and configure it.

The most important settings are highlighted in red.
- Host - enter the door station's IP address (192.168.1.5 by default)
- Port - the door station's port (under the SIP standard, always 5060)
- SIP ID - the username of the SIP account activated in step 7 of these instructions
- Password - the password of the SIP account activated in step 7 of these instructions
- Use SIP TONE - true: generate SIP tone-dialing messages
- Use DTMF TONE - false: do not generate standard tone-dialing messages
- Codec PCMU - true: enable the G.711μ audio codec
- Codec PCMA - true: enable the G.711a audio codec
- Codec H264 - true: enable the H.264 video codec
The other codecs should be disabled (false)
- Add graphical items to the panel screen and configure them.

- Add a script to the project:
outdoor_station_number = "0101010100"; // topological code of IPerVoice panel
var SIP = IR.GetDevice("SIP"); // name of SIP driver
var action = "CALL"; // default action
ButtonAction = IR.GetItem("Page 1").GetItem("Button_action");
LabelName = IR.GetItem("Page 1").GetItem("Label_name");
LabelNumber = IR.GetItem("Page 1").GetItem("Label_number");
SwitchVideo = IR.GetItem("Page 1").GetItem("Switch_video");
IR.AddListener(IR.EVENT_START,0,function()
{
// display the SIP video
IR.GetItem("Page 1").GetItem("Video").GetState(0).Image = "sip_image://";
});
IR.AddListener(IR.EVENT_TAG_CHANGE, SIP, function(name, value) {
if (name == "STATUS") {
var flagReady = (value == "On Hook..." || value == "Incoming Call...");
ButtonAction.Enable = flagReady;
var flagTalk = (value == "Talking...");
IR.GetItem("Page 1").GetItem("Button_door").Enable = flagTalk;
IR.GetItem("Page 1").GetItem("Button1").Enable = flagTalk;
IR.GetItem("Page 1").GetItem("Button2").Enable = flagTalk;
IR.GetItem("Page 1").GetItem("Button3").Enable = flagTalk;
IR.GetItem("Page 1").GetItem("Button4").Enable = flagTalk;
IR.GetItem("Page 1").GetItem("Button5").Enable = flagTalk;
IR.GetItem("Page 1").GetItem("Button6").Enable = flagTalk;
IR.GetItem("Page 1").GetItem("Button7").Enable = flagTalk;
IR.GetItem("Page 1").GetItem("Button8").Enable = flagTalk;
IR.GetItem("Page 1").GetItem("Button9").Enable = flagTalk;
IR.GetItem("Page 1").GetItem("Button0").Enable = flagTalk;
IR.GetItem("Page 1").GetItem("Button_asterisk").Enable = flagTalk;
IR.GetItem("Page 1").GetItem("Button_octothorp").Enable = flagTalk;
var flagConnect = (value == "Dialing..." || value == "Trying..." || value == "Ringing..." || value == "Talking..."
|| value == "Not Found..." || value == "Not Acceptable..." || value == "Not Available..." || value == "Service Unavailable...");
IR.GetItem("Page 1").GetItem("Button_cancel").Enable = flagConnect;
SwitchVideo.Enable = !flagConnect;
if (value == "Incoming Call...") {
action = "ANSWER";
LabelName.Text = SIP.GetFeedback("INCOMING CALL NAME");
LabelNumber.Text = SIP.GetFeedback("INCOMING CALL NUMBER");
}
if (value != "Incoming Call..." && value != "Talking...") {
action = "CALL";
LabelName.Text = "---";
LabelNumber.Text = outdoor_station_number;
}
var flagShow = (flagReady || flagConnect || flagTalk);
LabelName.Visible = flagShow;
LabelNumber.Visible = flagShow;
}
});
function Talk() {
SIP.SetFeedback("NUMBER", outdoor_station_number); // when calling number is required
SIP.Set(action, SwitchVideo.Value); // call or answer, audio or audio+video
}
- Configure the graphical items to interact with the SIP driver and the script.
Configuring the door-opening button
Pressing the button on the door station initiates a call. To open the door, you need to send a numeric code that can be set in the door station settings ("*50" by default)
- Create a new script
- Add the following to it:
function SIPsendtone1(){
var SIPdevice1=IR.GetDevice("SIP");
SIPdevice1.Set("SEND TONE", 10); // send “*”
SIPdevice1.Set("SEND TONE", 5);// send “5”
SIPdevice1.Set("SEND TONE", 0);// send “0”
}
- Create a button and bind it to a call to this script
Demo project
Download demo project
The Panel Project includes:
- a display showing live video from the door station's camera,
- a keypad for dialing a number,
- a call/answer button,
- a cancel button,
- a door-opening button,
- a current status display,
- a display of subscriber details (name and number),
- speaker and microphone volume settings for the i3 pro panel.

