- root@box:~# cat /etc/asterisk/sip_notify.conf
- ; rfc3842
- ; put empty "Content=>" at the end to have CRLF after last body line
- [clear-mwi]
- Event=>message-summary
- Content-type=>application/simple-message-summary
- Content=>Messages-Waiting: no
- Content=>Message-Account: sip:asterisk@127.0.0.1
- Content=>Voice-Message: 0/0 (0/0)
- Content=>
- ; Aastra
- [aastra-check-cfg]
- Event=>check-sync
- [aastra-xml]
- Event=>aastra-xml
- ; Digium
- [digium-check-cfg]
- Event=>check-sync
- ; Linksys
- [linksys-cold-restart]
- Event=>reboot_now
- [linksys-warm-restart]
- Event=>restart_now
- ; Polycom
- [polycom-check-cfg]
- Event=>check-sync
- ; Sipura
- [sipura-check-cfg]
- Event=>resync
- [sipura-get-report]
- Event=>report
- ; snom
- [snom-check-cfg]
- Event=>check-sync\;reboot=false
- [snom-reboot]
- Event=>check-sync\;reboot=true
- ; Cisco
- [cisco-check-cfg]
- Event=>check-sync
- ; Grandstream
- [gsreboot]
- Event=>check-sync
- root@box:~# asterisk -rx 'sip notify gsreboot 100'
- Sending NOTIFY of type 'gsreboot' to '100'