]> 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-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Mon, 12 Aug 2024 21:20:39 +0000 (21:20 +0000)
commitb2455b27329b2d57f2bb2e2cb7c7806b301116b0
tree14223431fffdd0fbaef44be831566be9acc2e32e
parent2328a0ab3a145689806ec883ba833d8bbd106c90
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>
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