Example Phone Configuration.
[bobsphone]
type=phone
mac=0123456789ab
pin=10101019
line=bob101
line=bob102
external_line=bobexternal
;config_file
full_name=Bob's Phone
contact=bobstonctacts.xml
blf_contact_group=RapidDial
timezone=America/Los_Angeles
ntp_server=0.digium.pool.ntp.org
ntp_resync==86400
parking_exten=700
parking_transfer_type=blind
ringtone=GuitarStrum
web_ui_enabled=no
blf_unused_linekeys=no
d40_logo_file=d40_logo.png
d50_logo_file=d50_logo.png
d70_logo_file=d70_logo.png
Line Configuration Options
Internal lines are SIP peers (friends), but there is Digium Phone-specific data associated with lines that does not otherwise exist in the sip.conf
entry. Because of this, advanced line features must be defined separately from sip.conf, here, in res_digium_phone.conf. Advanced line
configuration is not a requirement to get a line to work, it only acts as a method of setting advanced phone features to an already-defined sip.conf
entry.
Option
Values
Description
exten
string, e.g.
1000
When the sip peer name is different than the actual extension used to contact this line, this option
should be set to the line's dialable extension. By default it is assumed that the sip peer name is
actual extension, which is true for most Asterisk distributions such as FreePBX and AsteriskNOW,
but is not considered a best practice for use of generic Asterisk.
digit_map
Digit mapping,
see
[\#dialplans|]
The digit mapping to use for this line.
line_label
string, e.g.
MD 123
The line label to display on the phone for this line's line key.
language
string, e.g.
en_US
The preferred language to use for this line. Currently, only US English is supported.
mailbox
mailbox from
voicemail.conf
The voicemail box associated with the line. When not set, this will default first to the mailbox
defined for the sip peer associated with the line, and second to a mailbox entry in voicemail.conf
matching the name of the line. IF neither of these are found and this option is not set, the line does
not have a mailbox and visual voicemail will not be enabled.
voicemail_uri
string,
sip:user@host
If the phone's Msgs button should dial a SIP URI rather than opening the visual voicemail
application, this option specifies what URI the Msgs button should dial. Setting this option on a
phone's primary lie will disable visual voicemail.
outboundproxy_address
Host / IP
address
The Outbound SIP proxy address this line should use
outboundproxy_port
Port as
integer
The port of the Outbound SIP proxy; defaults to 5060 when outboundproxy_address is set
transport
udp, tcp
SIP transport method this line should use. Defaults to udp
reregistration_timeout
integer, e.g.
300
The number of seconds before re-registering