]> 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:45:46 +0000 (18:45 +0000)
commitbc1170d80d1ae456b113185e5823f70ea716a0bb
tree096bc9eff6e65cc63555416af71dce67d4ee73ca
parenteaf24e01fb3b2b24fe83886684d796b249013753
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 f763810447cc75b4fbee010f96059fdb9c088ae7)
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