]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_notify: add dialplan application
authorMike Bradeen <mbradeen@sangoma.com>
Tue, 9 Jul 2024 22:11:36 +0000 (16:11 -0600)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 12 Sep 2024 18:44:38 +0000 (18:44 +0000)
commit40d7ce1084d0e4d78d41577c8114f5c0c793869c
treece8165a779e8fca2478f9b67099f6d4e122d4e72
parent3f670e63587db06d0a6bc810e300b5a5381391f2
res_pjsip_notify: add dialplan application

Add dialplan application PJSIPNOTIFY to send either pre-configured
NOTIFY messages from pjsip_notify.conf or with headers defined in
dialplan.

Also adds the ability to send pre-configured NOTIFY commands to a
channel via the CLI.

Resolves: #799

UserNote: A new dialplan application PJSIPNotify is now available
which can send SIP NOTIFY requests from the dialplan.

The pjsip send notify CLI command has also been enhanced to allow
sending NOTIFY messages to a specific channel. Syntax:

pjsip send notify <option> channel <channel>

(cherry picked from commit e94c5f0d3bfa965a794f07666dc9d291f85b4179)
channels/pjsip/dialplan_functions_doc.xml
configs/samples/extensions.conf.sample
configs/samples/pjsip.conf.sample
configs/samples/pjsip_notify.conf.sample
res/res_pjsip_notify.c