]> 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)
committerMike Bradeen <mbradeen@sangoma.com>
Mon, 12 Aug 2024 21:20:26 +0000 (21:20 +0000)
commite94c5f0d3bfa965a794f07666dc9d291f85b4179
tree643d163b5233b368c0d9de90a306c46a131451bf
parent2da5559482c8ed2521f11b51e9601a72954f7558
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