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

    Содержание

    • 1 Asterisk FreePBX
      • 1.1 Installing Asterisk FreePBX
      • 1.2 Setting Asterisk FreePBX
      • 1.3 Working in iRidium studio
      • 1.4 Setting Video Intercom
      • 1.5 Setting Call Attempts for Asterisk
      • 1.6 Demo project

    Asterisk FreePBX

    a free software SIP server with flexible functions


    Installing Asterisk FreePBX

    1 Download Asterisk FreePBX here.

    The installation package is an .iso image file with Linux OS and Asterisk.

    2 Use the manual on installing.

    Setting Asterisk FreePBX

    1 Go to the web-interface of the Asterisk server using the IP address, set during installation. Click the "FreePBX Administration" button.

    SIP Asterisk00.png

    2 Enter the admin's login and password.

    SIP Asterisk01.png

    3 Admin panel (dashboard) of the Asterisk server opens.

    SIP Asterisk02.png

    4 Click "Extensions" in the "Applications" menu.

    SIP Asterisk03.png

    5 In IP telephony extensions are unique numbers where calls are made. SIP numbers in the intercom network are also considered extensions.

    Create a SIP subscriber by clicking "+Add New PJSIP Extension" or "+Add New Chan_SIP Extension".

    SIP Asterisk04.png

    6 Set the main parameters of a SIP subscriber.

    SIP Asterisk05.png
    • User Extension: SIP number,
    • Display Name: Caller ID,
    • Secret: password.


    7 If necessary activate voice mail in the "Voice Mail" tab. Set a password (only numbers).

    If a SIP subscriber misses a call, the auto message offers to leave a voice message after a tone. After it a SIP subscriber can listen to messages by dialing *97 123456 or *98 990 123456, where 123456 is a password of the voice mail and, 990 is a SIP number.

    If you select No in the Require From Same Extension parameter, it's enough to dial *97 (without a password) to listen to voice mail.

    SIP Asterisk06.png

    8 You can activate and set call forwarding to several other SIP numbers in the "Find Me / Follow Me" tab. A call is forwarded is there is no connection with the current SIP number or if there is no answer for a long time.

    SIP Asterisk07.png
    • Initial Ring Time: time of the first attempt to reach the main SIP number,
    • Ring Strategy: strategy of call forwarding:
      • ringallv2 - call to the main number for the time set in Initial Ring Time, then call to all numbers for the time set in Ring Time, without breaking connection with the main number,
      • ringall - call the main number then hang up and call all numbers,
      • hunt - call each number in the list one after another,
      • memoryhunt - call the first number in the list, then call the first and the second numbers, then call the first, the second and the third numbers, etc.
      • firstavailable - call the first available number,
      • firstnotonphone - call only the first number that is in on hook state,
      • -prim - the same strategies, but if the main number is busy, a call is not forwarded.
    • Ring Time: the time of call during call-forwarding,
    • Follow-Me List: a list of numbers for call-forwarding.


    9 See the from-internal context in the "Advanced" tab. Then click the "Submit" button in the right bottom corner to save a SIP subscriber.

    SIP Asterisk08.png

    10 You can create several SIP subscribers this way. Then click the "Apply Config" red button in the top right corner for the changed to come in effect on the Asterisk server.

    SIP Asterisk09.png

    11 You can set sending Push-notifications to control panels where i3 pro is minimized. Use the manual to do it.


    Working in iRidium studio

    1 Add a driver and set it as shown below.

    SIP Asterisk10.png

    Setting Video Intercom

    Video intercom is set in iRidium studio like SIP driver, but another SIP ID (Login) is used.

    Manuals on setting concrete models of video intercoms can be found here.


    Setting Call Attempts for Asterisk

    1 2. Specify the context name - from-internal.

    ContecstName.jpg


    2 Add the following strings to from-internal context in the extensions.conf file

    Asterisk recall.png
    ;----------------------------------------------------------------------
     
    ; start
    ; if an incoming call comes from 2ХХХ, set the variable value nDialIteration=0
    exten => _2XXX,1,Set(nDialIteration=0)
    ; сделай Ringing
    exten => _2XXX,2,Ringing()
     
    ; dial
    ; make a call to EXTEN number (number where to call)
    exten => _2XXX,n(dial),Dial(PJSIP/${EXTEN}, 10, t) 
    ; if ANSWER, go to enofcall
    exten => _2XXX,n,GotoIf($["${DIALSTATUS}"="ANSWER"]?endofcall)
    ; if NOANSWER, go to redial
    exten => _2XXX,n,GotoIf($["${DIALSTATUS}"="NOANSWER"]?redial)
    ; if CANCEL, go to enofcall
    exten => _2XXX,n,GotoIf($["${DIALSTATUS}"="CANCEL"]?endofcall)
    ;  if BUSY, go to enofcall
    exten => _2XXX,n,GotoIf($["${DIALSTATUS}"="BUSY"]?endofcall)
    ;  if CONGESTION, go to redial
    exten => _2XXX,n,GotoIf($["${DIALSTATUS}"="CONGESTION"]?redial)
    ;  if CHANUNAVAIL, go to redial
    exten => _2XXX,n,GotoIf($["${DIALSTATUS}"="CHANUNAVAIL"]?redial)
     
    ; redial
    ; increment of nDialIteration to +1 
    exten => _2XXX,n(redial),Set(nDialIteration=$[${nDialIteration}+1])
    ; wait 1 sec
    exten => _2XXX,n,Wait(1)
    ; if variable value is =30, do endofcall, otherwise do dial
    exten => _2XXX,n,GotoIf($["${nDialIteration}"="30"]?endofcall:dial)
     
    ; call end
    ; end the call
    exten => _2XXX,n(endofcall),Hangup()


    Demo project

    Download the demo project

    A project for a control panel can be launched in the Emulator.

    Источник — «https://dev.iridi.com/index.php?title=SIP_Asterisk/en&oldid=92746»
    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