kit/asterisk/conf/pjsip_trunk_one.conf

30 lines
690 B
Plaintext

;
; /etc/asterisk/pjsip_trunk_one.conf
;
; For a local system to register as a trunk.
;
[trunk-one](trunk-defaults)
; Accept inbound auth for this trunk.
accepts_auth = yes
; UDP transport please.
transport = ipv4-udp
; What's the username?
inbound_auth/username = trunk-one
; The Password?
inbound_auth/password = BedknobsArentSupposedToWorkThatWayUNLESSYOUREBRAVE
; Choose a context name for incoming calls from this account. You'll use this
; name in your dialplan.
endpoint/context = from-trunk-one
; Max contacts should be one.
aor/max_contacts = 1
; When simultaneous logins from the same account exceed max_contacts, disconnect
; the oldest session.
aor/remove_existing = yes