Skip to content

innovaphone/jsbadgeexample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JS Badge Example

Steps required for the badge notifications from the App Service:

  • In the config.json enable presence subscription for the App
  • On the App Object enable "WebSocket" option to establish a WS connection from the PBX to the App Service and enable "PbxSignal" API
  • in the innovaphone-jsbadgeexampleservice.js implement following functionality:
    • create registration to the PBX from App Service ( { "api": "PbxSignal", "mt": "Register", "flags": "NO_MEDIA_CALL" } )
    • connect incoming presence_subscribe calls ({ "mt": "Signaling", "api": "PbxSignal", "call": obj.call, "sig": { "type": "conn" } })
    • send badge notifications on connected calls (see function updateBadge)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published