mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-05 12:53:45 +00:00
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>
This commit is contained in:
committed by
asterisk-org-access-app[bot]
parent
2328a0ab3a
commit
b2455b2732
@@ -55,3 +55,17 @@ Event=>check-sync\;reboot=true
|
||||
|
||||
[cisco-check-cfg]
|
||||
Event=>check-sync
|
||||
|
||||
; custom examples to use for PJSIPNotify application
|
||||
|
||||
; tell an endpoint to check messages
|
||||
[custom-notify-1]
|
||||
Event=>custom
|
||||
Content-type=>application/voicemail
|
||||
Content=>check-messages
|
||||
Content=>
|
||||
|
||||
; tell an endpoint to force a remote hangup via custom header
|
||||
[custom-notify-2]
|
||||
Event=>custom
|
||||
X-Data=>force-hangup
|
||||
Reference in New Issue
Block a user