From c65a72b630760dc8f2ebbdf9cc83c1bfdf9a24db Mon Sep 17 00:00:00 2001 From: mpmc Date: Wed, 5 Jul 2023 09:57:04 +0100 Subject: [PATCH] ast: update presence context --- asterisk/conf/mobile/extensions.conf | 4 ++-- asterisk/conf/mobile/indications.conf | 2 +- asterisk/conf/mobile/pjsip_wizard.conf | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/asterisk/conf/mobile/extensions.conf b/asterisk/conf/mobile/extensions.conf index d6a085b..fbbadee 100644 --- a/asterisk/conf/mobile/extensions.conf +++ b/asterisk/conf/mobile/extensions.conf @@ -4,10 +4,10 @@ ; ; First, some safeguards against abuse of the built-in contexts. [default] -exten => s,1,Verbose(1, "INFO ${CALLERID(num)} was passed to default.") +exten => s,1,Verbose(1, "info ${CALLERID(num)} was passed to default") same => n,Hangup(3) -[subscribe] +[presence] exten => _X.,hint,PJSIP/${EXTEN} [from-ext] diff --git a/asterisk/conf/mobile/indications.conf b/asterisk/conf/mobile/indications.conf index 89fb053..b88317b 100644 --- a/asterisk/conf/mobile/indications.conf +++ b/asterisk/conf/mobile/indications.conf @@ -14,7 +14,7 @@ ; [general] -country=uk ; default location +country = uk ; default location ; [example] diff --git a/asterisk/conf/mobile/pjsip_wizard.conf b/asterisk/conf/mobile/pjsip_wizard.conf index 0e2d5fe..9384a91 100644 --- a/asterisk/conf/mobile/pjsip_wizard.conf +++ b/asterisk/conf/mobile/pjsip_wizard.conf @@ -47,7 +47,7 @@ endpoint/allow = !all,alaw ; Context name for BLF/presence subscriptions. This can be any string of your ; choosing. -endpoint/subscribe_context = subscribe +endpoint/subscribe_context = presence ; Default language, pjsip wizard appears to ignore global setting. endpoint/language = en_GB