11.10.2019

PUSH NOTIFICATION. IOS. FLEXISIP. NODE.JS

  1. install flexisip,
  2. install node.js,
  3. get apple certificate in p8 format,
  4. add apn library for node.js
    npm install apn
    npm install systemd-journald (check dependencies at end)
  5. change some parameters accordingly to your certificate and start test.js it will recieve http request from flexisip,
  6. copy flexisip.conf dont’ forget to change parameters inside file.

for ubuntu 18: update npm to stable\latest version
apt install pkg-config
apt install libsystemd-dev