ast: mobile - fix context

This commit is contained in:
mpmc 2023-07-04 10:26:08 +01:00
parent 5f42df7ea9
commit 073776f22c
2 changed files with 6 additions and 8 deletions

View File

@ -1,12 +1,12 @@
; ;
; /etc/asterisk/pjsip_users.conf ; /etc/asterisk/pjsip_users.conf
; ;
[1000](ext-defaults) [1000](extension-defaults)
; Yay templates; we generally only need to provide an inbound user/pass
; and a caller id.
inbound_auth/username=1000 inbound_auth/username=1000
inbound_auth/password=MapleCarrotBlueGrainFishSoapSoup inbound_auth/password=MapleCarrotBlueGrainFishSoapSoup
endpoint/callerid=1000 <Ext 1000> endpoint/callerid=1000 <Ext 1000>
endpoint/context=from-ext

View File

@ -1,7 +1,7 @@
; ;
; /etc/asterisk/pjsip_wizard.conf ; /etc/asterisk/pjsip_wizard.conf
; ;
[ext-defaults](!) [extension-defaults](!)
type=wizard type=wizard
; Users must register and auth! ; Users must register and auth!
@ -20,9 +20,6 @@ aor/remove_existing=yes
; Max simultaneous account logins. ; Max simultaneous account logins.
endpoint/max_contacts=1 endpoint/max_contacts=1
; Default context.
endpoint/context=from-ext
; Audio codecs: alaw only please. ; Audio codecs: alaw only please.
endpoint/allow=!all,alaw endpoint/allow=!all,alaw
@ -35,5 +32,6 @@ endpoint/direct_media=no
; Busy Lamp field / Presence context. ; Busy Lamp field / Presence context.
endpoint/subscribe_context=presence endpoint/subscribe_context=presence
; Load users. ;
; Load user extensions.
#tryinclude pjsip_users.conf #tryinclude pjsip_users.conf