; SIP Configuration for Asterisk
;
; Syntax for specifying a SIP device in extensions.conf is
; SIP/devicename where devicename is defined in a section below.
;
; You may also use
; SIP/username@domain to call any SIP user on the Internet
; (Don't forget to enable DNS SRV records if you want to use this)
;
; If you define a SIP proxy as a peer below, you may call
; SIP/proxyhostname/user or SIP/user@proxyhostname
; where the proxyhostname is defined in a section below
;
; Useful CLI commands to check peers/users:
; sip show peers Show all SIP peers (including friends)
; sip show users Show all SIP users (including friends)
; sip show registry Show status of hosts we register with
;
; sip debug Show all SIP messages
;
[general]
; Default context for incoming calls
;
context=disabled-sip-insecure-read-getting-started
port=5060 ; UDP Port to bind to (SIP standard port is 5060)
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
;language=en ; Default language setting for all users/peers
; For global parameters and 'register' entries
#include "sip-reg.d/*.conf"
; For peers, each in its own section:
#include "sip-phones.d/*.conf"
----------------------- sip-reg.d/*.conf folder is empty...only has a readme in it---------------------
-----------------sip-phones.d/*.conf has 501.conf and here is that file---------------------------------
[501]
type=friend
host=dynamic
callerid="SIP Phone 501" <501>
callgroup=1
pickupgroup=1