Logo Logo en
  • iRidi Pro
    Основные компоненты
    • Приложение i3 Pro
    • iRidi Pro Server
    • iRidi Studio
    • iRidium studio v. 1.3.8 (устаревшая версия)
    Java Script в iRidi
    • Руководство
    • Справочник
    • Примеры
    • JS драйвера
    другие
    • Личный Кабинет
    • iRidium Cloud
    • iRidium Transfer
    • Push-уведомления
    • Лучшая практика
    Лицензирование
    • Лицензирование и передача проекта
    • Оффлайн-лицензирование
    • Активация iRidi Pro Server
  • Продукты
    i3 lite
    • Приложение i3 lite
    • Регистрация и лицензирование
    • Сервер
    • Модули
    KNX Home Server
    • Приложение i3 KNX
    • KNX Home Server
    BUS77 HOME SERVER
    • Приложения Bus77 Home и Bus77 Lite
    • Bus77 Home Server
    Решения
    • BYOD - решение для гостиниц
    • Портал жителя - решение для МКД
    iRidi SCADA
    • iRidi SCADA
  • Bus77
    НАСТРОЙКА BUS77
    • Основы Bus77
    • Приложения Bus77 Home и Bus77 Lite
    • Работа с драйвером Bus77 в iRidi Studio
    • Настройка шины Bus77 в iRidi Studio
    ПРОТОКОЛ BUS77
    • Характеристики CAN (Bus77)
    • Описание протокола
    • Исходники на GitHub
    ОБОРУДОВАНИЕ BUS77
    • Каталог Bus77 Pro
    • Каталог Bus77 Lite
  • Поддерживаемое оборудование
    Драйверы
    • Список драйверов
    • ProAV драйвера
    • AV & Custom Systems
    • JS драйвера
    • Сторонние драйвера и фриланс
    Протоколы и интерфейсы
    • Голосовое управление
    • 1-Wire
    • BACnet IP
    • Bus77
    • KNX
    • KNX IP BAOS
    • Weinzierl kBerry
    • Microsoft Exchange
    • Modbus
    • MQTT
    • NFC
    • ODBC
    • Onvif
    • SIP
    • SNMP
    • Wake On Lan
    • Z-Wave
    • ZigBee
    Производители
    • AMX
    • AVCiT
    • Beckhoff ADS
    • Biamp Tesira
    • Bluesound
    • Casambi
    • BSS Harman
    • Clipsal
    • ControlArt 7Port
    • Crestron
    • DigiBird
    • Domintell
    • Duotecno
    • EIDE
    • EPSNET
    • Global Cache
    • HDL Buspro
    • Helvar
    • IEAST
    • INELS BUS
    • INELS Wireless
    • Intesis
    • Kleger
    • Kramer VIA
    • Kramer 3000
    • Larnitech
    • Legrand Netatmo
    • LG TV
    • Lutron
    • Lutron Homeworks QS
    • MyHome
    • Nest
    • Novastar
    • Panasоnic PTZ
    • Philips Dynalite
    • PJLink
    • Satel
    • SamsungTV
    • Sonos
    • Somfy
    • SpinetiX
    • Televic Conference
    • TIS
    • Tion
    • URRI
    • Velbus
    • Velocio
    • Vinteo
    • WyreStorm
    • WiiM
    • Xicato
    • Yamaha
    • ZONT
    • Z-Wave.me
    Протестированное оборудование
    • Панель HDL S57
    • Панель HDL S10
    • SIP-домофон
    • Akuvox
    • Arlight
    • Divus
    • QBic TD-1050 PRO
    • QBic TD-1060 Slim
    • QBic TD-1070
    • Sigur
    • Uni-Ubi
    • Velocio
  • Оборудование iRidi

    Серверы
    • HS Сервер
    • ProAV Control Processor Basic
    • ProAV Control Processor Advanced
    • Спецификация контроллеров UMC
    • Настройка контроллера UMC C2
    • Настройка контроллера UMC C3
    • Настройка контроллера HDL IntelliCenter 2 (UMC C4)
    Модули расширения
    • I-PX-RS1
    • I-PX-RS4
    • I-PX-IR3
    KNX
    • KNX Home Server
    • KNX IP Interface
    Панели управления
    • iRidium Panel 7
    • Touch Panel P3
    • Touch Panel P6
    • Touch Panel P8
    • Touch Panel P10
    • Tabletop Touch Panel 10
    • AV Remote Control
    ОБОРУДОВАНИЕ BUS77
    • Каталог Bus77 Pro
    • Каталог Bus77 Lite
    • Differences
iRidium mobile web-site
Содержание
    Инструменты‌
    • Сведения о странице
    • Постоянная ссылка
    • Версия для печати
    • Спецстраницы
    • Связанные правки
    • Ссылки сюда
    Login / Create Account
    Материал из for iRidium developers
    Перейти к: навигация, поиск
    Эта страница является переводом страницы SIP Dahua. Перевод выполнен на 100%.

    Содержание

    • 1 Setting Dahua SIP Video Intercom to Work with iRidium
      • 1.1 Tested Devices
      • 1.2 Setting Dahua Videophone Panels
        • 1.2.1 General Settings
        • 1.2.2 Setting Built-in SIP server
        • 1.2.3 Setting External SIP server
      • 1.3 Working in iRidium studio
        • 1.3.1 Setting a button to open the door
      • 1.4 Demo project

    Setting Dahua SIP Video Intercom to Work with iRidium


    Tested Devices

    Model Description Appearance
    Dahua
    VTO1210C-X
    outside videophone panel
    Dahua vto1210c-x.jpeg
    Dahua
    VTO2111D-WP(433)
    outside videophone panel
    Dahua vto2111d-wp433.jpg


    Setting Dahua Videophone Panels

    Settings can be slightly different depending on the model and the firmware of videophones.

    General Settings

    1 Go to the web-interfaсe of the videophone panel and enter the login and password (by default they are admin and admin).

    SIP Dahua 1210 web00.png

    2 Enter TCP/IP interface as the working interface in the Local Config > A & C Manager tab.

    SIP Dahua 1210 web01.png

    3 Set IP addresses of the videophone panel as it is required for the network of your SIP system.

    SIP Dahua 1210 web08.png

    4 Set parameters to control opening the door.

    SIP Dahua 1210 web02.png
    • Unlock Responding Interval: minimal interval between door openings (in seconds),
    • Unlock Period: time to unlock the lock (in seconds),
    • Open Door First Command: combination opening the lock (the last symbol in this combination must be "#").


    5 Set parameters of the video stream.

    SIP Dahua 1210 web10.png

    6 Set sound parameters.

    SIP Dahua 1210 web11.png


    Setting Built-in SIP server

    Videophone panels by Dahua have a built-in SIP-server. You can built a simple SIP-structure using this sever without additional devices or software. You can also use: external SIP server.

    1 Set Network Config > SIP Server Config to deafult settings (Default button).

    2 Activate built-in SIP server

    SIP Dahua 1210 web09.png

    3 Reset the device.

    4 Set connection of the videophone panel to the built-in SIP server (when the built-in server is activated a panel always gets 8001 number).

    SIP Dahua 1210 web06.png

    If connection is successful, Online status is displayed on the display of VTO1210C-X videophone.

    5 Set connection of subscribers to the SIP server.

    SIP Dahua 1210 web07.png


    Setting External SIP server

    1 The built-in SIP server must be turned off. Set access parameters to the external SIP server:

    SIP Dahua 1210 web12.png

    2 Reset the device.

    3 The number of a panel can be changed in LAN Config tab.

    SIP Dahua 1210 web13.png

    4 Reset the device again.

    Working in iRidium studio

    1 Create a panel project.
    2 Add SIP driver and set it.

    SIP1.png

    The most important settings are marked with red.

    • Host - the IP address of the call panel (default is 192.168.1.5).
    • Port - the port of the call panel (according to the SIP standard, always "5060")
    • SIP ID - username of the SIP account activated in step 7 of this manual
    • Password - password of the SIP account activated in step 7 of this manual
    • Use SIP TONE - true, generate SIP messages of tone dial
    • Use DTMF Tone - false, do not generate regular messages of tone dial
    • Codec PCMU - true, activation of G.711μ audio codec
    • Codec PCMA - true, activation of G.711a audio codeс
    • Codec H264 - true, activation of G.711μ audio codec

    Deactivate other codeсs (false)

    3 Add graphiсal items to the project and set them.

    Came bpt 9.png

    4 Add the following 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
    }

    5 Set the graphical item to interact with the SIP driver and the script.

    Setting a button to open the door

    When a button on a call panel is pressed, a call begins. To open the door, a digital code must be sent, it can be set in the settings of the call panel (default code - “*50”)
    1 Create a new script.
    2 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”
    }

    3 Creatre a button and assign the call of this script to it .


    Demo project

    Download the demo project

    The panel project contains:

    • a display where video from the panel camera is displayed in real time,
    • a keyboard to enter numbers,
    • call/answer button,
    • cancel button,
    • button to open the door,
    • displaying the current status,
    • displaying information about the subscriber (name, number),
    • setting the volume of the speaker and the mic of i3 pro panel.


    SIP Dahua03.png


    Источник — «https://dev.iridi.com/index.php?title=SIP_Dahua/en&oldid=119249»
    About us
    Company
    Team
    History
    Philosophy
    Rewards
    Partnership
    Our partner
    Partnership Programs
    Apply for partnership
    products
    iRidium pro
    iRidium lite
    iRidium gate
    iRidium server
    Loads
    iRidium pro
    iRidium lite
    Other version
    Marketing materials
    Support
    On-line courses/Video
    Recommended equipment
    Other version
    iRidium pro
    Documentation
    FAQ
    Forum
    iRidium lite
    Documentation
    Forum
    Projects
    Standart projects
    Smart buildings
    Smart house
    Special solution
    Find a dealer
    News
    Youtube
    Twitter
    VK
    Logo
    contact@iridi.com
    +7 (499) 322-73-29

    Privacy policy