36 lines
696 B
Plaintext
36 lines
696 B
Plaintext
[general]
|
|
; Default context for incoming calls.
|
|
context=public
|
|
; Determines whether a phone is available before accepting call.
|
|
qualify=yes
|
|
|
|
; Settings common to all trunks.
|
|
[trunk](!)
|
|
type=peer
|
|
nat=no
|
|
qualify=yes
|
|
insecure=port,invite
|
|
dtmfmode=rfc2833
|
|
allow=ulaw,alaw,G729
|
|
|
|
; Settings common to all internal extensions.
|
|
[internal](!)
|
|
context=internal
|
|
type=friend
|
|
host=dynamic
|
|
allow=ulaw,alaw,G729
|
|
|
|
|
|
; Twilio trunk.
|
|
[twilio](trunk)
|
|
context=441234567890
|
|
fromuser=441234567890
|
|
host=example.pstn.ie1.twilio.com
|
|
|
|
; Internal extensions.
|
|
[1000](internal)
|
|
secret=supersecurepassword
|
|
|
|
[1001](internal)
|
|
secret=supersecurepassword
|