iRidi for CAME BPT
Configuring CAME BPT SIP video intercoms to work with iRidi
Documentation updated 01.01.2024
Tested devices
| Model | Description | Appearance |
|---|---|---|
| CAME BPT MTMV/IP | video module | ![]() |
Configuring a CAME BPT video intercom
-
Connect power to the CAME BPT MTM door station
-
Connect the door station to the same local network as your control panel
-
Configure the door station in PCS/XIP

-
In a browser on the control panel, go to
http://192.168.1.5 -
In the LOGIN MODE field, select INSTALLER. The default password is 112233

- Open the Date and Time tab and set the date, time, and your time zone. Then save the settings

- To activate the SIP account you created, open the Credentials tab, then GENERIC SIP. Click the edit icon

- In the STATE field, select Enabled, set a password, and save the settings

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

Note
- 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); // отправка “*”
SIPdevice1.Set("SEND TONE", 5);// отправка “5”
SIPdevice1.Set("SEND TONE", 0);// отправка “0”
}
- Create a button and bind it to a call to this script
Demo project
Tip
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.

