Configuring BAS IP SIP video intercoms to work with iRidi
Tested devices
| Model | Description | Appearance |
|---|---|---|
| Bas IPAA-12B | outdoor video door station | ![]() |
Configuring Bas IP video intercom panels
Settings may vary slightly depending on the video intercom model and firmware version. For information about all door station capabilities, see the official documentation.
- Download the Remote_Upgrade_Tool from the official website. When launched, the software displays the device's IP address information.
If you cannot configure the IP address or the device is on a different subnet, you can configure everything from the video intercom panel. For more information, see the official Bas IP website.
- Enter the panel's IP address in your web browser's address bar. A window for entering the username and password appears.
Administrator - has full access to all panel settings.
Manager - has access to panel settings, with restricted access to the access control menu. This access is provided to installation companies for installing and configuring the system.
Default values:
- Administrator: admin - 123456;
- Manager: manager - 1234.
- Configure the video door station's IP addresses as required for your SIP system's network.

- DHCP - enable or disable automatic network configuration;
- IP: - the door station's IP address;
By default, the door station may have the static IP address 192.168.1.90 or 192.168.1.91;
- Mask - subnet mask;
- Gateway - the default gateway;
- DNS - the DNS server's address.
- Configure the panel's address.


- Mode - select the panel's operating mode:
- In ** "Wall" (global) ** mode, calling the required monitor requires entering the 4-digit building number, 2-digit entrance number, 2-digit floor number, and 2-digit apartment number;
- In ** "Unit" (multi-tenant) ** mode, calling the required monitor only requires entering the 2-digit floor number and 2-digit apartment number.
- Building - the building number;
- Unit - the entrance number;
- Device number - the door station's sequence number.
If several door stations share a logical address, enter 2, 3, 4, 5, and so on up to 9 in ** "Device number" **.
- The ** "NO UNIT" function** is available when the door station is in global mode. It allows calling a monitor without entering the entrance number.
For this function to work, the entrance value must be set to "0" on all monitors.
- Set the external SIP server access parameters:

-
Enable / Disable - enable or disable SIP registration;
-
Proxy - the SIP server proxy, specified as an IP address or domain name;
The proxy address must be prefixed with "sip:"
-
Realm - the SIP server's address, specified as an IP address or domain name;
-
STUN IP - the STUN server's address;
-
STUN port - the STUN server's port (for example, Google's STUN server uses port 19302);
-
User - the SIP number (login);
-
Password - the password for the SIP number.
- Set the device parameters:

-
Video quality - select the preferred video resolution;
-
RTP data profile - select the preferred RTP data profile;
-
Volume level - adjust the panel speaker's volume;
-
RTSP Username - the login for accessing the panel's RTSP stream;
-
RTSP Password - the password for accessing the panel's RTSP stream;
-
Proximity sensor: enable or disable the IR proximity sensor. When it detects movement within 50 cm, the panel can automatically turn on the keypad backlight, display, or face recognition function.
- Configure forwarding.
This section is used to substitute numbers on the panel for calls to indoor monitors when a monitor is missing or switched off, or to any specified SIP number.

-
Mode - select the forwarding mode:
- All at once - call all numbers simultaneously;
- One by one - call numbers in sequence at 20-second intervals.
-
NEW FORWARD :
- Apartment number: the number entered on the panel's keypad;
- Forward number: the destination called when the corresponding number is entered on the panel's keypad. It can be used for P2P calls within the network and for SIP calls.

To configure calls from the intercom to the panel, create a forwarding entry and specify the apartment number and SIP subscriber configured earlier.
- Set the access control parameters.
This menu contains general access control system settings, access rules, and identifiers.

*Master card - the card code;
- Master code - the door-opening code;
- Lock #1, Lock #2 :
- Lock open time(sec) - the time for which the panel's relay contacts will be closed or opened;
- Lock open delay(sec) - the time after which the panel's relay contacts will close or open (the delay before opening).
Lock 2 always produces the "Дверь открыта" (door open) signal because the SH-42 module must be installed separately to control two locks. Without it, only lock 1 operates, but lock 2 still produces an audible signal.
- Build the RTSP stream URL.

To receive the door station camera's RTSP stream in a video surveillance system, enter rtsp://user:1234abcd@192.168.1.16:8554/ch01 in the camera entry on the "Advanced" tab, where
- user - the login;
- 1234abcd - the password for accessing the web interface;
- 192.168.1.16 - the panel's IP address;
- 8554 - the camera access port;
- ch01 - the channel number.
The login and password are set under "Device settings" on the "Panel" tab.
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 the 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.
