]> 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:28 +0000 (21:20 +0000)
commitf763810447cc75b4fbee010f96059fdb9c088ae7
tree9d2f1e5c477ab38ccf9f73cb9d4b862e8d4c4c43
parentd491d419501213b276bc967de03fd37e78561d59
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