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
This commit is contained in:
2024-01-07 21:51:57 +01:00
parent 380353f4ea
commit 2e57050f06
41 changed files with 845 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
; 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