mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-03 18:33:49 +00:00
78 lines
4.0 KiB
INI
78 lines
4.0 KiB
INI
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<PHONE>
|
|
<REGISTRATION
|
|
{foreach $lines as $row}reg.{$row.line_number}.displayName="{$row.user_id}"
|
|
reg.{$row.line_number}.address="{$row.user_id}"
|
|
reg.{$row.line_number}.label="{$row.user_id}"
|
|
reg.{$row.line_number}.auth.userId="{$row.user_id}"
|
|
reg.{$row.line_number}.auth.password="{$row.password}"
|
|
{if isset($row.outbound_proxy)}reg.{$row.line_number}.outboundProxy.address = "{$row.outbound_proxy}"{/if}
|
|
|
|
{if isset($row.sip_port)}reg.{$row.line_number}.outboundProxy.port="{$row.sip_port}"{else}reg.{$row.line_number}.server.1.port="5060"{/if}
|
|
|
|
{if $row.sip_transport == ''}reg.{$row.line_number}.outboundProxy.transport="TCPOnly"{/if}
|
|
{if $row.sip_transport == 'tcp'}reg.{$row.line_number}.outboundProxy.transport="TCPOnly"{/if}
|
|
{if $row.sip_transport == 'udp'}reg.{$row.line_number}.outboundProxy.transport="UDPOnly"{/if}
|
|
{if $row.sip_transport == 'tls'}reg.{$row.line_number}.outboundProxy.transport="TLS" {/if}
|
|
{if $row.sip_transport == 'dns srv'}reg.{$row.line_number}.outboundProxy.transport="DNSnaptr"{/if}
|
|
|
|
reg.{$row.line_number}.server.1.address="{$row.server_address}"
|
|
|
|
{if $row.sip_transport == ''}reg.{$row.line_number}.server.1.transport="TCPOnly"{/if}
|
|
{if $row.sip_transport == 'tcp'}reg.{$row.line_number}.server.1.transport="TCPOnly"{/if}
|
|
{if $row.sip_transport == 'udp'}reg.{$row.line_number}.server.1.transport="UDPOnly"{/if}
|
|
{if $row.sip_transport == 'tls'}reg.{$row.line_number}.server.1.transport="TLS" {/if}
|
|
{if $row.sip_transport == 'dns srv'}reg.{$row.line_number}.server.1.transport="DNSnaptr"{/if}
|
|
|
|
{if isset($row.register_expires)}reg.{$row.line_number}.server.1.expires="{$row.register_expires}"{else}reg.{$row.line_number}.server.1.expires="{$row.register_expires}"{/if}
|
|
|
|
{/foreach}
|
|
/>
|
|
<DEVICE_SETTINGS
|
|
device.sntp.serverName="pool.ntp.org"
|
|
device.sntp.gmtOffset="{$polycom_gmt_offset}"
|
|
device.auth.localAdminPassword.set="1"
|
|
device.auth.localAdminPassword="{$admin_password}"
|
|
/>
|
|
<SNTP
|
|
tcpIpApp.sntp.resyncPeriod="86400"
|
|
tcpIpApp.sntp.address="pool.ntp.org" tcpIpApp.sntp.address.overrideDHCP="0"
|
|
tcpIpApp.sntp.gmtOffset="{$polycom_gmt_offset}" tcpIpApp.sntp.gmtOffset.overrideDHCP="0"
|
|
tcpIpApp.sntp.daylightSavings.enable="1" tcpIpApp.sntp.daylightSavings.fixedDayEnable="1"
|
|
tcpIpApp.sntp.daylightSavings.start.month="3" tcpIpApp.sntp.daylightSavings.start.date="28"
|
|
tcpIpApp.sntp.daylightSavings.start.time="2" tcpIpApp.sntp.daylightSavings.start.dayOfWeek="1"
|
|
tcpIpApp.sntp.daylightSavings.start.dayOfWeek.lastInMonth="0"
|
|
tcpIpApp.sntp.daylightSavings.stop.month="9" tcpIpApp.sntp.daylightSavings.stop.date="23"
|
|
tcpIpApp.sntp.daylightSavings.stop.time="2" tcpIpApp.sntp.daylightSavings.stop.dayOfWeek="0"
|
|
tcpIpApp.sntp.daylightSavings.stop.dayOfWeek.lastInMonth="0"
|
|
/>
|
|
<DIALPLAN
|
|
dialplan.digitmap="[*]xxxx|[2-9]11|0T|011xxx.T|[0-1][2-9]xxxxxxxxx|[2-9]xxxxxxxxx|[1-9]xxT|**x.T"
|
|
/>
|
|
<DEVICE_KEYS
|
|
attendant.uri=""
|
|
attendant.behaviors.display.remoteCallerID.automata="1"
|
|
attendant.behaviors.display.remoteCallerID.normal="1"
|
|
attendant.behaviors.display.spontaneousCallAppearances.automata="1"
|
|
attendant.behaviors.display.spontaneousCallAppearances.normal="0"
|
|
{foreach $keys as $row}{if $row.device_key_category == "line"}{if $row.device_key_type != "line"}attendant.resourceList.{$row.device_key_id}.address="{$row.device_key_value}"
|
|
attendant.resourceList.{$row.device_key_id}.callAddress=""
|
|
attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}"
|
|
attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0"
|
|
attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}"
|
|
{/if}{/if}
|
|
{/foreach}
|
|
/>
|
|
<MULTICAST_PAGING
|
|
ptt.pageMode.enable="1"
|
|
ptt.pageMode.displayName="INTERCOM"
|
|
/>
|
|
<REMOTE_PACKET_CAPTURE
|
|
diags.pcap.enabled="0"
|
|
diags.pcap.remote.enabled="0"
|
|
/>
|
|
<GENERAL
|
|
voIpProt.SIP.specialEvent.checkSync.alwaysReboot="1"
|
|
voice.volume.persist.handset="1"
|
|
/>
|
|
</PHONE> |