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 Fanvil. Перевод выполнен на 100%.

    Содержание

    • 1 Setting Fanvil SIP Video Intercom to Work with iRidium
      • 1.1 Tested Devices
      • 1.2 Setting Fanvil Videophone Panels
        • 1.2.1 i31S Model
        • 1.2.2 i16V Model
        • 1.2.3 i32V Model
        • 1.2.4 i12N-01p Model
        • 1.2.5 i33V Model
        • 1.2.6 i10 Model
        • 1.2.7 i20S Model
      • 1.3 Note
      • 1.4 Working in iRidium Studio
        • 1.4.1 Setting a button to open the door
      • 1.5 Demo project

    Setting Fanvil SIP Video Intercom to Work with iRidium

    In this review, we give an overview of Fanvil intercoms. Fanvil company offers a wide range of devices with different capabilities. Used equipment: SIP server 3CX, iRidium SIP client on iPhone 7. 2N Helios SIP panel was used to compare sound quality. Version of i3 pro: 1.3.26.0.24027.


    Tested Devices

    Model Description Appearance
    i31S outdoor SIP video intercom
    Fanvil i31s1.png
    i16V outdoor SIP video intercom
    Fanvil i16V1.png
    i32V outdoor SIP video intercom
    Fanvil i32V.png
    i12N-01p outdoor SIP audio intercom
    Fanvil i12N-10p.png
    i33V outdoor SIP video intercom
    Fanvil i33V.png
    i10 internal SIP audio intercom
    Fanvil i10.png
    i20S internal SIP audio intercom
    Fanvil i20S.png

    Setting Fanvil Videophone Panels

    Settings of videophone panels may vary depending on the model and the version of firmware.

    i31S Model

    Fanvil i31s1.png

    This model has a built-in speaker, microphone, front camera with infrared lighting and night vision mode. The 2 megapixel camera provides sufficient video quality enough to identify visitors. The video is transmitted in 720p quality using the H264 codec.

    G722 audio codec is used for audio transmission. The intercom has no built-in echo cancellation, this model supports only noise cancelling. Compared to 2N, the sound quality is worse. In open areas you will hear the interlocutor quite well. Some noises can be heard during conversation.

    You will hear the interlocutor clearly, but quietly. When you increase the sensitivity of the microphone, you might have some ambient noises.

    Video comparing the loudspeakers and the micropone of a panel to those of iPad Air 2 and iPad Pro:



    Panel setting (firmware version is 2.6.1.6726):

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

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

    Fanvil i31S 2.png

    3 Select audio codecs (G722 was tested).

    Fanvil i31S 3.png

    4 Set up volume:

    • Speakerphone Volume - volume of a loudspeaker;
    • Speakerphone Ring Volume - ringer volume;
    • Broadcast Output Volume - microphone sensitivity.
    Fanvil i31S 4.png

    5 Set access parameters to external SIP server:

    SIP client data to connect to the server:

    • Phone number - user name;
    • Display name - name displayed when calling;
    • Authentication Name - user name used to register on the SIP server;
    • Authentication Password - user password used to register on the server;
    • Activate - enable / disable SIP profile.

    Server data:

    • SIP Proxy Server Address - server IP address;
    • SIP Proxy Server Port - port.
    Fanvil i31S 5.png

    6 Set parameters of DTMF tones:

    • DTMF Type
    • DTMF SIP INFO Mode - a type of processing * (asterisk) and # (hash) buttons.
    Fanvil i31S 6.png

    Click the Apply button. If connection to the SIP server is successful, Registered status of the account is displayed.


    7 In addition to number dialing, this model supports call from a button. To call from the keyboard, you need to dial: asterisk (*), subscriber's number, asterisk (*).

    Set a call to a subscriber with the help of a button:

    • Hot Key - a subscriber that set beforehand is called (panel with i3Pro client);
    • Value 1 - the main number;
    • Value 2 - a reserve number;
    • Line - a SIP line.
    Fanvil i31S 7.png

    8 Set up a key for DTMF tones:

    • Calling Password - key for activating the relay via the iRidium SIP client.
    Fanvil i31S 8.png


    i16V Model

    Fanvil i16V1.png

    This model has a built-in speaker, microphone, front camera with infrared lighting and night vision mode. The 2 megapixel camera provides sufficient video quality enough to identify visitors. The video is transmitted in 720p quality using the H264 codec.

    G722 audio codec is used for audio transmission. The intercom has no built-in echo cancellation, this model supports only noise cancelling. Compared to 2N, the sound quality is worse. In open areas it will be difficult for the user to make out the speech of the interlocutor. The sound is not clear, noise is heard.

    With iRidium SIP panel, the interlocutor can be heard quite clearly, sometimes the connection is interrupted. Some noises can be heard during conversation, the sound is clear and loud. The user's speech is clear at short and medium distances up to 50cm.


    Video comparing the loudspeakers and the microphone of a panel to those of iPad Air 2 and iPad Pro:


    Panel setting (firmware version is 2.6.0.6680):

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

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

    Fanvil i16V 2.png

    3 Select audio codecs (G722 was tested).

    Fanvil i16V 3.png

    4 Set up volume:

    • Speakerphone Volume - volume of a loudspeaker;
    • Speakerphone Ring Volume - ringer volume;
    • Broadcast Output Volume - microphone sensitivity.
    Fanvil i16V 4.png

    5 Set access parameters to external SIP server:

    SIP client data to connect to the server:

    • Phone number - user name;
    • Display name - name displayed when calling;
    • Authentication Name - user name used to register on the SIP server;
    • Authentication Password - user password used to register on the server;
    • Activate - enable / disable SIP profile.

    Server data:

    • SIP Proxy Server Address - server IP address;
    • SIP Proxy Server Port - port.
    Fanvil i16V 5.png

    6 Set parameters of DTMF tones:

    • DTMF Type
    • DTMF SIP INFO Mode - a type of processing * (asterisk) and # (hash) buttons.
    Fanvil i16V 6.png

    Нажмите кнопку Apply. При успешном подключении к SIP-серверу должен отобразиться статус аккаунта Registered.


    7 Set a call to a subscriber with the help of a button:

    • Hot Key - a subscriber that set beforehand is called (panel with i3Pro client);
    • Value 1 - the main number;
    • Value 2 - a reserve number;
    • Line - a SIP line (setting in step 5).
    Fanvil i16V 7.png

    8 Set up a key for DTMF:

    • Trigger Code - key for activating the relay via the iRidium SIP client
    • Reset Code - code to reset Trigger Code.
    Fanvil i16V 8.png


    i32V Model

    Fanvil i32V.png

    This model has a built-in speaker, microphone, front camera with infrared lighting and night vision mode. The 2 megapixel camera provides sufficient video quality enough to identify visitors. The video is transmitted in 720p quality using the H264 codec.

    G722 audio codec is used for audio transmission. The intercom has no built-in echo cancellation, this model supports only noise cancelling. Compared to 2N, the sound quality is worse. In open areas it will be difficult for the user to make out the speech of the interlocutor. The sound is not clear, noise is heard. The speech is quite loud.

    The interlocutor hears the user loudly, but some noises can be heard during conversation. When you move away from the device at medium distances, the sound will become much quieter, sometimes interruptions can be noticed.


    Video comparing the loudspeakers and the microphone of a panel to those of iPad Air 2 and iPad Pro:


    Panel setting (firmware version is 22.4.0.6522):

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

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

    Fanvil i32V 2.png

    3 Select audio codecs (G722 was tested).

    Fanvil i32V 3.png

    4 Set the volume:

    • Speakerphone Volume - the volume of a loudspeaker;
    • MIC Input Volume - microphone sensitivity.
    Fanvil i32V 4.png

    5 Set access parameters to external SIP server:

    SIP client data to connect to the server:

    • Phone number - user name;
    • Display name - name displayed when calling;
    • Authentication Name - user name used to register on the SIP server;
    • Authentication Password - user password used to register on the server;
    • Activate - enable / disable SIP profile.

    Server data:

    • SIP Proxy Server Address - server IP address;
    • SIP Proxy Server Port - port.
    Fanvil i32V 5.png

    Click the Apply button. If connection to the SIP server is successful, Registered status of the account is displayed.


    6 Set a call to a subscriber with the help of a button:

    • Hot Key - a subscriber that set beforehand is called (panel with i3Pro client);
    • Value 1 - the main number;
    • Value 2 - a reserve number.
    Fanvil i32V 6.png

    7 Set up a key for DTMF:

    • Calling Password - a key to activate a relay.
    Fanvil i32V 7.png

    8 Set up video display parameters:

    • Encode Format - selecting a codec;
    • Resolution - image resolution;
    • Frame Rate - frame frequency.
    Fanvil i32V 8.png


    i12N-01p Model

    Fanvil i12N-10p.png

    This model has a built-in speaker and microphone. G722 audio codec is used for audio transmission. The intercom has no built-in echo cancellation, this model supports only noise cancelling. Compared to 2N, the sound quality is worse. Ambient noises are always heard. The panel works only when noise cancelling is off. An echo is heard.

    With iRidium SIP panel the user does not hear the interlocutor. Mainly ambient noises are heard. The speech is heard quietly. When background noise is present, it is quite difficult to understand the speech.


    Video comparing the loudspeakers and the microphone of a panel to those of iPad Air 2 and iPad Pro:


    Panel setting (firmware version is 2.1.1.2527):

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

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

    Fanvil i12N-10p 2.png

    3 Select audio codecs and set up volume (G722 codec was tested):

    • Audio Settings - audio codes settings;
    • SPK Output Volume - volume of a loudspeaker;
    • MIC Input Volume - microphone sensitivity.
    Fanvil i12N-10p 3.png

    4 Set access parameters to external SIP server:

    Server data:

    • SIP Address - server IP address;
    • SIP Port - port.

    SIP client data to connect to the server:

    • Authentication User - user name used to register on the SIP server;
    • Authentication Password - user password used to register on the server;
    • SIP User - user name;
    • Display name - name displayed when calling;
    • Enable Registration - enable / disable SIP profile.
    Fanvil i12N-10p 4.png

    5 Set parameters of DTMF:

    • DTMF Type
    • DTMF SIP INFO Mode - a type of processing * (asterisk) and # (hash) buttons.
    Fanvil i12N-10p 5.png

    Click the Apply button. If connection to the SIP server is successful,Registered status of the account is displayed.


    6 Set a call to a subscriber with the help of a button:

    • Hot Key - a subscriber that set beforehand is called (panel with i3Pro client);
    • Value 1 - the main number;
    • Value 2 - a reserve number;
    • Line - a SIP line.
    Fanvil i12N-10p 6.png

    7 Set up a key for DTMF tones:

    • Remote DTMF Trigger - key for activating the relay via the iRidium SIP client.
    Fanvil i12N-10p 7.png


    i33V Model

    Fanvil i33V.png

    This model has a built-in speaker, microphone, front camera with infrared lighting and night vision mode. The 2 megapixel camera provides sufficient video quality enough to identify visitors. The video is transmitted in 720p quality using the H264 codec.

    G722 audio codec is used for audio transmission. The intercom has no built-in echo cancellation, this model supports only noise cancelling. Compared to 2N, the sound quality is worse. In open areas it will be difficult for the user to make out the speech of the interlocutor. The sound is not clear, noise is heard. The speech is quiet. The panel works only when noise cancelling is off.

    With iRidium SIP panel the interlocutor can be heard quite clearly, sometimes the connection is interrupted.


    Video comparing the loudspeakers and the microphone of a panel to those of iPad Air 2 and iPad Pro:


    Panel setting (firmware version is 2.4.0.6483):

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

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

    Fanvil i33V 2.png

    3 Select audio codecs (G722 was tested).

    Fanvil i33V 3.png

    4 Set access parameters to external SIP server:

    SIP client data to connect to the server:

    • Phone number - user name;
    • Display name - name displayed when calling;
    • Authentication Name - user name used to register on the SIP server;
    • Authentication Password - user password used to register on the server;
    • Activate - enable / disable SIP profile.

    Server data:

    • SIP Proxy Server Address - server IP address;
    • SIP Proxy Server Port - port.
    Fanvil i33V 4.png

    5 Set parameters of DTMF:

    • DTMF Type
    • DTMF SIP INFO Mode - a type of processing * (asterisk) and # (hash) buttons.
    Fanvil i33V 5.png

    Click the Apply button. If connection to the SIP server is successful, Registered status of the account is displayed.

    To call a subscriber dial the number on the numeric keyboard.


    6 Set DTMF tones:

    • Remote Password - a password to activate the relay with iRidium SIP client;
    • Local Password - a password to activate the relay from the keyboards of the intercom.
    Fanvil i33V 6.png

    7 Set up video display parameters:

    • Encode Format - selecting a codec;
    • Resolution - image resolution;
    • Frame Rate - frame frequency.
    Fanvil i33V 7.png

    To call from the keyboard, you need to dial: call button (C), subscriber's number, call button (C).


    i10 Model

    Fanvil i10.png

    This model has a built-in speaker and microphone. G722 audio codec is used for audio transmission. The intercom has no built-in echo cancellation, this model supports only noise cancelling. Compared to 2N, the sound quality is the same. As the model does not support echo cancellation, in open areas you will hear the interlocutor well. The sound is clear, but sometimes it is interruped. The sound was checked from a distance of about 30 cm.

    With iRidium SIP panel, the interlocutor's speech is loud and clear, sometimes the connection is interrupted. The voice is distorted, but it does not make it misunderstandable.


    Video comparing the loudspeakers and the microphone of a panel to those of iPad Air 2 and iPad Pro:


    Panel setting (firmware version is 1.2.7):

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

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

    Fanvil i10 2.png

    3 Select audio codecs (G722 was tested).

    Fanvil i10 3.png

    4 Set the volume:

    • Speakerphone Volume - the volume of a loudspeaker;
    • Speakerphone Ring Volume - the volume of a call.
    Fanvil i10 4.png

    4 Set access parameters to external SIP server:

    1. SIP client data to connect to the server:

    • Username - user name;
    • Display name - name displayed when calling;
    • Authentication User - user name used to register on the SIP server;
    • Authentication Password - user password used to register on the server;
    • Activate - enable / disable SIP profile.

    2. Server data:

    • Server Address - server IP address;
    • Server Port - port;
    • Transport Protocol - data transfer protocol.
    Fanvil i10 5.png

    6 Set parameters of DTMF tones:

    • DTMF Type
    • DTMF SIP INFO Mode - a type of processing * (asterisk) and # (hash) buttons.
    Fanvil i10 6.png

    Click the Apply button. If connection to the SIP server is successful, Registered status of the account is displayed.


    7 Set a call to a subscriber with the help of a button:

    • Memory Key - a subscriber that set beforehand is called (panel with i3Pro client);
    • Value 1 - the main number;
    • Value 2 - a reserve number.
    Fanvil i10 7.png

    8 Set up a key for DTMF:

    • DTMF Trigger Code - key for activating the relay;
    • DTMF Reset Code - code to reset DTMF Trigger Code.
    Fanvil i10 8.png

    i20S Model

    Fanvil i20S.png

    This model has a built-in speaker and microphone. G722 audio codec is used for audio transmission. The intercom has no built-in echo cancellation, this model supports only noise cancelling. Compared to 2N, the sound quality is worse. The sound is not clear, an echo is heard. The intercom forwards the speech from the microphone to the speaker.

    With iRidium SIP panel the interlocutor is hard to hear, sometimes the connection is interrupted.


    Video comparing the loudspeakers and the microphone of a panel to those of iPad Air 2 and iPad Pro:


    Panel setting (firmware version is 2.1.1.2527):

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

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

    Fanvil i20S 2.png

    3 Select audio codecs (G722 was tested).

    Fanvil i20S 3.png

    4 Set the volume:

    • Speakerphone Volume - the volume of a loudspeaker;
    • MIC Input Volume - microphone sensitivity.
    Fanvil i20S 4.png

    5 Set access parameters to external SIP server:

    SIP client data to connect to the server:

    • Username - user name;
    • Display name - name displayed when calling;
    • Authentication User - user name used to register on the SIP server;
    • Authentication Password - user password used to register on the server;
    • Activate - enable / disable SIP profile.

    Server data:

    • SIP Proxy Server Address - server IP address;
    • SIP Proxy Server Port - port.
    Fanvil i20S 5.png

    6 Set parameters of DTMF tones:

    • DTMF Type
    • DTMF SIP INFO Mode - a type of processing * (asterisk) and # (hash) buttons.
    Fanvil i20S 6.png

    Click the Apply button. If connection to the SIP server is successful, Registered status of the account is displayed.


    7 In addition to number dialing, this model supports call from a button (Hot Key). To call from the keyboard, you need to dial: asterisk (*), subscriber's number, asterisk (*).

    Set a call to a subscriber with the help of a button:

    • Hot Key - a subscriber that set beforehand is called;
    • Value 1 - the main number;
    • Value 2 - a reserve number;
    • Line - a SIP line.
    Fanvil i20S 7.png

    8 Set DTMF tones:

    • Remote Password - a password to activate the relay with iRidium SIP client;
    • Local Password - a password to activate the relay from the keyboards of the intercom.
    Fanvil i20S 8.png


    Note

    For high-quality work it is required to set the volume of the speaker and the microphone of the device in the web-interface. Standard values are set in the 1-9 range. The recommended value for i31S, i33V, i20S, i32V is 5. The recommended values for i10, i12N-01p, i16V models are 6-7.

    The speaker quality of all models is poor. It affects the quality of the outgoing sound during the conversation. The devices have good built-in microphones.

    The following technical limitations must be taken into account when working with the devices.


    Working in iRidium Studio

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

    SIP Fanvil.png

    The most important settings are marked with red.

    • Host - enter the IP-address of the call-panel (default address -192.168.1.5 )
    • Port - port of the call panel (always "5060" according to the SIP standard)
    • 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 H.264 video coder

    Deactivate other coders (false)

    3 Add graphic 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 up graphic items to work with 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 digital 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 to it the call of this script.

    Demo project

    Download the demo project

    The panel project contains:

    • a display, showing video from the camera of the call panel in real time,
    • a keyboard to dial a number,
    • a call/answer button,
    • a cancel button,
    • a button to open the door,
    • display of the current status,
    • display of subscriber's data (name, number),
    • setting loudspeaker and microphone volume of i3 pro panel.
    Came bpt 10.png
    Источник — «https://dev.iridi.com/index.php?title=SIP_Fanvil/en&oldid=114187»
    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