Brekeke PBX Wiki

pnsend

pnsend
Permissions:

admin or user

Description:

Sends Push Notification messages.

Parameters:

username – user extension if type=”user” is set. When type=”phone_id” is set, It is the SIP user ID. If you are not an admin user, this ID must be one of the user’s Phone IDs.
type – “user” or “phone_id”. When “user” is set, the notifications will be sent all of the user’s phone.
message – message
title – title
button – button
sound_file – the sound file
image_file – the image file
expires – expiration in seconds
counter – the counter
priority – the priority (1-10)

 

Version:

3.8 or later

Yes No
Suggest Edit