Logo Logo en
  • iRidi Pro
    Major Components
    • i3 pro app
    • iRidi Pro Server
    • iRidi Studio
    • iRidium studio v. 1.3.8 (old version)
    Java Script in iRidi
    • Guide
    • Handbook
    • Samples
    • JS drivers
    others
    • My Account
    • iRidium Cloud
    • iRidium Transfer
    • Push notifications
    • Best practice
    Licensing policy
    • Licensing and giving ownership rights
    • Offline Licensing
    • iRidi Pro Server Activation
  • Products
    i3 lite
    • i3 lite app
    • Registration and licensing
    • Server
    • Modules
    KNX Home Server
    • i3 KNX app
    • KNX Home Server
    BUS77 HOME SERVER
    • Bus77 Home and Bus77 Lite apps
    • Bus77 Home Server
    Solutions
    • BYOD - solution for hotels
    • PMS - solution for buildings
    iRidi SCADA
    • iRidi SCADA
  • bus77_
    SETTING UP BUS77
    • Bus77 Basics
    • Bus77 Home and Bus77 Lite apps
    • Working with the Bus77 driver in iRidi Studio
    • Configuring the Bus77 in iRidi Studio
    BUS77 PROTOCOL
    • Characteristics of CAN (Bus77)
    • Исходники на GitHub
    Bus77 equipment
    • Bus77 Pro catalog
    • Bus77 Lite catalog
  • Works with
    Drivers
    • List of drivers
    • ProAV Drivers
    • AV & Custom Systems
    • JS drivers
    Protocols and interfaces
    • Voice Control
    • 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
    Manufacturers
    • 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
    Tested equipment
    • HDL S57 panel
    • HDL S10 panel
    • Intercom (SIP)
    • Akuvox
    • Arlight
    • Divus
    • QBic TD-1050 PRO
    • QBic TD-1060 Slim
    • QBic TD-1070
    • Sigur
    • Uni-Ubi
    • Velocio
  • iRidi equipment

    Servers
    • HS Server
    • ProAV Control Processor Basic
    • ProAV Control Processor Advanced
    • UMC Controller Specification
    • UMC C2 setting up
    • UMC C3 setting up
    • HDL IntelliCenter 2 (UMC C4) setting up
    Модули расширения
    • I-PX-RS1
    • I-PX-RS4
    • I-PX-IR3
    KNX
    • KNX Home Server
    • KNX IP Interface
    Control panels
    • iRidium Panel 7
    • Touch Panel P3
    • Touch Panel P6
    • Touch Panel P8
    • Touch Panel P10
    • Tabletop Touch Panel 10
    • AV Remote Control
    Bus77 equipment
    • Bus77 Pro catalog
    • Bus77 Lite catalog
    • Differences
iRidium mobile web-site
Contents
    Tools‌
    • Page information
    • Permanent link
    • Printable version
    • Special pages
    • Related changes
    • What links here
    Login / Create Account
    From for iRidium developers
    Jump to: navigation, search
    This page is a translated version of the page CloudPush and the translation is 100% complete.

    Contents

    • 1 External Push Notifications
      • 1.1 What It Is for
      • 1.2 How It Works
      • 1.3 Sending Notifications via the Cloud
      • 1.4 Setting up of SIP Intercom
        • 1.4.1 Setting up Notifications for Asterisk
        • 1.4.2 Setting up Notifications for 3CX
        • 1.4.3 Setting Notifications for 3СХ v.16
        • 1.4.4 Setting up Notifications for Mobotix

    External Push Notifications

    It is a manual on how to set up sending of Push notifications to control panels via the account on the iRidium mobile web site.

    What It Is for

    It is necessary when working with SIP. When i3 pro is closed on the control panel and intercom tries to call to it, it is required to send a Push notification to the control panel to activate the i3 pro application.

    There are two way to implement such function:
    1. To connect to the iRidium server project and make intercom call to the server. When receiving the call, the server will send a Push notification to the control panel.
    2.To send Push notifications via iRidium cloud. This manual describes this way.

    How It Works

    1. When calling from intercom, the intercom sends a request to sending a Push notification to iRidium cloud.
    2. After getting the request the cloud gives a command to send notifications to the indicated group of notifications in the indicated automation object.
    3. The cloud will send notifications to all panels which are connected to the indicated group of notifications.
    4. After seeing the notification on the control panel, the user will start the application and see the incoming call.

    Sending Notifications via the Cloud

    1. Open the automation object for which it is required to set up cloud notifications in the account and create a group of notifications.

    NewGroup.png

    2. Go to the settings of the group of notifications and click on "create key" for the required group.

    CreateKey.png

    3. Copy the key. It will be used when setting up SIP intercom.

    GetKeyButton.png
    Copykey.png

    4. Set up SIP intercom. The main thing is to create the event which will send a request about sending a Push notification in the cloud.

    The request looks as follows:

    GET http://push.iridiummobile.net/?key=INPUT_HERE_YOUR_KEY&title=You%20have%20not%20recived%20call&sound_type=1

    where
    key - the key copied from the account
    title - the notification text

    Setting up of SIP Intercom

    Setting up Notifications for Asterisk

    1. Create an user.

    2. Specify the context name - from-internal.

    ContecstName.jpg

    3. Create a file on the server Asterisk ntf.sh chmod +x.

    Bash.png

    4. Make changes in the context.

    EditContecst.png

    Bash Script text

    #! /bin/bash
     
    curl -X GET \
            'http://push.iridiummobile.net/?key=INPUTHEREYOUKEY&title=You%20have%20not%20recived%20call&sound_type=1' \ //Write the key copied from the account in the  Key parameter.
            -H 'Cache-Control: no-cache' \

    Context text

    ;Doing push
    exten => 5009,1,System(/etc/asterisk/ntf.sh "${name} (number ${CALLERID(num)})" ${EXTEN})
    ;Init incriment
    exten => 5009,n,Set(i=0)
    ;Start call cycle and incriment i
    exten => 5009,n(redail),Set(i=$[${i} + 1])
    ;Call
    exten => 5009,n,Dial(PJSIP/5009,,m)
    ;Getting abonent status
    exten => 5009,n,ChanIsAvail(PJSIP/5009,,as)
    ;Wait 5 sec
    exten => 5009,n,Wait(5)
    ;If count of trying more then 5 go out from cycle
    exten => 5009,n,GotoIF($["${i}" = "5"]?skip)
    ;If abonent is offline go to cycle start
    exten => 5009,n,GotoIF($["${AVAILSTATUS}" = "5"]?redail)
    ;Event of cycle out
    exten => 5009,n(skip),Wait(1)


    Setting up Notifications for 3CX

    1. Create 3cx Voice Call App.
    2. Add HTTP Request in it.

    Request.png

    3. Create and set up the call queue.

    Queue.jpg

    4. Add your voice application.

    VoiceMessage.jpg

    Setting Notifications for 3СХ v.16

    1 Create a new project in 3CX Call Flow Designer.

    2 Move the HTTP Request component (the list of components is on the left) in the “Drag and drop components here” fields in the Main tab.

    Push 3cx.png

    3 Open component setting with a double click.

    Push 3cx2.png

    4 Fill in the settings.

    Enter a link of external PUSH-notification in inverted commas in the URI field. The Content field must contain “”.

    Push 3cx3.png

    5 Build the app, find Build in the menu and select Build All.

    Push 3cx4.png

    6 After successful build there will appear a message at the bottom, using which you can go to a folder where a.ZIP file with the app is saved.

    Push 3cx5.png

    7 Go to the Call Flow Apps section in the web-interface of 3CX.

    8 Add the created app and wait for it to download.

    Push 3cx6.png

    9 Sending PUSH-notification can be added to both Ring Groups and Call Queues. To realize sending PUSH-notificaton via Ring Groups, create a group, add numbers of subscribers to the group. В настройках группы укажите действие Select the Send Call To Call flow Apps and the created app action in the group settings to send notifications in case a subscribed didn't answer the call.

    Push 3cx7.png

    Setting for Call Queue is done the same way

    Push 3cx8.png

    10 When a call is made to a group number or to queue number and a user misses a call, and a project to get PUSH-notifications is running, a user will get a notificaton.


    Setting up Notifications for Mobotix

    1. Go to the Mobotix web interface.
    2. Go to the Admin menu section.

    AdminMenu.png

    3. Then open the Outgoing calls settings menu in the Audio and VOIP Telephony section.

    OutgoingCalls.png

    4. Set up phone numbers and SIP addresses. 5. Set up value 10 in Dial Attempts.

    DialAttemps2.png

    5. Go to Setup menu-> Action group overview. 6. Create Action, where we set up "If the intercom call button is pushed, then:"
    Action 1 - start calling to the control panel
    Action 2 - select the value SimpleNotify.

    Action2.png

    7. Go to the IP Notify window in the same section.

    IPCotify.png

    8. Open Simple Nofity and set up the parameters:

    Destination Address = push.iridiummobile.net:80
    Data Protocol = HTTP/1.0 Request

    in the next field input the request text described above.

    /?key=INPUTHEREYOUKEY&title=You%20have%20not%20recived%20call&sound_type=1

    IPNotifyProps.png

    At that, the setting up of Mobotix is finished.

    Retrieved from "https://dev.iridiummobile.net/index.php?title=CloudPush/en&oldid=100164"
    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