Files
SnipitRepo/Linux/Config-Examples/Asterisk-basic-server/pjsip.extension.conf
Bram Prieshof 2e57050f06 Added following snippits about Asterisk
* A Basic Asterisk server for internal calling with IVR, curl triggers and message playback
* A Asterisk server to act as a bridge between a Bluetooth phone (as in/out bound route)
* A Node-Red Subflow to create a call between extensions using ARI
2024-01-07 21:51:57 +01:00

33 lines
614 B
Plaintext

; Asterisk PJSIP extention config
;settings Homeassistent 'Assistent' service extention
[HomeAssistant]
type=endpoint
context=from-external
disallow=all
allow=opus
aors=HA
send_connected_line=false
rtp_keepalive=0
user_eq_phone=no
trust_id_inbound=no
direct_media=no
rtp_symmetric=yes
auth=HomeAssistant
aors=HomeAssistant
;dtmf_mode=auto
;Internal extentions (Phone,softphones or other Voip clients)
[6000]
type=endpoint
context=from-internal
callerid=DeskPhone <6000>
disallow=all
;Some phone may reqire other codecs,
;the following are available ulaw,alaw,gsm,g726,g722,opus
allow=g722
auth=6000
aors=6000