26 lines
977 B
Bash
26 lines
977 B
Bash
# Copy to a private file, chmod 600, then fill your provider-approved values.
|
|
# Documentation-only address: this template cannot test a real line as-is.
|
|
# Plain KEY=VALUE only: no quotes, shell commands, variables or duplicate keys.
|
|
SIP_ID=test-line
|
|
SIP_SERVER=192.0.2.10
|
|
SIP_PORT=5060
|
|
SIP_CALLER_ID=YOUR_CALLER_ID
|
|
# Empty is valid, but this field must be present. Raw CLI number is unchanged.
|
|
SIP_PREFIX=
|
|
# Only these supported values are accepted; no REGISTER or Digest credentials.
|
|
SIP_TRANSPORT=udp
|
|
SIP_AUTH=ip
|
|
SIP_REGISTER=no
|
|
SIP_CODEC=alaw
|
|
|
|
# Existing native Asterisk installation and the user's private ari-secret.
|
|
ASTERISK_CONFIG_DIR=/home/rogee/.config/go-sip-asterisk
|
|
ASTERISK_BIN=/usr/local/sbin/asterisk
|
|
ASTERISK_LIBRARY_DIR=/usr/local/lib
|
|
OUTPUT_DIR=/home/rogee/.local/state/sip-call
|
|
# Ring: 1-120 seconds. Connected hold: 1-30 seconds. No redial.
|
|
RING_SECONDS=20
|
|
HOLD_SECONDS=3
|
|
# Used only with --debug/-D; no tcpdump/tshark needed otherwise.
|
|
DEBUG_INTERFACE=any
|