2016-04-01 21:37:22 +02:00
|
|
|
{if isset($cisco_image_version)}
|
2015-11-29 01:08:41 +01:00
|
|
|
# Image version
|
2015-11-29 00:50:50 +01:00
|
|
|
image_version: "{$cisco_image_version}"
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
# Phone settings
|
2015-11-29 01:31:31 +01:00
|
|
|
phone_label: "{$label}"
|
2013-11-04 22:42:55 +01:00
|
|
|
proxy_register: 1
|
|
|
|
|
timer_register_expires: 300
|
|
|
|
|
preferred_codec: g711ulaw
|
|
|
|
|
enable_vad: 0
|
|
|
|
|
dial_template: "dialplan"
|
|
|
|
|
|
2016-01-12 10:42:59 +01:00
|
|
|
# Registration information
|
|
|
|
|
{foreach $lines as $row}
|
|
|
|
|
reg.{$row.line_number}.displayName="{$row.display_name}"
|
2015-11-29 01:08:41 +01:00
|
|
|
proxy{$row.line_number}_address: "{$row.server_address}"
|
|
|
|
|
proxy{$row.line_number}_port:"{$row.sip_port}"
|
|
|
|
|
line{$row.line_number}_name: "{$row.user_id}"
|
2015-11-29 00:50:50 +01:00
|
|
|
line{$row.line_number}_displayname: "{$row.user_id}"
|
|
|
|
|
line{$row.line_number}_shortname: "{$row.display_name}"
|
|
|
|
|
line{$row.line_number}_authname: "{$row.auth_id}"
|
2015-11-29 01:08:41 +01:00
|
|
|
line{$row.line_number}_password: "{$row.password}"
|
2015-11-29 00:50:50 +01:00
|
|
|
|
|
|
|
|
{/foreach}
|
|
|
|
|
# Emergency Proxy info
|
|
|
|
|
proxy_emergency: "{$proxy_emergency}"
|
|
|
|
|
proxy_emergency_port: "{$proxy_emergency_port}"
|
|
|
|
|
|
|
|
|
|
# Backup Proxy info
|
|
|
|
|
proxy_backup: "{$proxy_backup}"
|
|
|
|
|
proxy_backup_port: "{$proxy_backup_port}"
|
2016-01-12 10:42:59 +01:00
|
|
|
|
2015-11-29 00:50:50 +01:00
|
|
|
# Outbound Proxy info
|
|
|
|
|
outbound_proxy: "{$outbound_proxy}"
|
|
|
|
|
outbound_proxy_port: "{$outbound_proxy_port}"
|
2016-01-12 10:42:59 +01:00
|
|
|
|
2015-11-29 00:50:50 +01:00
|
|
|
# NAT/Firewall Traversal
|
|
|
|
|
voip_control_port: "5060"
|
|
|
|
|
start_media_port: "16384"
|
|
|
|
|
end_media_port: "32768"
|
|
|
|
|
nat_received_processing: "0"
|
2015-11-29 02:03:47 +01:00
|
|
|
nat_enable: "{if isset($nat_enable)}{$nat_enable}{else}1{/if}"
|
2015-11-29 01:53:44 +01:00
|
|
|
nat_address: "{$nat_nat_address}"
|
|
|
|
|
|
|
|
|
|
# Sync value of the phone used for remote reset
|
|
|
|
|
sync: 1 ; Default 1
|
2015-11-29 00:50:50 +01:00
|
|
|
|
|
|
|
|
# Proxy Registration (0-disable (default), 1-enable)
|
|
|
|
|
proxy_register: "1"
|
2016-01-12 10:42:59 +01:00
|
|
|
|
2015-11-29 00:50:50 +01:00
|
|
|
# Phone Registration Expiration [1-3932100 sec] (Default - 3600)
|
|
|
|
|
timer_register_expires: "80"
|
2016-01-12 10:42:59 +01:00
|
|
|
|
2015-11-29 00:50:50 +01:00
|
|
|
# Codec for media stream (g711ulaw (default), g711alaw, g729)
|
|
|
|
|
preferred_codec: "none"
|
2016-01-12 10:42:59 +01:00
|
|
|
|
2015-11-29 00:50:50 +01:00
|
|
|
# TOS bits in media stream [0-5] (Default - 5)
|
|
|
|
|
tos_media: "5"
|
|
|
|
|
|
|
|
|
|
# Enable VAD (0-disable (default), 1-enable)
|
|
|
|
|
enable_vad: "0"
|
2016-01-12 10:42:59 +01:00
|
|
|
|
2015-11-29 00:50:50 +01:00
|
|
|
# Allow for the bridge on a 3way call to join remaining parties upon hangup
|
|
|
|
|
cnf_join_enable: "1" ; 0-Disabled, 1-Enabled (default)
|
2016-01-12 10:42:59 +01:00
|
|
|
|
2015-11-29 00:50:50 +01:00
|
|
|
# Allow Transfer to be completed while target phone is still ringing
|
|
|
|
|
semi_attended_transfer: "0" ; 0-Disabled, 1-Enabled (default)
|
2016-01-12 10:42:59 +01:00
|
|
|
|
2016-03-11 13:10:46 +01:00
|
|
|
# Telnet Level (enable or disable the ability to telnet into this phone
|
2016-12-20 19:55:15 +01:00
|
|
|
telnet_level: "0" ; 0-Disabled (default), 1-Enabled, 2-Privileged
|
|
|
|
|
|
|
|
|
|
# Uncomment the line below for different telnet password
|
|
|
|
|
# phone_password: "FusionPBX"
|
2015-11-29 00:50:50 +01:00
|
|
|
|
|
|
|
|
# Inband DTMF Settings (0-disable, 1-enable (default))
|
|
|
|
|
dtmf_inband: "1"
|
2016-01-12 10:42:59 +01:00
|
|
|
|
2015-11-29 00:50:50 +01:00
|
|
|
# Out of band DTMF Settings (none-disable, avt-avt enable (default), avt_always - always avt )
|
|
|
|
|
dtmf_outofband: "avt"
|
2016-01-12 10:42:59 +01:00
|
|
|
|
2015-11-29 00:50:50 +01:00
|
|
|
# DTMF dB Level Settings (1-6dB down, 2-3db down, 3-nominal (default), 4-3db up, 5-6dB up)
|
|
|
|
|
dtmf_db_level: "3"
|
2016-01-12 10:42:59 +01:00
|
|
|
|
2015-11-29 00:50:50 +01:00
|
|
|
# SIP Timers
|
|
|
|
|
timer_t1: "500" ; Default 500 msec
|
|
|
|
|
timer_t2: "4000" ; Default 4 sec
|
|
|
|
|
sip_retx: "10" ; Default 11
|
|
|
|
|
sip_invite_retx: "6" ; Default 7
|
|
|
|
|
timer_invite_expires: "180" ; Default 180 sec
|
2016-01-12 10:42:59 +01:00
|
|
|
|
2015-11-29 00:50:50 +01:00
|
|
|
# Setting for Message speeddial to UOne box
|
2021-04-23 21:00:45 +02:00
|
|
|
messages_uri: "{$voicemail_number}"
|
2015-11-29 00:50:50 +01:00
|
|
|
|
|
|
|
|
# TFTP Phone Specific Configuration File Directory
|
|
|
|
|
tftp_cfg_dir: ""
|
2016-01-12 10:42:59 +01:00
|
|
|
|
2015-11-29 00:50:50 +01:00
|
|
|
# Time Server
|
|
|
|
|
sntp_mode: "unicast"
|
2015-12-03 04:36:47 +01:00
|
|
|
sntp_server: "{$ntp_server_primary}"
|
2015-11-29 00:50:50 +01:00
|
|
|
{if isset($cisco_time_zone)}
|
|
|
|
|
time_zone: "{$cisco_time_zone}"
|
|
|
|
|
{/if}
|
|
|
|
|
dst_offset: "1"
|
|
|
|
|
dst_start_month: "Mar"
|
|
|
|
|
dst_start_day: ""
|
|
|
|
|
dst_start_day_of_week: "Sun"
|
|
|
|
|
dst_start_week_of_month: "2"
|
|
|
|
|
dst_start_time: "02"
|
|
|
|
|
dst_stop_month: "Nov"
|
|
|
|
|
dst_stop_day: ""
|
|
|
|
|
dst_stop_day_of_week: "Sunday"
|
|
|
|
|
dst_stop_week_of_month: "1"
|
|
|
|
|
dst_stop_time: "2"
|
|
|
|
|
dst_auto_adjust: "1"
|
2016-01-12 10:42:59 +01:00
|
|
|
|
2015-11-29 00:50:50 +01:00
|
|
|
# Do Not Disturb Control (0-off, 1-on, 2-off with no user control, 3-on with no user control)
|
2016-01-12 10:42:59 +01:00
|
|
|
{if isset($cisco_dnd_control)}
|
|
|
|
|
dnd_control: "{$cisco_dnd_control}" ; Default 0 (Do Not Disturb feature is off)
|
|
|
|
|
{else}
|
2015-11-29 00:50:50 +01:00
|
|
|
dnd_control: "2" ; Default 0 (Do Not Disturb feature is off)
|
2016-01-12 10:42:59 +01:00
|
|
|
{/if}
|
2015-11-29 00:50:50 +01:00
|
|
|
# Caller ID Blocking (0-disabled, 1-enabled, 2-disabled no user control, 3-enabled no user control)
|
|
|
|
|
callerid_blocking: "0" ; Default 0 (Disable sending all calls as anonymous)
|
2016-01-12 10:42:59 +01:00
|
|
|
|
2015-11-29 00:50:50 +01:00
|
|
|
# Anonymous Call Blocking (0-disbaled, 1-enabled, 2-disabled no user control, 3-enabled no user control)
|
|
|
|
|
anonymous_call_block: "0" ; Default 0 (Disable blocking of anonymous calls)
|
2016-01-12 10:42:59 +01:00
|
|
|
|
2015-11-29 00:50:50 +01:00
|
|
|
# Call Waiting (0-disabled, 1-enabled, 2-disabled with no user control, 3-enabled with no user control)
|
|
|
|
|
call_waiting: "1" ; Default 1 (Call Waiting enabled)
|
|
|
|
|
|
|
|
|
|
# DTMF AVT Payload (Dynamic payload range for AVT tones - 96-127)
|
|
|
|
|
dtmf_avt_payload: "101" ; Default 100
|
2016-01-12 10:42:59 +01:00
|
|
|
|
2015-11-29 00:50:50 +01:00
|
|
|
# XML file that specifies the dialplan desired
|
|
|
|
|
dial_template: "dialplan"
|
|
|
|
|
|
|
|
|
|
# Network Media Type (auto, full100, full10, half100, half10)
|
|
|
|
|
network_media_type: "auto"
|
|
|
|
|
|
|
|
|
|
#Autocompletion During Dial (0-off, 1-on [default])
|
|
|
|
|
autocomplete: "1"
|
|
|
|
|
|
|
|
|
|
#Time Format (0-12hr, 1-24hr [default])
|
|
|
|
|
time_format_24hr: "0"
|
|
|
|
|
|
|
|
|
|
# URL for external Phone Services
|
2016-06-22 03:01:30 +02:00
|
|
|
#services_url: "http://{$domain_name}/app/provision/?file=services.xml&mac={$mac}"
|
2015-11-29 00:50:50 +01:00
|
|
|
|
|
|
|
|
# URL for external Directory location
|
2016-06-22 03:01:30 +02:00
|
|
|
directory_url: "http://{$domain_name}/app/provision/?file=directory.xml&mac={$mac}"
|
2015-11-29 00:50:50 +01:00
|
|
|
|
|
|
|
|
# URL for branding logo
|
|
|
|
|
#logo_url: "http://{$domain_name}/app/provision/logo.bmp"
|
|
|
|
|
|
|
|
|
|
# Remote Party ID
|
|
|
|
|
remote_party_id: 1 ; 0-Disabled (default), 1-Enabled
|