[Asterisk-code-review] basic-pbx: Update configuration to work with current modules. (...asterisk[13])

Friendly Automation asteriskteam at digium.com
Tue Mar 5 06:46:08 CST 2019


Friendly Automation has submitted this change and it was merged. ( https://gerrit.asterisk.org/c/asterisk/+/11088 )

Change subject: basic-pbx: Update configuration to work with current modules.
......................................................................

basic-pbx: Update configuration to work with current modules.

The res_pjsip_websocket module requires the res_http_websocket
module so ensure it is loaded. As well the res_pjsip_notify
module needs the pjsip_notify.conf configuration file so
ensure it is installed.

ASTERISK-28272

Change-Id: I261659b84e7a6ac4cb49990d9badb4b2ad01bacd
---
M configs/basic-pbx/modules.conf
A configs/basic-pbx/pjsip_notify.conf
2 files changed, 58 insertions(+), 1 deletion(-)

Approvals:
  Benjamin Keith Ford: Looks good to me, but someone else must approve
  Sean Bright: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved
  Friendly Automation: Approved for Submit



diff --git a/configs/basic-pbx/modules.conf b/configs/basic-pbx/modules.conf
index 05cb9e5..be35e28 100644
--- a/configs/basic-pbx/modules.conf
+++ b/configs/basic-pbx/modules.conf
@@ -63,6 +63,7 @@
 
 ; Resources
 
+load = res_http_websocket.so
 load = res_musiconhold.so
 load = res_pjproject.so
 load = res_pjsip_acl.so
@@ -93,7 +94,6 @@
 load = res_pjsip_publish_asterisk.so
 load = res_pjsip_pubsub.so
 load = res_pjsip_refer.so
-load = res_pjsip_registrar_expire.so
 load = res_pjsip_registrar.so
 load = res_pjsip_rfc3326.so
 load = res_pjsip_sdp_rtp.so
diff --git a/configs/basic-pbx/pjsip_notify.conf b/configs/basic-pbx/pjsip_notify.conf
new file mode 100644
index 0000000..8224ee1
--- /dev/null
+++ b/configs/basic-pbx/pjsip_notify.conf
@@ -0,0 +1,57 @@
+; 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 at 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

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/11088
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Change-Id: I261659b84e7a6ac4cb49990d9badb4b2ad01bacd
Gerrit-Change-Number: 11088
Gerrit-PatchSet: 1
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190305/225abb50/attachment.html>


More information about the asterisk-code-review mailing list