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,30 @@
; Asterisk PJSIP config
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0
;Internal VoipClient
[7000]
type=endpoint
context=from-internal
callerid=DeskPhone <7000>
disallow=all
;Some phone may reqire other codecs,
;the following are available ulaw,alaw,gsm,g726,g722,opus
allow=g722
auth=7000
aors=7000
[7000]
type=auth
auth_type=userpass
password=<Password>
username=7000
[7000]
type=aor
; if one device is connected setting '1' is okay
; when a device sometimes fails to register (like my Friz!box) try increasing it, '5' is a safe value
max_contacts=1