Prerelease 11.10.2017
temp update fore fix Undefined index: Russian_Russia
This commit is contained in:
parent
524b602a5e
commit
e3a14afae2
554
!Readme.txt/SEP0000000000.cnf.xml_annotated
Normal file
554
!Readme.txt/SEP0000000000.cnf.xml_annotated
Normal file
|
@ -0,0 +1,554 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<device>
|
||||||
|
<fullConfig>true</fullConfig>
|
||||||
|
<deviceProtocol>SCCP</deviceProtocol>
|
||||||
|
<sshUserId>cisco</sshUserId>
|
||||||
|
<sshPassword>cisco</sshPassword>
|
||||||
|
<!--
|
||||||
|
After using the above login, you will be prompted again for a username/password.
|
||||||
|
Use debug/debug for this second login, and type 'help' for commands.
|
||||||
|
(also see note about sshAccess below)
|
||||||
|
-->
|
||||||
|
<devicePool>
|
||||||
|
<revertPriority>0</revertPriority>
|
||||||
|
<name>Default</name>
|
||||||
|
<dateTimeSetting>
|
||||||
|
<name>Netherlands</name>
|
||||||
|
<dateTemplate>D/M/YA</dateTemplate>
|
||||||
|
<timeZone>W. Europe Standard/Daylight Time</timeZone>
|
||||||
|
<ntps>
|
||||||
|
<ntp>
|
||||||
|
<name>pool.ntp.org</name>
|
||||||
|
<ntpMode>Unicast</ntpMode>
|
||||||
|
</ntp>
|
||||||
|
</ntps>
|
||||||
|
</dateTimeSetting>
|
||||||
|
<callManagerGroup>
|
||||||
|
<name>Default</name>
|
||||||
|
<tftpDefault>true</tftpDefault>
|
||||||
|
<members>
|
||||||
|
<member priority="0">
|
||||||
|
<callManager>
|
||||||
|
<name>Asterisk</name>
|
||||||
|
<description>Primary Asterisk Server</description>
|
||||||
|
<ports>
|
||||||
|
<ethernetPhonePort>2000</ethernetPhonePort>
|
||||||
|
<!--
|
||||||
|
<sipPort>5060</sipPort>
|
||||||
|
<securedSipPort>5061</securedSipPort>
|
||||||
|
<mgcpPorts>
|
||||||
|
<listen>2427</listen>
|
||||||
|
<keepAlive>2428</keepAlive>
|
||||||
|
</mgcpPorts>
|
||||||
|
-->
|
||||||
|
</ports>
|
||||||
|
<processNodeName>x.x.x.x</processNodeName>
|
||||||
|
</callManager>
|
||||||
|
</member>
|
||||||
|
<member priority="1">
|
||||||
|
<callManager>
|
||||||
|
<name>Asterisk 1</name>
|
||||||
|
<description>Secundary Asterisk Server</description>
|
||||||
|
<ports>
|
||||||
|
<ethernetPhonePort>2000</ethernetPhonePort>
|
||||||
|
<!--
|
||||||
|
<sipPort>5060</sipPort>
|
||||||
|
<securedSipPort>5061</securedSipPort>
|
||||||
|
<mgcpPorts>
|
||||||
|
<listen>2427</listen>
|
||||||
|
<keepAlive>2428</keepAlive>
|
||||||
|
</mgcpPorts>
|
||||||
|
-->
|
||||||
|
</ports>
|
||||||
|
<processNodeName>x.x.x.x</processNodeName>
|
||||||
|
<!--
|
||||||
|
'processNodeName' is the ip address of your asterisk server.
|
||||||
|
-->
|
||||||
|
</callManager>
|
||||||
|
</member>
|
||||||
|
</members>
|
||||||
|
</callManagerGroup>
|
||||||
|
<srstInfo>
|
||||||
|
<name>Enable</name>
|
||||||
|
<srstOption>Enable</srstOption>
|
||||||
|
<userModifiable>true</userModifiable>
|
||||||
|
<ipAddr1>x.x.x.x</ipAddr1>
|
||||||
|
<port1>2000</port1>
|
||||||
|
<ipAddr2></ipAddr2>
|
||||||
|
<port2>2000</port2>
|
||||||
|
<ipAddr3></ipAddr3>
|
||||||
|
<port3>2000</port3>
|
||||||
|
<sipIpAddr1>192.168.5.101</sipIpAddr1>
|
||||||
|
<sipPort1>5060</sipPort1>
|
||||||
|
<sipIpAddr2></sipIpAddr2>
|
||||||
|
<sipPort2>5060</sipPort2>
|
||||||
|
<sipIpAddr3></sipIpAddr3>
|
||||||
|
<sipPort3>5060</sipPort3>
|
||||||
|
<isSecure>false</isSecure>
|
||||||
|
</srstInfo>
|
||||||
|
<mlppDomainId>-1</mlppDomainId>
|
||||||
|
<mlppIndicationStatus>Default</mlppIndicationStatus>
|
||||||
|
<preemption>Default</preemption>
|
||||||
|
<connectionMonitorDuration>120</connectionMonitorDuration>
|
||||||
|
</devicePool>
|
||||||
|
<commonProfile>
|
||||||
|
<phonePassword></phonePassword>
|
||||||
|
<backgroundImageAccess>true</backgroundImageAccess>
|
||||||
|
<callLogBlfEnabled>2</callLogBlfEnabled>
|
||||||
|
</commonProfile>
|
||||||
|
<vendorConfig>
|
||||||
|
<ehookEnable>1</ehookEnable>
|
||||||
|
<!--
|
||||||
|
Headset Hookswitch Control
|
||||||
|
This allows the headset to take the phone off-hook (with appropriate
|
||||||
|
cables/connections etc)
|
||||||
|
-->
|
||||||
|
|
||||||
|
<disableSpeaker>false</disableSpeaker>
|
||||||
|
<!--
|
||||||
|
Disable only the speakerphone functionality.
|
||||||
|
Disabling speakerphone functionality will not affect the handset.
|
||||||
|
true = Disabled.
|
||||||
|
false = Enabled (default).
|
||||||
|
-->
|
||||||
|
|
||||||
|
<disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>
|
||||||
|
<!--
|
||||||
|
Enables and disables the speakerphone and headset.
|
||||||
|
true = Disabled.
|
||||||
|
false = Enabled (default).
|
||||||
|
-->
|
||||||
|
|
||||||
|
<pcPort>0</pcPort>
|
||||||
|
<!--
|
||||||
|
Enables and disables the Ethernet switch port on the phone so the IP phone can
|
||||||
|
have access to an Ethernet connection for a PC connection through the phone.
|
||||||
|
0 = Enabled (default).
|
||||||
|
1 = Disabled.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<settingsAccess>1</settingsAccess>
|
||||||
|
<!--
|
||||||
|
Enables and disables the Settings button on an IP phone.
|
||||||
|
Indicates whether the Settings button on the phone is functional. When Settings Access is enabled, you can change the phone network configuration, ring type, and volume on the phone. When Settings Access is disabled, the Settings button is completely disabled; no options appear when you press the button. Also, you cannot adjust the ringer volume or save any volume settings. By default, Settings Access is enabled.
|
||||||
|
0 = Disabled.
|
||||||
|
1 = Enabled (default). The phone user can modify features by using the Settings menu.
|
||||||
|
2 = Restricted. The phone user is allowed to access User Preferences and volume settings only.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<garp>0</garp>
|
||||||
|
<!--
|
||||||
|
Enables and disables IP phone response to gratuitous Address Resolution
|
||||||
|
Protocol (ARP) messages from the IP phone's Ethernet interface.
|
||||||
|
Indicates whether the phone will learn MAC addresses from Gratuitous ARP responses. Disabling the phones ability to accept Gratuitous ARP will prevent applications which use this mechanism for monitoring and recording of voice streams from working. If monitoring capability is not desired, change this setting to Disabled.
|
||||||
|
0 = Disabled.
|
||||||
|
1 = Enabled (default).
|
||||||
|
-->
|
||||||
|
|
||||||
|
<voiceVlanAccess>0</voiceVlanAccess>
|
||||||
|
<!--
|
||||||
|
Enables and disables spanning, which is the IP phone's access to the voice
|
||||||
|
VLAN of the PC to which the IP phone's Ethernet port is connected.
|
||||||
|
0 = Enabled (default).
|
||||||
|
1 = Disabled.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<videoCapability>1</videoCapability>
|
||||||
|
<!--
|
||||||
|
a 7975G doesn't have any "real" video capability, it requires software
|
||||||
|
called video advantage to stream webcam/video from a pc connected to
|
||||||
|
the pc-port on the back of the phone. Enabled here just as a
|
||||||
|
curiosity for now.
|
||||||
|
|
||||||
|
Make sure this is only set when video is available. Seems to cause sporadic issues if not.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<autoSelectLineEnable>0</autoSelectLineEnable>
|
||||||
|
<!--
|
||||||
|
Enables and disables auto line selection.
|
||||||
|
0 = Disabled.
|
||||||
|
1 = Enabled (default).
|
||||||
|
-->
|
||||||
|
|
||||||
|
<webAccess>0</webAccess>
|
||||||
|
<!--
|
||||||
|
Enables and disables web access that allows phone users to configure settings and features on User Option web pages.
|
||||||
|
This parameter indicates whether the phone will accept connections from a web browser or other HTTP client.
|
||||||
|
Disabling the web server functionality of the phone will block access to the phones internal web pages.
|
||||||
|
These pages provide statistics and configuration information.
|
||||||
|
Features, such as QRT ( Quality Report Tool ), will not function properly without access to the phones web pages.
|
||||||
|
This setting will also affect any serviceability application such as CiscoWorks 2000 that relies on web access.
|
||||||
|
The following options are available.
|
||||||
|
Disabled: Phone does not accept any HTTP connection. HTTP server is disabled on the phone.
|
||||||
|
Read Only: Phone displays web pages but does not allow any configuration.
|
||||||
|
Full: Phone displays web pages and allows configuration.
|
||||||
|
0 = Enabled (default).
|
||||||
|
1 = Disabled.
|
||||||
|
2 = Read Only.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<daysDisplayNotActive>1,7</daysDisplayNotActive> <!-- sunday = 1, sat = 7 -->
|
||||||
|
<displayOnTime>08:00</displayOnTime>
|
||||||
|
<displayOnDuration>12:00</displayOnDuration>
|
||||||
|
<displayIdleTimeout>00:10</displayIdleTimeout>
|
||||||
|
<displayOnWhenIncomingCall>1</displayOnWhenIncomingCall>
|
||||||
|
|
||||||
|
<forwardingDelay>1</forwardingDelay>
|
||||||
|
|
||||||
|
<loggingDisplay>1</loggingDisplay>
|
||||||
|
|
||||||
|
<!-- <headsetWidebandUIControl>1</headsetWidebandUIControl> -->
|
||||||
|
<!--
|
||||||
|
Enables or disables wideband headset option on supported IP phones.
|
||||||
|
If the headsetWidebandUIControl parameter is set to Enable (0), the option set
|
||||||
|
in the phone UI, by the phone user, has priority over the value set for this
|
||||||
|
parameter.
|
||||||
|
0 = Enabled (default). Enables wideband headset on phone.
|
||||||
|
1 = Disabled. Disables wideband headset on phone.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- <handsetWidebandUIControl>1</handsetWidebandUIControl> -->
|
||||||
|
<!--
|
||||||
|
Enables or disables control of handset options by phone user.
|
||||||
|
0 = Enabled (default). Allows phone user to select either narrowband or wideband handset in the phone UI.
|
||||||
|
1 = Disabled.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- <headsetWidebandEnable>1</headsetWidebandEnable> -->
|
||||||
|
<!--
|
||||||
|
Enables or disables control of headset option by phone user.
|
||||||
|
0 = Enabled (default). Allows phone user to select either narrowband or wideband headset
|
||||||
|
1 = Disabled.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- <handsetWidebandEnable>1</handsetWidebandEnable> -->
|
||||||
|
<!--
|
||||||
|
Enables or disables wideband handset option on supported IP phones.
|
||||||
|
If the handsetWidebandUIControl parameter is set to Enable (1), the option
|
||||||
|
set in the phone UI, by the phone user, has priority over the value set for
|
||||||
|
this parameter.
|
||||||
|
0 = Phone default (default), equal to disabled or enabled and set by manufacturer.
|
||||||
|
1 = Enabled. Enables wideband handset on phone.
|
||||||
|
2 = Disabled. Disables wideband headset on phone.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<spanToPCPort>1</spanToPCPort>
|
||||||
|
<!--
|
||||||
|
Enables and disables the path between the Ethernet switch port of an IP phone
|
||||||
|
and a connection to a PC.
|
||||||
|
0 = Enabled (default).
|
||||||
|
1 = Disabled.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<g722CodecSupport>2</g722CodecSupport>
|
||||||
|
<!--
|
||||||
|
Enables and disables the registration of the G.722 codec on the IP phone.
|
||||||
|
0 = Phone default (default), equal to disabled or enabled and set by manufacturer.
|
||||||
|
1 = Disabled. Disables G.722-64K2 codec on phone.
|
||||||
|
2 = Enabled. Enables G.722-64K codec on phone.
|
||||||
|
See also advertiseG722Codec
|
||||||
|
-->
|
||||||
|
|
||||||
|
<peerFirmwareSharing>1</peerFirmwareSharing>
|
||||||
|
<enableCdpSwPort>1</enableCdpSwPort>
|
||||||
|
<enableCdpPcPort>1</enableCdpPcPort>
|
||||||
|
<enableLldpSwPort>1</enableLldpSwPort>
|
||||||
|
<enableLldpPcPort>1</enableLldpPcPort>
|
||||||
|
<lldpAssetId></lldpAssetId>
|
||||||
|
<powerPriority>1</powerPriority>
|
||||||
|
<!--
|
||||||
|
I have the above turned on just for curiosity.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<sshAccess>0</sshAccess> <!-- 0 = enabled -->
|
||||||
|
<sshPort>22</sshPort>
|
||||||
|
<!--
|
||||||
|
The above 2 lines are *required* to enable ssh on this phone, it is off
|
||||||
|
by default.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<adminPassword></adminPassword>
|
||||||
|
<!--
|
||||||
|
Password to access the web interface on the phone
|
||||||
|
string
|
||||||
|
length = 32
|
||||||
|
-->
|
||||||
|
<loadServer></loadServer>
|
||||||
|
<!--
|
||||||
|
Indicates that the phone will use an alternative server to obtain firmware loads and upgrades, rather than the defined TFTP server.
|
||||||
|
This option enables you to indicate a local server to be used for firmware upgrades, which can assist in reducing install times, particularly for upgrades over a WAN. Enter the hostname or the IP address (using standard IP addressing format) of the server. The indicated server must be running TFTP services and have the load file in the TFTP path. If the load file is not found, the load will not install. The phone will not be redirected to the TFTP server.
|
||||||
|
If this field is left blank, the phone will use the designated TFTP server to obtain its load files and upgrades
|
||||||
|
string
|
||||||
|
length = 256
|
||||||
|
-->
|
||||||
|
|
||||||
|
<WlanProfile1>0</WlanProfile1>
|
||||||
|
<!--
|
||||||
|
Only on 7921/7925/7926
|
||||||
|
|
||||||
|
Indicates whether WLAN Profile 1 can be modified by the user.
|
||||||
|
If the profile is locked, the user can not modify it.
|
||||||
|
To allow the user to edit only the username and password in the profile, set it to restricted.
|
||||||
|
0 = Unlocked
|
||||||
|
1 = Locked
|
||||||
|
2 = Restricted
|
||||||
|
|
||||||
|
-->
|
||||||
|
<WlanProfile2>0</WlanProfile1>
|
||||||
|
<WlanProfile3>0</WlanProfile1>
|
||||||
|
<WlanProfile4>0</WlanProfile1>
|
||||||
|
<specialNumbers></specialNumbers>
|
||||||
|
<!--
|
||||||
|
Only on 7921/7925/7926
|
||||||
|
|
||||||
|
Special numbers are telephone numbers that do not require unlocking the phone to call.
|
||||||
|
For example, in the United States, the 911 emergency number is a good special number candidate so that it can be dialed without unlocking the phone.
|
||||||
|
You may enter one or more special numbers in this field.
|
||||||
|
To enter more than one special number, use a comma as separator.
|
||||||
|
For example, if you want to enter 411, 511, and 911 as special numbers, enter 411,511,911 in the field without spaces.
|
||||||
|
string
|
||||||
|
length = 16
|
||||||
|
comma seperated
|
||||||
|
-->
|
||||||
|
<PushToTalkURL></PushToTalkURL>
|
||||||
|
<!--
|
||||||
|
Only on 7921/7925/7926
|
||||||
|
|
||||||
|
This parameter specifies the URL which the phone contacts for application services.
|
||||||
|
-->
|
||||||
|
<sendKeyAction></sendKeyAction>
|
||||||
|
<!--
|
||||||
|
This field controls the behavior of the "Send" (green) key when it is pressed. If the "Onhook Dialing" option is selected, the phone displays a list of the last numbers dialed. If the "Offhook Dialing" option is selected, the phone sends a SCCP "offhook" message to the Cisco Unified CallManager.
|
||||||
|
-->
|
||||||
|
<phoneBookWebAccess></phoneBookWebAccess>
|
||||||
|
<!--
|
||||||
|
This field controls the accessibility of the local phone book via the web and works in conjunction with the 'Web Access' parameter. When 'Web Access' is 'Disabled', the local phone book is not accessible via the web regardless of this parameter setting. When 'Web Access' is 'Read-Only' or 'Full', access to the local phone book is as follows: 'Deny All' will not allow web access for reading or writing of the local phone book; 'Allow Admin' will allow only the phone administrator to read from and write to the local phone book.
|
||||||
|
-->
|
||||||
|
<unlockSettingsSequence></unlockSettingsSequence>
|
||||||
|
<!--
|
||||||
|
Only on 7921/7925/7926
|
||||||
|
This parameter determines if a "**#" (star-star-pound) key sequence is required for write-access to the phone's settings menu. A value of 'Enabled' requires the user to enter **# first before making changes to the settings menu. If the value is 'Disabled', the user is allowed to make modifications to the settings menu without having to enter the unlock key sequence.
|
||||||
|
-->
|
||||||
|
<appButtonTimer></appButtonTimer>
|
||||||
|
<!--
|
||||||
|
Amount of time you must hold down the Application Button to activate the application. The timer values are in seconds. A value of 0 indicates that a simple push of the Application Button will active the application. For non-zero values, the application is activated after the specified timer value expires.
|
||||||
|
-->
|
||||||
|
<appButtonPriority></appButtonPriority>
|
||||||
|
<!--
|
||||||
|
This parameter indicates the priority of the Application Button relative to all other tasks on the phone. The priorities are defined as follows.
|
||||||
|
Low: The Application Button only works when the phone is idle and on the main screen.
|
||||||
|
Medium: The Application Button takes precedence over all tasks on the phone except when the keypad is locked.
|
||||||
|
High: The Application Button takes precedence over all tasks on the phone.
|
||||||
|
-->
|
||||||
|
<outOfRangeAlert></outOfRangeAlert>
|
||||||
|
<!--
|
||||||
|
Only on 7921/7925/7926
|
||||||
|
This parameter controls the frequency of audible alerts when the phone is out of range of an access point. The phone does not play audible alerts when the parameter value is "disabled." The phone can beep once or regularly at a selected interval (10, 30, or 60 seconds) when it is out of range of an access point. Once the phone is within range of an access point, audible alerts stop.
|
||||||
|
-->
|
||||||
|
<scanningMode></scanningMode>
|
||||||
|
<!--
|
||||||
|
Only on 7921/7925/7926
|
||||||
|
This parameter controls when the phone performs scanning. The parameter values are as follow.
|
||||||
|
Auto: Phone scans when it is in a call or when the received strength signal indicator (RSSI) is low.
|
||||||
|
Single AP: Phone never scans except when the basic service set (BSS) is lost.
|
||||||
|
Continuous: Phone scans continuously even when it is not in a call.
|
||||||
|
-->
|
||||||
|
<restrictDataRates></restrictDataRates>
|
||||||
|
<!--
|
||||||
|
This parameter enables or disables the restriction of the upstream and downstream PHY rates according to CCX V4 Traffic Stream Rate Set IE (S54.2.6).
|
||||||
|
-->
|
||||||
|
<powerOffWhenCharging></powerOffWhenCharging>
|
||||||
|
<!--
|
||||||
|
Only on 7921/7925/7926
|
||||||
|
This parameter indicates whether the phone powers off when it is connected to a charger or placed in a charging station.
|
||||||
|
-->
|
||||||
|
<cdpEnable></cdpEnable>
|
||||||
|
<!--
|
||||||
|
This parameter enables or disables the Cisco Discovery Protocol (CDP) on the phone.
|
||||||
|
-->
|
||||||
|
<g722CodecSupport></g722CodecSupport>
|
||||||
|
<!--
|
||||||
|
This parameter indicates whether the phone will advertise the G.722 codec to the Cisco Unified CallManager. Codec negotiation involves two steps: first, the phone must advertise the supported codec(s) to the Cisco Unified CallManager (not all endpoints support the same set of codecs). Second, when the Cisco Unified CallManager gets the list of supported codecs from all phones involved in the call attempt, it chooses a commonly-supported codec based on various factors, including the region pair setting. Valid values specify Use System Default (this phone will defer to the setting specified in the enterprise parameter, Advertise G.722 Codec), Disabled (this phone will not advertise G.722 to the Cisco Unified CallManager) or Enabled (this phone will advertise G.722 to the Cisco Unified CallManager).
|
||||||
|
-->
|
||||||
|
<homeScreen></homeScreen>
|
||||||
|
<!--
|
||||||
|
This parameter sets the phone's default home screen.
|
||||||
|
-->
|
||||||
|
<fipsMode></fipsMode>
|
||||||
|
<!--
|
||||||
|
This parameter sets the Federal Information Processing Standards (FIPS) mode for the phone. The Cisco 7926 is a FIPS 140-2 level 1 compliant device when this option is enabled.
|
||||||
|
-->
|
||||||
|
<autoSelectLineEnable></autoSelectLineEnable>
|
||||||
|
<!--
|
||||||
|
When enabled, indicates that the phone will shift the call focus to incoming calls on all lines. When disabled, the phone will only shift the focus to incoming calls on the currently used line.
|
||||||
|
-->
|
||||||
|
<bluetooth></bluetooth>
|
||||||
|
<!--
|
||||||
|
Indicates whether the Bluetooth device on the phone is enabled or disabled.
|
||||||
|
-->
|
||||||
|
<fileSystemVerificationEnable></fileSystemVerificationEnable>
|
||||||
|
<!--
|
||||||
|
This parameter indicates whether the phone will perform a file system integrity check as part of the firmware upgrade process. Enable this option to troubleshoot file system issues. This feature may impact phone performance if it is enabled.
|
||||||
|
-->
|
||||||
|
<barCodeSymbologyGroup></barCodeSymbologyGroup>
|
||||||
|
<!--
|
||||||
|
Only on 7921/7925/7926
|
||||||
|
-->
|
||||||
|
<scannerCommands></scannerCommands>
|
||||||
|
<!--
|
||||||
|
Only on 7921/7925/7926
|
||||||
|
-->
|
||||||
|
<minimumRingVolume></minimumRingVolume>
|
||||||
|
<!--
|
||||||
|
-->
|
||||||
|
<java></java>
|
||||||
|
<!--
|
||||||
|
-->
|
||||||
|
<headsetHandsetMonitor>0</handsetHeadsetMonitor>
|
||||||
|
<!--
|
||||||
|
0: will not enable the handset monitoring and only the headset will be active
|
||||||
|
1: will enable activate both the headset as well as the handset during a call
|
||||||
|
-->
|
||||||
|
<detectCMConnectionFailure>0</detectCMConnectionFailure>
|
||||||
|
<!--
|
||||||
|
Switch from measured keepalive packet delivery time falure detection to delayed failure detection
|
||||||
|
See: https://github.com/chan-sccp/chan-sccp/wiki/Unregister%2C-ReRegistering%2C-Keepalive-issues
|
||||||
|
See: http://www.cisco.com/c/en/us/support/docs/collaboration-endpoints/unified-ip-phone-7900-series/200410-Troubleshoot-IP-Phone-Unregistration-A.html
|
||||||
|
0: Normal Failure Detection
|
||||||
|
1: Delayed Failure Detection
|
||||||
|
-->
|
||||||
|
</vendorConfig>
|
||||||
|
<versionStamp>{Jan 01 2003 00:00:00}</versionStamp>
|
||||||
|
<loadInformation>P00308010100</loadInformation>
|
||||||
|
<!--
|
||||||
|
The firmware version that the phone looks for at boot.
|
||||||
|
Can be either the actual firmware version like P00308010100 or SCCP70.8-5-4S or a reference to the termXX.default file.
|
||||||
|
The later is actually much easier to maintain, just unpack the new firmware, which replaces the termXX.default.loads file.
|
||||||
|
You don't have to update all your SEP... files because it just refers them to the loads file, from which they get the
|
||||||
|
new firmware version number.
|
||||||
|
|
||||||
|
-->
|
||||||
|
<userLocale>
|
||||||
|
<name>Dutch_Netherlands</name>
|
||||||
|
<langCode>nl</langCode>
|
||||||
|
<winCharSet>iso-8859-1</winCharSet>
|
||||||
|
</userLocale>
|
||||||
|
|
||||||
|
<networkLocale>Netherlands</networkLocale>
|
||||||
|
<networkLocaleInfo>
|
||||||
|
<name>Dutch_Netherlands</name>
|
||||||
|
<langCode>nl</langCode>
|
||||||
|
<uid>64</uid>
|
||||||
|
<version>4.0(1)</version>
|
||||||
|
</networkLocaleInfo>
|
||||||
|
<!--
|
||||||
|
This is something to do with dialtones. The above config gives Dutch dialtones.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<authenticationURL>http://x.x.x.x/cisco_menu/authentication.php</authenticationURL>
|
||||||
|
<!--
|
||||||
|
The above is simply a dummy authentication page. It literally contains
|
||||||
|
one word: AUTHORIZED
|
||||||
|
(it receives UserId, Password, and devicename in the url - if you truly wish
|
||||||
|
to implement special auth)
|
||||||
|
-->
|
||||||
|
<informationURL>http://x.x.x.x/cisco_menu/help/help.php</informationURL>
|
||||||
|
<messagesURL></messagesURL>
|
||||||
|
<proxyServerURL></proxyServerURL>
|
||||||
|
<servicesURL>http://x.x.x.x/cisco_menu/menu.php</servicesURL>
|
||||||
|
<directoryURL>http://x.x.x.x/cisco_menu/directory/menu.php</directoryURL>
|
||||||
|
<!--
|
||||||
|
This is the URL for a CiscoIPPhoneMenu which gets appended to the end of the
|
||||||
|
Missed/Received/Placed calls. I don't use it (I find it makes more sense to
|
||||||
|
put my phone book under services)
|
||||||
|
-->
|
||||||
|
<idleURL>http://x.x.x.x/cisco_menu/idle.php</idleURL>
|
||||||
|
<!--
|
||||||
|
URL of CiscoIPPhoneImage.
|
||||||
|
Requires a non-zero setting in idleTimeout.
|
||||||
|
-->
|
||||||
|
<idleTimeout>3600</idleTimeout>
|
||||||
|
|
||||||
|
<deviceSecurityMode>1</deviceSecurityMode>
|
||||||
|
<phonePersonalization>1</phonePersonalization>
|
||||||
|
<singleButtonBarge>1</singleButtonBarge>
|
||||||
|
<joinAcrossLines>1</joinAcrossLines>
|
||||||
|
<autoCallPickupEnable>false</autoCallPickupEnable>
|
||||||
|
<blfAudibleAlertSettingOfIdleStation>1</blfAudibleAlertSettingOfIdleStation>
|
||||||
|
<blfAudibleAlertSettingOfBusyStation>1</blfAudibleAlertSettingOfBusyStation>
|
||||||
|
<advertiseG722Codec>1</advertiseG722Codec>
|
||||||
|
|
||||||
|
<mobility>
|
||||||
|
<handoffdn></handoffdn>
|
||||||
|
<dtmfdn></dtmfdn>
|
||||||
|
<ivrdn></ivrdn>
|
||||||
|
<dtmfHoldCode>*81</dtmfHoldCode>
|
||||||
|
<dtmfExclusiveHoldCode>*82</dtmfExclusiveHoldCode>
|
||||||
|
<dtmfResumeCode>*83</dtmfResumeCode>
|
||||||
|
<dtmfTxfCode>*84</dtmfTxfCode>
|
||||||
|
<dtmfCnfCode>*85</dtmfCnfCode>
|
||||||
|
</mobility>
|
||||||
|
|
||||||
|
<dscpForSCCPPhoneConfig>104</dscpForSCCPPhoneConfig>
|
||||||
|
<dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
|
||||||
|
<dscpForCm2Dvce>184</dscpForCm2Dvce>
|
||||||
|
<transportLayerProtocol>4</transportLayerProtocol>
|
||||||
|
<capfAuthMode>0</capfAuthMode>
|
||||||
|
<capfList>
|
||||||
|
<capf>
|
||||||
|
<phonePort>3804</phonePort>
|
||||||
|
</capf>
|
||||||
|
</capfList>
|
||||||
|
<certHash></certHash>
|
||||||
|
<encrConfig>false</encrConfig>
|
||||||
|
<phoneServices>
|
||||||
|
<provisioning>0</provisioning>
|
||||||
|
<!-- provisioning:
|
||||||
|
0 = Use PhoneServices
|
||||||
|
1 = Use ServicerURL / DirectoryURL and MessagesURL (Above)
|
||||||
|
2 = Use Both (Merge Both)
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Below
|
||||||
|
type = 0 -> applicaton menu
|
||||||
|
type = 1 -> contacts menu
|
||||||
|
type = 2 -> messages menu
|
||||||
|
-->
|
||||||
|
<phoneService type="0" category="0">
|
||||||
|
<name>Corporate Directory</name>
|
||||||
|
<url>Application:Cisco/CorporateDirectory</url>
|
||||||
|
<vendor></vendor>
|
||||||
|
<version></version>
|
||||||
|
</phoneService>
|
||||||
|
<phoneService type="1" category="0">
|
||||||
|
<name>Missed Calls</name>
|
||||||
|
<url>Application:Cisco/MissedCalls</url>
|
||||||
|
<vendor></vendor>
|
||||||
|
<version></version>
|
||||||
|
</phoneService>
|
||||||
|
<phoneService type="1" category="0">
|
||||||
|
<name>Received Calls</name>
|
||||||
|
<url>Application:Cisco/ReceivedCalls</url>
|
||||||
|
<vendor></vendor>
|
||||||
|
<version></version>
|
||||||
|
</phoneService>
|
||||||
|
<phoneService type="1" category="0">
|
||||||
|
<name>Placed Calls</name>
|
||||||
|
<url>Application:Cisco/PlacedCalls</url>
|
||||||
|
<vendor></vendor>
|
||||||
|
<version></version>
|
||||||
|
</phoneService>
|
||||||
|
<phoneService type="1" category="0">
|
||||||
|
<name>Personal Directory</name>
|
||||||
|
<url>Application:Cisco/PersonalDirectory</url>
|
||||||
|
<vendor></vendor>
|
||||||
|
<version></version>
|
||||||
|
</phoneService>
|
||||||
|
<phoneService type="2" category="0">
|
||||||
|
<name>Voicemail</name>
|
||||||
|
<url>Application:Cisco/Voicemail</url>
|
||||||
|
<vendor></vendor>
|
||||||
|
<version></version>
|
||||||
|
</phoneService>
|
||||||
|
</phoneServices>
|
||||||
|
</device>
|
280
!Readme.txt/sccp.conf.annotated
Normal file
280
!Readme.txt/sccp.conf.annotated
Normal file
|
@ -0,0 +1,280 @@
|
||||||
|
;!
|
||||||
|
;! Automatically generated configuration file
|
||||||
|
;! Filename: sccp.conf.annotated (/usr/local/asterisk-13-branch/etc/asterisk/sccp.conf.annotated)
|
||||||
|
;! Generator: sccp config generate
|
||||||
|
;! Creation Date: Sun Nov 1 01:27:41 2015
|
||||||
|
;!
|
||||||
|
|
||||||
|
|
||||||
|
;
|
||||||
|
; general section
|
||||||
|
;
|
||||||
|
[general]
|
||||||
|
;servername = Asterisk ; (REQUIRED) show this name on the device registration
|
||||||
|
;keepalive = 60 ; (REQUIRED) Phone keep alive message every 60 secs. Used to check the voicemail and keep an open connection between server and phone (nat).
|
||||||
|
; Don't set any lower than 60 seconds.
|
||||||
|
;debug = core ; (MULTI-ENTRY) console debug level or categories
|
||||||
|
; examples: debug = 11 | debug = mwi,event,core | debug = all | debug = none or 0
|
||||||
|
; possible categories:
|
||||||
|
; core, sccp, hint, rtp, device, line, action, channel, cli, config, feature, feature_button, softkey, indicate, pbx
|
||||||
|
; socket, mwi, event, adv_feature, conference, buttontemplate, speeddial, codec, realtime, lock, newcode, high, all, none
|
||||||
|
;context = default ; (REQUIRED) pbx dialplan context
|
||||||
|
;dateformat = M/D/Y ; (SIZE: 7) M-D-Y in any order. Use M/D/YA (for 12h format)
|
||||||
|
;bindaddr = 0.0.0.0 ; (REQUIRED) replace with the ip address of the asterisk server (RTP important param)
|
||||||
|
;port = 2000 ; listen on port 2000 (Skinny, default)
|
||||||
|
deny = 0.0.0.0/0.0.0.0
|
||||||
|
permit = internal ; (REQUIRED) (MULTI-ENTRY) Deny every address except for the only one allowed. example: '0.0.0.0/0.0.0.0'
|
||||||
|
; Accept class C 192.168.1.0 example '192.168.1.0/255.255.255.0'
|
||||||
|
; You may have multiple rules for masking traffic.
|
||||||
|
; Rules are processed from the first to the last.
|
||||||
|
; This General rule is valid for all incoming connections. It's the 1st filter.
|
||||||
|
; using 'internal' will allow the 10.0.0.0, 172.16.0.0 and 192.168.0.0 networks
|
||||||
|
;localnet = internal ; (MULTI-ENTRY) All RFC 1918 addresses are local networks, example '192.168.1.0/255.255.255.0'
|
||||||
|
;externip = 0.0.0.0 ; External IP Address of the firewall, required in case the PBX is running on a seperate host behind it. IP Address that we're going to notify in RTP media stream as the pbx source address.
|
||||||
|
;firstdigittimeout = 16 ; Dialing timeout for the 1st digit
|
||||||
|
;digittimeout = 8 ; More digits
|
||||||
|
;digittimeoutchar = # ; You can force the channel to dial with this char in the dialing state
|
||||||
|
;recorddigittimeoutchar = no ; You can force the channel to dial with this char in the dialing state
|
||||||
|
;simulate_enbloc = yes ; Use simulated enbloc dialing to speedup connection when dialing while onhook (older phones)
|
||||||
|
;ringtype = outside ; Ringtype for incoming calls (default='outside')
|
||||||
|
;autoanswer_ring_time = 1 ; Ringing time in seconds for the autoanswer.
|
||||||
|
;autoanswer_tone = 0x32 ; Autoanswer confirmation tone. For a complete list of tones: grep SKINNY_TONE sccp_protocol.h
|
||||||
|
; not all the tones can be played in a connected state, so you have to try.
|
||||||
|
;remotehangup_tone = 0x32 ; Passive hangup notification. 0 for none
|
||||||
|
;transfer_tone = 0 ; Confirmation tone on transfer. Works only between SCCP devices
|
||||||
|
;transfer_on_hangup = no ; Complete transfer on hangup, without pressing transfer a second time.
|
||||||
|
; Will complete transfer, when the transferer puts the receiver on hook, after the destination has been reached.
|
||||||
|
; To cancel the transfer, either press resume on the transfered channel, press the 'endcall' softkey, or have the receiving party hangup first.
|
||||||
|
;dnd_tone = 0x0 ; Use 0x2D, 0x31, 0x32, 0x33 to activate dnd incoming call indication when dnd silent is active
|
||||||
|
;callwaiting_tone = 0x2d ; Sets to 0 to disable the callwaiting tone
|
||||||
|
;callwaiting_interval = 0 ; Callwaiting ring interval in seconds. Set to 0 to disable the callwaiting ringing interval.
|
||||||
|
;musicclass = default ; Sets the default music on hold class
|
||||||
|
;language = en ; Default language setting
|
||||||
|
;callevents = yes ; Generate manager events when phone
|
||||||
|
; Performs events (e.g. hold)
|
||||||
|
;accountcode = skinny ; Accountcode to ease billing
|
||||||
|
;sccp_tos = 0x68 ; Sets the default sccp signaling packets Type of Service (TOS) (defaults to 0x68 = 01101000 = 104 = DSCP:011010 = AF31)
|
||||||
|
; Others possible values : [CS?, AF??, EF], [0x??], [lowdelay, throughput, reliability, mincost(solaris)], none
|
||||||
|
;sccp_cos = 4 ; sets the default sccp signaling packets Class of Service (COS).
|
||||||
|
;audio_tos = 0xB8 ; sets the default audio/rtp packets Type of Service (TOS) (defaults to 0xb8 = 10111000 = 184 = DSCP:101110 = EF)
|
||||||
|
;audio_cos = 6 ; sets the default audio/rtp packets Class of Service (COS).
|
||||||
|
;video_tos = 0x88 ; sets the default video/rtp packets Type of Service (TOS) (defaults to 0x88 = 10001000 = 136 = DSCP:100010 = AF41)
|
||||||
|
;video_cos = 5 ; sets the default video/rtp packets Class of Service (COS).
|
||||||
|
;echocancel = yes ; sets the phone echocancel for all devices
|
||||||
|
;silencesuppression = no ; sets the silence suppression for all devices
|
||||||
|
; we don't have to trust the phone ip address, but the ip address of the connection
|
||||||
|
;earlyrtp = progress ; valid options: none, offhook, immediate, dial, ringout and progress.
|
||||||
|
; The audio stream will be open in the progress and connected state by default. Immediate forces overlap dialing.
|
||||||
|
; (POSSIBLE VALUES: ["Immediate","OffHook","Dialing","Ringout","Progress","None"])
|
||||||
|
;dndFeature = on ; Turn on the dnd softkey for all devices. Valid values are 'off', 'on'.
|
||||||
|
;private = yes ; permit the private function softkey
|
||||||
|
;mwilamp = on ; Set the MWI lamp style when MWI active to on, off, wink, flash or blink
|
||||||
|
; (POSSIBLE VALUES: ["Off","On","Wink","Flash","Blink"])
|
||||||
|
;mwioncall = no ; Set the MWI on call.
|
||||||
|
;blindtransferindication = ring ; moh or ring. the blind transfer should ring the caller or just play music on hold
|
||||||
|
; (POSSIBLE VALUES: ["RING","MOH"])
|
||||||
|
;cfwdall = yes ; activate the callforward ALL stuff and softkeys
|
||||||
|
;cfwdbusy = yes ; activate the callforward BUSY stuff and softkeys
|
||||||
|
;cfwdnoanswer = yes ; activate the callforward NOANSWER stuff and softkeys
|
||||||
|
;nat = auto ; Global NAT support.
|
||||||
|
; (POSSIBLE VALUES: ["Auto","Off","(Auto)Off","On","(Auto)On"])
|
||||||
|
;directrtp = no ; This option allow devices to do direct RTP sessions.
|
||||||
|
;allowoverlap = no ; Enable overlap dialing support. If enabled, starts dialing immediately and sends remaing digits as DTMF/inband.
|
||||||
|
; Use with extreme caution as it is very dialplan and provider dependent.
|
||||||
|
callgroup = "" ; We are in caller groups 1,3,4. Valid for all lines
|
||||||
|
pickupgroup = "" ; We can do call pick-p for call group 1,3,4,5. Valid for all lines
|
||||||
|
;directed_pickup_modeanswer = yes ; Automatically Answer when using Directed Pickup.
|
||||||
|
;amaflags = default ; Sets the default AMA flag code stored in the CDR record
|
||||||
|
;callanswerorder = oldestfirst ; oldestfirst or lastestfirst
|
||||||
|
; (POSSIBLE VALUES: ["OldestFirst","LastFirst"])
|
||||||
|
regcontext = "" ; SCCP Lines will we added to this context in asterisk for Dundi lookup purposes.
|
||||||
|
; Do not set to an already created/used context. The context will be autocreated. You can share the sip/iax regcontext if you like.
|
||||||
|
;devicetable = sccpdevice ; datebasetable for devices
|
||||||
|
;linetable = sccpline ; datebasetable for lines
|
||||||
|
;meetme = yes ; enable/disable conferencing via meetme (on/off), make sure you have one of the meetme apps mentioned below activated in module.conf
|
||||||
|
; when switching meetme=on it will search for the first of these three possible meetme applications and set these defaults
|
||||||
|
; - {'MeetMe', 'qd'},
|
||||||
|
; - {'ConfBridge', 'Mac'},
|
||||||
|
; - {'Konference', 'MTV'}
|
||||||
|
;meetmeopts = qxd ; options to send the meetme application, defaults are dependent on meetme app see the list above
|
||||||
|
; Other options (app_meetme: A,a,b,c,C,d,D,E,e,F,i,I,l,L,m,M,o,p,P,q,r,s,S,t,T,w,x,X,1) see meetme specific documentation
|
||||||
|
;jbenable = no ; Enables the use of a jitterbuffer on the receiving side of a sccp channel.
|
||||||
|
; An enabled jitterbuffer will be used only if the sending side can create and the receiving side can not accept jitter.
|
||||||
|
; The sccp channel can accept jitter, thus a jitterbuffer on the receive sccp side will beused only if it is forced and enabled.
|
||||||
|
;jbforce = no ; Forces the use of a jitterbuffer on the receive side of a sccp channel.
|
||||||
|
;jblog = no ; Enables jitterbuffer frame logging.
|
||||||
|
;jbmaxsize = 200 ; Max length of the jitterbuffer in milliseconds.
|
||||||
|
;jbresyncthreshold = 1000 ; Jump in the frame timestamps over which the jitterbuffer is
|
||||||
|
; resynchronized. Useful to improve the quality of the voice, with
|
||||||
|
; big jumps in/broken timestamps, usually sent from exotic devices
|
||||||
|
; and programs.
|
||||||
|
;jbimpl = fixed ; (SIZE: 11) Jitterbuffer implementation, used on the receiving side of a
|
||||||
|
; sccp channel. Two implementations are currently available
|
||||||
|
; - 'fixed' (with size always equals to jbmaxsize)
|
||||||
|
; - 'adaptive' (with variable size, actually the new jb of IAX2).
|
||||||
|
;hotline_enabled = yes ; Setting the hotline Feature on a device, will make it connect to a predefined extension as soon as the Receiver
|
||||||
|
; is picked up or the 'New Call' Button is pressed. No number has to be given. This works even on devices which
|
||||||
|
; have no entry in the config file or realtime database.
|
||||||
|
; The hotline function can be used in different circumstances, for example at a door, where you want people to be
|
||||||
|
; able to only call one number, or for unprovisioned phones to only be able to call the helpdesk to get their phone
|
||||||
|
; set up. If hotline_enabled = yes, any device which is not included in the configuration explicitly will be allowed
|
||||||
|
; to registered as a guest device. All such devices will register on a single shared line called 'hotline'.
|
||||||
|
;hotline_context = sccp ;
|
||||||
|
;hotline_extension = 111 ;
|
||||||
|
;hotline_label = hotline ;
|
||||||
|
;fallback = no ; Immediately fallback to primairy/master server when it becomes available (master/slave asterisk cluster) (TokenRequest)
|
||||||
|
; Possible values are: true/false/odd/even/script.
|
||||||
|
; active/passive cluster: true on active/false on passive
|
||||||
|
; active/active cluster: even on active1/off on active2
|
||||||
|
; more complex cluster: use script. It will be called with three arguments, namely mac-address, ip-address, devicetype.
|
||||||
|
; and it should return 'ACK' (without the quotes) to acknowledge the token, or a value for the number of seconds to backoff and try again.
|
||||||
|
; Value can be changed online via CLI/AMI command 'sccp set fallback true/false/odd/even/script'
|
||||||
|
;backoff_time = 60 ; Time to wait before re-asking to fallback to primairy server (Token Reject Backoff Time)
|
||||||
|
;server_priority = 1 ; Server Priority for fallback: 1=Primairy, 2=Secundary, 3=Tertiary etc
|
||||||
|
; For active-active (fallback=odd/even) use 1 for both
|
||||||
|
|
||||||
|
;
|
||||||
|
; device section
|
||||||
|
;
|
||||||
|
[default_device](!)
|
||||||
|
device = "" ; (SIZE: 15) device type
|
||||||
|
devicetype = "" ; (SIZE: 15) device type
|
||||||
|
description = "" ; device description
|
||||||
|
keepalive = "" ; set keepalive to 60
|
||||||
|
;tzoffset = 0 ; time zone offset
|
||||||
|
;disallow = all
|
||||||
|
;allow = ulaw ; (MULTI-ENTRY) Same as entry in [general] section
|
||||||
|
;allow = alaw
|
||||||
|
;transfer = yes ; enable or disable the transfer capability. It does remove the transfer softkey
|
||||||
|
;park = yes ; take a look to the compile how-to. Park stuff is not compiled by default.
|
||||||
|
;cfwdall = no ; activate the call forward stuff and soft keys
|
||||||
|
;cfwdbusy = no ; allow call forward when line is busy
|
||||||
|
;cfwdnoanswer = no ; allow call forward when line if not being answered
|
||||||
|
;dndFeature = yes ; allow usage do not disturb button
|
||||||
|
dnd = "" ; allow setting dnd action for this device. Valid values are 'off', 'reject' (busy signal), 'silent' (ringer = silent) or 'user' (not used at the moment). . The value 'on' has been made obsolete in favor of 'reject'
|
||||||
|
; (POSSIBLE VALUES: ["Off","Reject","Silent","UserDefined"])
|
||||||
|
;force_dtmfmode = auto ; auto, skinny or rfc2833. Some phone models with bad firmware do send dtmf in a messed up order and need to be forced to skinny mode.
|
||||||
|
; (POSSIBLE VALUES: ["AUTO","RFC2833","SKINNY"])
|
||||||
|
deny = ""
|
||||||
|
permit = "" ; (MULTI-ENTRY) Same as entry in [general] section
|
||||||
|
; This device can register only using this ip address
|
||||||
|
audio_tos = "" ; sets the audio/rtp packets Type of Service (TOS) (defaults to 0xb8 = 10111000 = 184 = DSCP:101110 = EF).
|
||||||
|
; Others possible values : 0x??, lowdelay, throughput, reliability, mincost(solaris), none.
|
||||||
|
audio_cos = "" ; sets the audio/rtp packets Class of Service (COS)
|
||||||
|
video_tos = "" ; sets the video/rtp packets Type of Service (TOS) (defaults to 0x88 = 10001000 = 136 = DSCP:100010 = AF41).
|
||||||
|
video_cos = "" ; sets the video/rtp packets Class of Service (COS).
|
||||||
|
nat = "" ; Device NAT support. Currently nat is automatically detected in most cases.
|
||||||
|
; (POSSIBLE VALUES: ["Auto","Off","(Auto)Off","On","(Auto)On"])
|
||||||
|
directrtp = "" ; This option allow devices to do direct RTP sessions.
|
||||||
|
earlyrtp = "" ; valid options: none, offhook, immediate, dial, ringout and progress.
|
||||||
|
; The audio stream will be open in the progress and connected state by default. Immediate forces overlap dialing.
|
||||||
|
; (POSSIBLE VALUES: ["Immediate","OffHook","Dialing","Ringout","Progress","None"])
|
||||||
|
private = "" ; permit the private function softkey for this device
|
||||||
|
privacy = "" ; permit the private function softkey for this device
|
||||||
|
mwilamp = "" ; Set the MWI lamp style when MWI active to on, off, wink, flash or blink
|
||||||
|
; (POSSIBLE VALUES: ["Off","On","Wink","Flash","Blink"])
|
||||||
|
mwioncall = "" ; Set the MWI on call.
|
||||||
|
meetme = "" ; enable/disable conferencing via app_meetme (on/off)
|
||||||
|
meetmeopts = "" ; options to send the app_meetme application (default 'qd' = quiet,dynamic pin)
|
||||||
|
; Other options (A,a,b,c,C,d,D,E,e,F,i,I,l,L,m,M,o,p,P,q,r,s,S,t,T,w,x,X,1) see app_meetme documentation
|
||||||
|
;softkeyset = default ; use specified softkeyset with name 'default'
|
||||||
|
;useRedialMenu = no ; show redial phone book list instead of dialing the last number (adv_feature). Requires a Phone Service block in SEP....cnf.xml to work correct on Java phones (See conf/tftp/SEP example files)
|
||||||
|
;directed_pickup = yes ; enable/disable Pickup button to do directed pickup from a specific extension.
|
||||||
|
directed_pickup_context = "" ; context where direct pickup search for extensions. if not set current contect will be use.
|
||||||
|
;directed_pickup_modeanswer = yes ; on = asterisk way, the call has been answered when picked up.
|
||||||
|
monitor = "" ;
|
||||||
|
allowoverlap = "" ; Allow for Overlap dialing (Continue dialing after the first part of the number has already been send to the pstn)
|
||||||
|
setvar = "" ; (MULTI-ENTRY) extra variables to be set on line initialization multiple entries possible (for example the sip number to use when dialing outside)
|
||||||
|
; format setvar=param=value, for example setvar=sipno=12345678
|
||||||
|
permithost = "" ; (MULTI-ENTRY) permit/deny but by resolved hostname
|
||||||
|
addon = "" ; One of 7914, 7915, 7916
|
||||||
|
button = "" ; (MULTI-ENTRY) Buttons come in the following flavours (empty, line, speeddial, service, feature).
|
||||||
|
; Examples (read the documentation for more examples/combinations):
|
||||||
|
; - button = line,1234
|
||||||
|
; - button = line,1234,default
|
||||||
|
; - button = empty
|
||||||
|
; - button = line,98099@11:Phone1
|
||||||
|
; - button = line,98099@12:Phone2#ButtonLabel!silent ; append cidnum:'12' and cidname:'Phone2' to line-ci with label 'ButtonLabel', don't ring when dialed directly
|
||||||
|
; - button = line,98099@+12:Phone2@ButtonLabel!silent ; same as the previous line
|
||||||
|
; - button = line,98099@=12:Phone2!silent ; overwrite line-cid instead of appending
|
||||||
|
; - button = speeddial,Phone 2 Line 1, 98021, 98021@hints
|
||||||
|
; - button = feature,cfwdall,1234
|
||||||
|
; - button = feature,PDefault,ParkingLot,default ; feature, name, feature_type, parkinglotContext [,RetrieveSingle]
|
||||||
|
; - button = feature,PDefault,ParkingLot,default,RetrieveSingle ; feature, name, feature_type, parkinglotContext [,RetrieveSingle]
|
||||||
|
;allowRinginNotification = no ; allow ringin notification for hinted extensions. experimental configuration param that may be removed in further version
|
||||||
|
;conf_allow = yes ; Allow the use of conference
|
||||||
|
;conf_play_general_announce = yes ; Playback General Announcements (like: 'You are Entering/Leaving the conference')
|
||||||
|
;conf_play_part_announce = yes ; Playback Personal/Participant Announcements, (like: 'You have been muted / You have been kicked')
|
||||||
|
;conf_mute_on_entry = no ; Mute new participants from the start
|
||||||
|
;conf_music_on_hold_class = default ; Play music on hold of this class when no moderator is listening on the conference. If set to an empty string, no music on hold will be played.
|
||||||
|
;conf_show_conflist = yes ; Automatically show conference list to the moderator
|
||||||
|
backgroundImage = "" ; Set the Background Image after device registered. Image must be set as URI to a http served file.
|
||||||
|
ringtone = "" ; Set the Ring Tone after device registered. Ring Tone must be set as URI to a http served file.
|
||||||
|
imageversion = "" ; (SIZE: 31) ImageVersion to be loaded on the device.
|
||||||
|
|
||||||
|
;
|
||||||
|
; line section
|
||||||
|
;
|
||||||
|
[default_line](!)
|
||||||
|
id = "" ; (SIZE: 7) id
|
||||||
|
pin = "" ; (SIZE: 7) pin
|
||||||
|
description = "" ; description
|
||||||
|
context = "" ; pbx dialing context
|
||||||
|
defaultSubscriptionId_name = "" ; (SIZE: 79) Name used on a shared line when no name is specified on the line button for the device
|
||||||
|
defaultSubscriptionId_number = "" ; (SIZE: 79) Number used on a shared line when no name is specified on the line button for the device
|
||||||
|
mailbox = "" ; Mailbox to store messages in. Format 'mailbox@context' or 'mailbox' when you use 'default' context
|
||||||
|
vmnum = "" ; Number to dial to get to the users Mailbox
|
||||||
|
adhocNumber = "" ; Adhoc Number or Private-line automatic ring down (PLAR):
|
||||||
|
; Adhoc/PLAR circuits have statically configured endpoints and do not require the user dialing to connect calls.
|
||||||
|
; - The adhocNumber is dialed as soon as the Phone is taken off-hook or when the new-call button is pressed.
|
||||||
|
; - The number will not be dialed when choosing a line; so when you choose a line you can enter a number manually.
|
||||||
|
meetme = "" ; enable/disable conferencing via meetme, make sure you have one of the meetme apps mentioned below activated in module.conf.
|
||||||
|
; When switching meetme=on it will search for the first of these three possible meetme applications and set these defaults.
|
||||||
|
; Meetme=>'qd', ConfBridge=>'Mac', Konference=>'MTV'
|
||||||
|
meetmenum = "" ; This extension will receive meetme requests, SCCP_MEETME_ROOM channel variable will
|
||||||
|
; contain the room number dialed into simpleswitch (this parameter is going to be removed).
|
||||||
|
meetmeopts = "" ; options to send the meetme application, defaults are dependent on meetme app see the list above.
|
||||||
|
; Other options (app_meetme: A,a,b,c,C,d,D,E,e,F,i,I,l,L,m,M,o,p,P,q,r,s,S,t,T,w,x,X,1) see conferencing app for specific documentation
|
||||||
|
transfer = "" ; per line transfer capability
|
||||||
|
;incominglimit = 6 ; allow x number of incoming calls (call waiting)
|
||||||
|
echocancel = "" ; sets the phone echocancel for this line
|
||||||
|
silencesuppression = "" ; sets the silence suppression for this line
|
||||||
|
language = "" ; sets the language setting per line
|
||||||
|
musicclass = "" ; sets the music on hold class per line
|
||||||
|
accountcode = "" ; accountcode for this line to make billing per call possible
|
||||||
|
amaflags = "" ; sets the AMA flags stored in the CDR record for this line
|
||||||
|
callgroup = "" ; sets the caller groups this line is a member of
|
||||||
|
pickupgroup = "" ; sets the pickup groups this line is a member of (this phone can pickup calls from remote phones which are in this caller group
|
||||||
|
namedcallgroup = "" ; sets the named caller groups this line is a member of (ast111)
|
||||||
|
namedpickupgroup = "" ; sets the named pickup groups this line is a member of (this phone can pickup calls from remote phones which are in this caller group (ast111)
|
||||||
|
parkinglot = "" ; parkinglot assigned to this line
|
||||||
|
trnsfvm = "" ; extension to redirect the caller to for voice mail
|
||||||
|
secondary_dialtone_digits = "" ; digits to indicate an external line to user (secondary dialtone) (max 9 digits)
|
||||||
|
;secondary_dialtone_tone = 0x22 ; outside dialtone frequency
|
||||||
|
setvar = "" ; (MULTI-ENTRY) extra variables to be set on line initialization multiple entries possible (for example the sip number to use when dialing outside)
|
||||||
|
; format setvar=param=value, for example setvar=sipno=12345678
|
||||||
|
dnd = "" ; allow setting dnd action for this line. Valid values are 'off', 'reject' (busy signal), 'silent' (ringer = silent) or 'user' (not used at the moment). . The value 'on' has been made obsolete in favor of 'reject'
|
||||||
|
; (POSSIBLE VALUES: ["Off","Reject","Silent","UserDefined"])
|
||||||
|
regexten = "" ; SCCP Lines will we added to the regcontext with this number for Dundi look up purpose
|
||||||
|
; If regexten is not filled in the line name (categoryname between []) will be used
|
||||||
|
|
||||||
|
;
|
||||||
|
; softkey section
|
||||||
|
;
|
||||||
|
;[mysoftkeyset]
|
||||||
|
;type = softkeyset ; (SIZE: -1) This should be set to softkeyset
|
||||||
|
;onhook = redial,newcall,cfwdall,dnd,pickup,gpickup,private ; (SIZE: 15) displayed when we are on hook
|
||||||
|
;connected = hold,endcall,park,vidmode,select,cfwdall,cfwdbusy,idivert ; (SIZE: 15) displayed when we have a connected call
|
||||||
|
;onhold = resume,newcall,endcall,transfer,conflist,select,dirtrfr,idivert,meetme ; (SIZE: 15) displayed when we have a call on hold
|
||||||
|
;ringin = answer,endcall,transvm,idivert ; (SIZE: 15) displayed when we have an incoming call
|
||||||
|
;offhook = redial,endcall,private,cfwdall,cfwdbusy,pickup,gpickup,meetme,barge ; (SIZE: 15) displayed when the phone is taken off hook
|
||||||
|
;conntrans = hold,endcall,transfer,conf,park,select,dirtrfr,vidmode,meetme,cfwdall,cfwdbusy ; (SIZE: 15) displayed when we are connected and could transfer a call
|
||||||
|
;digitsfoll = back,endcall,dial ; (SIZE: 15) displayed when one or more digits have been entered, more are expected
|
||||||
|
;connconf = conflist,newcall,endcall,hold,vidmode ; (SIZE: 15) displayed when we are in a conference
|
||||||
|
;ringout = empty,endcall,transfer,cfwdall,idivert ; (SIZE: 15) displayed when We are calling someone
|
||||||
|
;offhookfeat = redial,endcall ; (SIZE: 15) displayed wenn we went offhook using a feature
|
||||||
|
;onhint = redial,newcall,pickup,gpickup,barge ; (SIZE: 15) displayed when a hint is activated
|
||||||
|
;onstealable = redial,newcall,cfwdall,pickup,gpickup,dnd,intrcpt ; (SIZE: 15) displayed when there is a call we could steal on one of the neighboring phones
|
||||||
|
;holdconf = resume,newcall,endcall,join ; (SIZE: 15) displayed when we are a conference moderator, have the conference on hold and have another active call
|
||||||
|
uriaction = "" ; (MULTI-ENTRY) (SIZE: 7) softkey uri action to replace default handling. Format: uriaction = softkeyname, uri[,uri...]
|
||||||
|
; . URI can be an embedded cisco action (like Key:Service, Play:1041.raw) or a URLIf uri is a url the following parameters will be added to it: devicename, linename, channelname, callid, linkedid, uniqueid, appid, transactionid
|
|
@ -41,7 +41,9 @@
|
||||||
* - bug Fix ...(K no w bug? no fix)
|
* - bug Fix ...(K no w bug? no fix)
|
||||||
* - restore default Value on page
|
* - restore default Value on page
|
||||||
* - restore default Value on sccp.class
|
* - restore default Value on sccp.class
|
||||||
*
|
* - 'Device SEP ID.[XXXXXXXXXXXX]=MAC'
|
||||||
|
* - ATA's start with ATAXXXXXXXXXXXX.
|
||||||
|
* - VG248 ports start with VGXXXXXXXXXXXX0.
|
||||||
* * I think this file should be split in 3 parts (as in Model-View-Controller(MVC))
|
* * I think this file should be split in 3 parts (as in Model-View-Controller(MVC))
|
||||||
* * XML/Database Parts -> Model directory
|
* * XML/Database Parts -> Model directory
|
||||||
* * Processing parts -> Controller directory
|
* * Processing parts -> Controller directory
|
||||||
|
@ -842,6 +844,8 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
|
||||||
*/
|
*/
|
||||||
function save_hw_phone($get_settings, $validateonly = false) {
|
function save_hw_phone($get_settings, $validateonly = false) {
|
||||||
$hdr_prefix = 'sccp_hw_';
|
$hdr_prefix = 'sccp_hw_';
|
||||||
|
$hdr_arprefix = 'sccp_hw-ar_';
|
||||||
|
|
||||||
$save_buttons = array();
|
$save_buttons = array();
|
||||||
$save_settings = array();
|
$save_settings = array();
|
||||||
$save_codec = array();
|
$save_codec = array();
|
||||||
|
@ -857,10 +861,10 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
|
||||||
$key = (string) $data['Field'];
|
$key = (string) $data['Field'];
|
||||||
$value = "";
|
$value = "";
|
||||||
switch ($key) {
|
switch ($key) {
|
||||||
case 'permit':
|
// case 'permit':
|
||||||
case 'deny':
|
// case 'deny':
|
||||||
$value = $get_settings[$hdr_prefix . $key . '_net'] . '/' . $get_settings[$hdr_prefix . $key . '_mask'];
|
// $value = $get_settings[$hdr_prefix . $key . '_net'] . '/' . $get_settings[$hdr_prefix . $key . '_mask'];
|
||||||
break;
|
// break;
|
||||||
case 'name':
|
case 'name':
|
||||||
if (!empty($get_settings[$hdr_prefix . 'mac'])) {
|
if (!empty($get_settings[$hdr_prefix . 'mac'])) {
|
||||||
$value = $get_settings[$hdr_prefix . 'mac'];
|
$value = $get_settings[$hdr_prefix . 'mac'];
|
||||||
|
@ -891,6 +895,21 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
|
||||||
if (!empty($get_settings[$hdr_prefix . $key])) {
|
if (!empty($get_settings[$hdr_prefix . $key])) {
|
||||||
$value = $get_settings[$hdr_prefix . $key];
|
$value = $get_settings[$hdr_prefix . $key];
|
||||||
}
|
}
|
||||||
|
if (!empty($get_settings[$hdr_arprefix . $key])) {
|
||||||
|
$arr_data = '';
|
||||||
|
foreach ($get_settings[$hdr_arprefix. $key] as $vkey => $vval) {
|
||||||
|
$tmp_data = '';
|
||||||
|
foreach ($vval as $vkey => $vval) {
|
||||||
|
$tmp_data .= $vval . '/';
|
||||||
|
}
|
||||||
|
if (strlen($tmp_data) > 2) {
|
||||||
|
$arr_data .= substr($tmp_data, 0, -1) . ';';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$arr_data = substr($arr_data, 0, -1);
|
||||||
|
$value = $arr_data;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!empty($value)) {
|
if (!empty($value)) {
|
||||||
$save_settings[$key] = $value;
|
$save_settings[$key] = $value;
|
||||||
|
@ -2161,13 +2180,19 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
|
||||||
$lang = (empty($hwlang[1])) ? $this->sccpvalues['devlang']['data'] : $hwlang[1];
|
$lang = (empty($hwlang[1])) ? $this->sccpvalues['devlang']['data'] : $hwlang[1];
|
||||||
// $lang=$this->sccpvalues['devlang']['data'];
|
// $lang=$this->sccpvalues['devlang']['data'];
|
||||||
}
|
}
|
||||||
|
if (!empty($lang) && $lang !='null') {
|
||||||
if ($key == 'networkLocale') {
|
if ($key == 'networkLocale') {
|
||||||
$xml_work->$key = $lang;
|
$xml_work->$key = $lang;
|
||||||
} else {
|
} else {
|
||||||
|
if (!empty($this->sccp_lang[$lang])) {
|
||||||
$xml_node->name = $this->sccp_lang[$lang]['locale'];
|
$xml_node->name = $this->sccp_lang[$lang]['locale'];
|
||||||
$xml_node->langCode = $this->sccp_lang[$lang]['code'];
|
$xml_node->langCode = $this->sccp_lang[$lang]['code'];
|
||||||
$this->replaceSimpleXmlNode($xml_work->$key, $xml_node);
|
$this->replaceSimpleXmlNode($xml_work->$key, $xml_node);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$xml_work->$key ='';
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
// Move all set to $var_xml_general_vars
|
// Move all set to $var_xml_general_vars
|
||||||
// case 'mobility':
|
// case 'mobility':
|
||||||
|
|
|
@ -229,7 +229,7 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
<button value="latestfirst">Latestfirst</button>
|
<button value="latestfirst">Latestfirst</button>
|
||||||
<help>Call Answer Order: Which call should be answered first? The most common choice is "oldestfirst", but other orders are supported.</help>
|
<help>Call Answer Order: Which call should be answered first? The most common choice is "oldestfirst", but other orders are supported.</help>
|
||||||
</item>
|
</item>
|
||||||
<item type="IS" id="13"><name>mwilamp</name> <label>Message Lamp</label>
|
<item type="IS" id="13"><name>mwilamp</name> <label>Message Waiting Indication (MWI)</label>
|
||||||
<default>On</default>
|
<default>On</default>
|
||||||
<button value="on">On</button>
|
<button value="on">On</button>
|
||||||
<button value="off">Off</button>
|
<button value="off">Off</button>
|
||||||
|
@ -244,8 +244,6 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
<button value="no">No</button>
|
<button value="no">No</button>
|
||||||
<help>Set the MWI on call.</help>
|
<help>Set the MWI on call.</help>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
|
||||||
</page_group>
|
</page_group>
|
||||||
<page_group name="sccp_dev_ntp"><label>SCCP NTP Service config</label>
|
<page_group name="sccp_dev_ntp"><label>SCCP NTP Service config</label>
|
||||||
<item type="IS" id="1" seq="98"><name>ntp_config_enabled</name> <label>NTP Server Enabled</label>
|
<item type="IS" id="1" seq="98"><name>ntp_config_enabled</name> <label>NTP Server Enabled</label>
|
||||||
|
@ -669,7 +667,7 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
</item>
|
</item>
|
||||||
<item type="SLT" id="5" seq="98"><label>SCCP Phone Device Language</label>
|
<item type="SLT" id="5" seq="98"><label>SCCP Phone Device Language</label>
|
||||||
<name>devlang</name>
|
<name>devlang</name>
|
||||||
<default>Russian_Russia</default>
|
<default>English_United_States</default>
|
||||||
<select> </select>
|
<select> </select>
|
||||||
<help>The user locale allows the phone to display text (menu items, soft keys etc.) native to the phone's language.</help>
|
<help>The user locale allows the phone to display text (menu items, soft keys etc.) native to the phone's language.</help>
|
||||||
</item>
|
</item>
|
||||||
|
@ -724,7 +722,7 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item type="IS" id="4" seq="99"><name>useRedialMenu</name>
|
<item type="IS" id="4" seq="99"><name>useRedialMenu</name>
|
||||||
<label>Redial from Menu</label>
|
<label>Redial using Phonebook</label>
|
||||||
<default>no</default>
|
<default>no</default>
|
||||||
<button value="yes">On</button>
|
<button value="yes">On</button>
|
||||||
<button value="no">Off</button>
|
<button value="no">Off</button>
|
||||||
|
@ -741,7 +739,7 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
|
|
||||||
<item type="IS" id="6" seq="99">
|
<item type="IS" id="6" seq="99">
|
||||||
<name>dtmfmode</name>
|
<name>dtmfmode</name>
|
||||||
<label>Dual-Tone Multi-Frequency</label>
|
<label>Dual-Tone Multi-Frequency (DTMF)</label>
|
||||||
<default>outofband</default>
|
<default>outofband</default>
|
||||||
<button value="outofband">outofband</button>
|
<button value="outofband">outofband</button>
|
||||||
<button value="inband">inband</button>
|
<button value="inband">inband</button>
|
||||||
|
@ -834,33 +832,24 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
|
|
||||||
<page_group name="sccp_hw_dev_network">
|
<page_group name="sccp_hw_dev_network">
|
||||||
<label>Device Network Function</label>
|
<label>Device Network Function</label>
|
||||||
<item type="IE" id="1" seq="99"> <label>Alow Networks / Mask</label>
|
<item type="IED" id="1" seq="0">
|
||||||
<input>
|
<label>Alow Networks / Mask</label>
|
||||||
<name>permit_net</name>
|
<name>permit</name>
|
||||||
<default>0.0.0.0</default>
|
<default>/</default>
|
||||||
<class>sccp-custom</class>
|
<input value="none" field="net" nameseparator="/"><options placeholder="0.0.0.0" pattern="^([0-9]{1,3}\.){3}[0-9]{1,3}$"/></input>
|
||||||
</input>
|
<input value="none" field="mask"><options placeholder="255.255.255.0" pattern="^([0-9]{1,3}\.){3}[0-9]{1,3}$"/> </input>
|
||||||
<input>
|
<button>Add Alow network</button>
|
||||||
<name>permit_mask</name>
|
<help>Alow network settings. Blank fields will be ignored used Network 0.0.0.0.</help>
|
||||||
<default>0.0.0.0</default>
|
|
||||||
<class>sccp-custom</class>
|
|
||||||
</input>
|
|
||||||
<help>Local network settings. Blank fields will be ignored used Network 0.0.0.0.</help>
|
|
||||||
<nameseparator> / </nameseparator>
|
|
||||||
</item>
|
</item>
|
||||||
<item type="IE" id="2" seq="99"> <label>Deny Networks / Mask</label>
|
|
||||||
<input>
|
<item type="IED" id="2" seq="0">
|
||||||
<name>deny_net</name>
|
<label>Deny Networks / Mask</label>
|
||||||
<default>0.0.0.0</default>
|
<name>deny</name>
|
||||||
<class>sccp-custom</class>
|
<default>/</default>
|
||||||
</input>
|
<input value="none" field="net" nameseparator="/"><options placeholder="0.0.0.0" pattern="^([0-9]{1,3}\.){3}[0-9]{1,3}$"/><class></class></input>
|
||||||
<input>
|
<input value="none" field="mask"><options placeholder="255.255.255.0" pattern="^([0-9]{1,3}\.){3}[0-9]{1,3}$"/><class></class></input>
|
||||||
<name>deny_mask</name>
|
<button>Add Deny network</button>
|
||||||
<default>0.0.0.0</default>
|
<help>All RFC 1918 addresses are local networks. Should always be at least '0.0.0.0/0.0.0.0'.</help>
|
||||||
<class>sccp-custom</class>
|
|
||||||
</input>
|
|
||||||
<help>IP deny: IP Address deny netmask. Should always be at least '0.0.0.0/0.0.0.0'.</help>
|
|
||||||
<nameseparator> / </nameseparator>
|
|
||||||
</item>
|
</item>
|
||||||
<item type="IS" id="3" seq="99">
|
<item type="IS" id="3" seq="99">
|
||||||
<name>nat</name>
|
<name>nat</name>
|
||||||
|
|
|
@ -131,7 +131,7 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
</item>
|
</item>
|
||||||
<item type="SLT" id="3"><label>SCCP Phone Device Language</label>
|
<item type="SLT" id="3"><label>SCCP Phone Device Language</label>
|
||||||
<name>devlang</name>
|
<name>devlang</name>
|
||||||
<default>Russian_Russia</default>
|
<default>English_United_States</default>
|
||||||
<select> </select>
|
<select> </select>
|
||||||
<help>The user locale allows the phone to display text (menu items, soft keys etc.) native to the phone's language.</help>
|
<help>The user locale allows the phone to display text (menu items, soft keys etc.) native to the phone's language.</help>
|
||||||
</item>
|
</item>
|
||||||
|
@ -772,46 +772,78 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
</page_group>
|
</page_group>
|
||||||
|
<page_group name="sccp_hw_dev_softkey"><label>Enable/Disable Softkeys</label>
|
||||||
<page_group name="sccp_hw_dev_advance"><label>Device Properies</label>
|
<item type="IS" id="1" seq="99"><name>transfer</name> <label>Transfer</label>
|
||||||
<item type="IS" id="1" seq="99"><name>transfer</name> <label>Call Transfer</label>
|
|
||||||
<default>no</default>
|
<default>no</default>
|
||||||
<button value="yes">On</button>
|
<button value="yes">On</button>
|
||||||
<button value="no">Off</button>
|
<button value="no">Off</button>
|
||||||
<help>Transfer allowed</help>
|
<help>Transfer allowed</help>
|
||||||
</item>
|
</item>
|
||||||
<item type="IS" id="2" seq="99"><name>cfwdall</name> <label>Callforward softkeys</label>
|
<item type="IS" id="2" seq="99"><name>cfwdall</name> <label>Call Forward</label>
|
||||||
<default>no</default>
|
<default>no</default>
|
||||||
<button value="yes">On</button>
|
<button value="yes">On</button>
|
||||||
<button value="no">Off</button>
|
<button value="no">Off</button>
|
||||||
<help>Activate the callforward softkeys. Default is On</help>
|
<help>Activate the callforward softkeys. Default is On</help>
|
||||||
</item>
|
</item>
|
||||||
<item type="IS" id="3" seq="99"><name>cfwdbusy</name> <label>Callforward busy softkeys</label>
|
<item type="IS" id="3" seq="99"><name>cfwdbusy</name> <label>Call Forward busy</label>
|
||||||
<default>no</default>
|
<default>no</default>
|
||||||
<button value="yes">On</button>
|
<button value="yes">On</button>
|
||||||
<button value="no">Off</button>
|
<button value="no">Off</button>
|
||||||
<help>Activate the callforward busy softkeys. Default is On</help>
|
<help>Activate the callforward busy softkeys. Default is On</help>
|
||||||
</item>
|
</item>
|
||||||
|
<item type="IS" id="5" seq="99"><name>DND</name>
|
||||||
<item type="IS" id="4" seq="99"><name>useRedialMenu</name>
|
|
||||||
<label>Redial from Menu</label>
|
|
||||||
<default>no</default>
|
|
||||||
<button value="yes">On</button>
|
|
||||||
<button value="no">Off</button>
|
|
||||||
<help>You can specifying 'useRedialMenu = yes' in the sccp.conf device section and the redial softkey will cause the "placed calls" list instead of immediately calling the last dialed number.</help>
|
|
||||||
</item>
|
|
||||||
|
|
||||||
<item type="IS" id="5" seq="99"><name>dndFeature</name>
|
|
||||||
<label>DND Button on Device</label>
|
<label>DND Button on Device</label>
|
||||||
<default>On</default>
|
<default>On</default>
|
||||||
<button value="on">On</button>
|
<button value="on">On</button>
|
||||||
<button value="off">Off</button>
|
<button value="off">Off</button>
|
||||||
<help>Do Not Disturb. Default is Off</help>
|
<help>Do Not Disturb. Default is Off</help>
|
||||||
</item>
|
</item>
|
||||||
|
<item type="IS" id="8" seq="99"><name>directed_pickup</name> <label>Pickup/Gpickup</label>
|
||||||
|
<default>yes</default>
|
||||||
|
<button value="yes">On</button>
|
||||||
|
<button value="no">Off</button>
|
||||||
|
<help>Enable Pickup function to direct pickup an extension. Default is On</help>
|
||||||
|
</item>
|
||||||
|
<item type="IS" id="1" seq="99">
|
||||||
|
<name>conf_allow</name>
|
||||||
|
<label>Conference</label>
|
||||||
|
<default>yes</default>
|
||||||
|
<button value="yes">Yes</button>
|
||||||
|
<button value="no">No</button>
|
||||||
|
<help>Allow the use of conference</help>
|
||||||
|
</item>
|
||||||
|
</page_group>
|
||||||
|
|
||||||
|
<page_group name="sccp_hw_dev_pickup"><label>Pickup</label>
|
||||||
|
<item type="IE" id="10" seq="99"><label>Context</label>
|
||||||
|
<input>
|
||||||
|
<name>directed_pickup_context</name>
|
||||||
|
<default></default>
|
||||||
|
<class>sccp-custom</class>
|
||||||
|
</input>
|
||||||
|
<help>Context where direct pickup search for extensions. if not set current contect will be use.</help>
|
||||||
|
</item>
|
||||||
|
<item type="IS" id="9" seq="99"><name>directed_pickup_modeanswer</name> <label>Mode Answer</label>
|
||||||
|
<default>yes</default>
|
||||||
|
<button value="yes">On</button>
|
||||||
|
<button value="no">Off</button>
|
||||||
|
<help>On (Default)= the call has been answered when picked up. Off = call manager way, the phone who picked up the call rings the call</help>
|
||||||
|
<help-disables>Options: 'Immediate Answer' or 'Show CallerID' ??????</help-disables>
|
||||||
|
</item>
|
||||||
|
</page_group>
|
||||||
|
|
||||||
|
<page_group name="sccp_hw_dev_advance"><label>Device Properies</label>
|
||||||
|
<item type="IS" id="4" seq="99"><name>useRedialMenu</name>
|
||||||
|
<label>Redial using Phonebook</label>
|
||||||
|
<default>no</default>
|
||||||
|
<button value="yes">On</button>
|
||||||
|
<button value="no">Off</button>
|
||||||
|
<help>You can specifying 'useRedialMenu = yes' in the sccp.conf device section and the redial softkey will cause the "placed calls" list instead of immediately calling the last dialed number.</help>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item type="IS" id="6" seq="99">
|
<item type="IS" id="6" seq="99">
|
||||||
<name>dtmfmode</name>
|
<name>dtmfmode</name>
|
||||||
<label>Dual-Tone Multi-Frequency</label>
|
<label>Dual-Tone Multi-Frequency (DTMF)</label>
|
||||||
<default>outofband</default>
|
<default>outofband</default>
|
||||||
<button value="outofband">outofband</button>
|
<button value="outofband">outofband</button>
|
||||||
<button value="inband">inband</button>
|
<button value="inband">inband</button>
|
||||||
|
@ -819,7 +851,7 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item type="IS" id="7" seq="99"> <name>mwilamp</name>
|
<item type="IS" id="7" seq="99"> <name>mwilamp</name>
|
||||||
<label>Message Lamp</label>
|
<label>Message Waiting Indication (MWI)</label>
|
||||||
<default>On</default>
|
<default>On</default>
|
||||||
<button value="on">On</button>
|
<button value="on">On</button>
|
||||||
<button value="off">Off</button>
|
<button value="off">Off</button>
|
||||||
|
@ -828,41 +860,13 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
<button value="blink">Blink</button>
|
<button value="blink">Blink</button>
|
||||||
<help>Set the MWI lamp style when MWI active to on, off, wink, flash or blink</help>
|
<help>Set the MWI lamp style when MWI active to on, off, wink, flash or blink</help>
|
||||||
</item>
|
</item>
|
||||||
<item type="IS" id="8" seq="99"><name>directed_pickup</name> <label>Pickup Exten</label>
|
|
||||||
<default>yes</default>
|
|
||||||
<button value="yes">On</button>
|
|
||||||
<button value="no">Off</button>
|
|
||||||
<help>Enable Pickup function to direct pickup an extension. Default is On</help>
|
|
||||||
</item>
|
|
||||||
<item type="IS" id="9" seq="99"><name>directed_pickup_modeanswer </name> <label>Pickup Mode Answer</label>
|
|
||||||
<default>yes</default>
|
|
||||||
<button value="yes">On</button>
|
|
||||||
<button value="no">Off</button>
|
|
||||||
<help>On (Default)= the call has been answered when picked up. Off = call manager way, the phone who picked up the call rings the call</help>
|
|
||||||
</item>
|
|
||||||
<item type="IE" id="10" seq="99"><label>Pickup Context</label>
|
|
||||||
<input>
|
|
||||||
<name>directed_pickup_context</name>
|
|
||||||
<default></default>
|
|
||||||
<class>sccp-custom</class>
|
|
||||||
</input>
|
|
||||||
<help>Context where direct pickup search for extensions. if not set current contect will be use.</help>
|
|
||||||
</item>
|
|
||||||
|
|
||||||
</page_group>
|
</page_group>
|
||||||
|
|
||||||
<page_group name="sccp_hw_dev_conference">
|
<page_group name="sccp_hw_dev_conference">
|
||||||
<label>Device Conference Function</label>
|
<label>Conference</label>
|
||||||
<item type="IS" id="1" seq="99">
|
|
||||||
<name>conf_allow</name>
|
|
||||||
<label>Enabled Conference function</label>
|
|
||||||
<default>yes</default>
|
|
||||||
<button value="yes">Yes</button>
|
|
||||||
<button value="no">No</button>
|
|
||||||
<help>Allow the use of conference</help>
|
|
||||||
</item>
|
|
||||||
<item type="IS" id="2" seq="99">
|
<item type="IS" id="2" seq="99">
|
||||||
<name>conf_play_general_announce</name>
|
<name>conf_play_general_announce</name>
|
||||||
<label>Playback General Announcements</label>
|
<label>Playback Conference Anncouncements</label>
|
||||||
<default>yes</default>
|
<default>yes</default>
|
||||||
<button value="yes">Yes</button>
|
<button value="yes">Yes</button>
|
||||||
<button value="no">No</button>
|
<button value="no">No</button>
|
||||||
|
@ -870,7 +874,7 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
</item>
|
</item>
|
||||||
<item type="IS" id="3" seq="99">
|
<item type="IS" id="3" seq="99">
|
||||||
<name>conf_play_part_announce</name>
|
<name>conf_play_part_announce</name>
|
||||||
<label>Playback Personal Announcements</label>
|
<label>Playback Participant Anncouncements</label>
|
||||||
<default>yes</default>
|
<default>yes</default>
|
||||||
<button value="yes">Yes</button>
|
<button value="yes">Yes</button>
|
||||||
<button value="no">No</button>
|
<button value="no">No</button>
|
||||||
|
@ -878,7 +882,7 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
</item>
|
</item>
|
||||||
<item type="IS" id="4" seq="99">
|
<item type="IS" id="4" seq="99">
|
||||||
<name>conf_mute_on_entry</name>
|
<name>conf_mute_on_entry</name>
|
||||||
<label>Mute on start</label>
|
<label>Start Muted</label>
|
||||||
<default>no</default>
|
<default>no</default>
|
||||||
<button value="yes">Yes</button>
|
<button value="yes">Yes</button>
|
||||||
<button value="no">No</button>
|
<button value="no">No</button>
|
||||||
|
@ -903,64 +907,57 @@ and open the template in the editor. Base Version before all crash :-)
|
||||||
</page_group>
|
</page_group>
|
||||||
|
|
||||||
<page_group name="sccp_hw_dev_network">
|
<page_group name="sccp_hw_dev_network">
|
||||||
<label>Device Network Function</label>
|
<label>Network</label>
|
||||||
<item type="IE" id="1" seq="99"> <label>Alow Networks / Mask</label>
|
<item type="IED" id="1" seq="0">
|
||||||
<input>
|
<label>Alow Networks / Mask</label>
|
||||||
<name>permit_net</name>
|
<name>permit</name>
|
||||||
<default>0.0.0.0</default>
|
<default>/</default>
|
||||||
<class>sccp-custom</class>
|
<input value="none" field="net" nameseparator="/"><options placeholder="0.0.0.0" pattern="^([0-9]{1,3}\.){3}[0-9]{1,3}$"/></input>
|
||||||
</input>
|
<input value="none" field="mask"><options placeholder="255.255.255.0" pattern="^([0-9]{1,3}\.){3}[0-9]{1,3}$"/> </input>
|
||||||
<input>
|
<button>Add Alow network</button>
|
||||||
<name>permit_mask</name>
|
<help>Alow network settings. Blank fields will be ignored used Network 0.0.0.0.</help>
|
||||||
<default>0.0.0.0</default>
|
|
||||||
<class>sccp-custom</class>
|
|
||||||
</input>
|
|
||||||
<help>Local network settings. Blank fields will be ignored used Network 0.0.0.0.</help>
|
|
||||||
<nameseparator> / </nameseparator>
|
|
||||||
</item>
|
</item>
|
||||||
<item type="IE" id="2" seq="99"> <label>Deny Networks / Mask</label>
|
|
||||||
<input>
|
<item type="IED" id="2" seq="0">
|
||||||
<name>deny_net</name>
|
<label>Deny Networks / Mask</label>
|
||||||
<default>0.0.0.0</default>
|
<name>deny</name>
|
||||||
<class>sccp-custom</class>
|
<default>/</default>
|
||||||
</input>
|
<input value="none" field="net" nameseparator="/"><options placeholder="0.0.0.0" pattern="^([0-9]{1,3}\.){3}[0-9]{1,3}$"/><class></class></input>
|
||||||
<input>
|
<input value="none" field="mask"><options placeholder="255.255.255.0" pattern="^([0-9]{1,3}\.){3}[0-9]{1,3}$"/><class></class></input>
|
||||||
<name>deny_mask</name>
|
<button>Add Deny network</button>
|
||||||
<default>0.0.0.0</default>
|
<help>All RFC 1918 addresses are local networks. Should always be at least '0.0.0.0/0.0.0.0'.</help>
|
||||||
<class>sccp-custom</class>
|
|
||||||
</input>
|
|
||||||
<help>IP deny: IP Address deny netmask. Should always be at least '0.0.0.0/0.0.0.0'.</help>
|
|
||||||
<nameseparator> / </nameseparator>
|
|
||||||
</item>
|
</item>
|
||||||
<item type="IS" id="3" seq="99">
|
<item type="IS" id="3" seq="99">
|
||||||
<name>nat</name>
|
<name>nat</name>
|
||||||
<label>NAT Device</label>
|
<label>NAT</label>
|
||||||
<default>Off</default>
|
<default>none</default>
|
||||||
|
<button value="none">Auto</button>
|
||||||
<button value="off">Off</button>
|
<button value="off">Off</button>
|
||||||
<button value="on">On</button>
|
<button value="on">On</button>
|
||||||
<help>Device NAT support (default Off)</help>
|
<help>Device NAT support (default Auto)</help>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item type="IS" id="4" seq="99">
|
<item type="IS" id="4" seq="99">
|
||||||
<name>directrtp</name>
|
<name>directrtp</name>
|
||||||
<label>Directrtp Device</label>
|
<label>Direct RTP</label>
|
||||||
<default>Off</default>
|
<default>none</default>
|
||||||
|
<button value="none">Auto</button>
|
||||||
<button value="off">Off</button>
|
<button value="off">Off</button>
|
||||||
<button value="on">On</button>
|
<button value="on">On</button>
|
||||||
<help>This option allow devices to do direct RTP sessions (default Off)</help>
|
<help>This option allow devices to do direct RTP sessions (default Off)</help>
|
||||||
</item>
|
</item>
|
||||||
<item type="IS" id="5" seq="99">
|
<item type="IS" id="5" seq="99">
|
||||||
<name>earlyrtp</name>
|
<name>earlyrtp</name>
|
||||||
<label>Early Rtp Device</label>
|
<label>Early RTP</label>
|
||||||
<default>progress</default>
|
<default>none</default>
|
||||||
<button value="progress">Progress</button>
|
<button value="none">Progress</button>
|
||||||
<button value="offhook">Offhook</button>
|
<button value="offhook">Offhook</button>
|
||||||
|
<button-d value="immediate">Immediate</button-d>
|
||||||
<button value="dial">Dial</button>
|
<button value="dial">Dial</button>
|
||||||
<button value="none">none</button>
|
<button value="ringout">Ringout</button>
|
||||||
|
<button value="None">None</button>
|
||||||
<help>The audio strem will be open in the progress and connected state. Valid options: none, progress, offhook, dial, ringout. Default may be Progress.</help>
|
<help>The audio strem will be open in the progress and connected state. Valid options: none, progress, offhook, dial, ringout. Default may be Progress.</help>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
|
||||||
</page_group>
|
</page_group>
|
||||||
<page_group name="sccp_dp_new_template">
|
<page_group name="sccp_dp_new_template">
|
||||||
<item type="IE" id="1" seq="99"><label>Template Name</label>
|
<item type="IE" id="1" seq="99"><label>Template Name</label>
|
||||||
|
|
|
@ -36,12 +36,12 @@ if (!empty($_REQUEST['id'])) {
|
||||||
$def_val['netlang'] = array("keyword" => 'netlang', "data" => $tmpar[0], "seq" => "99");
|
$def_val['netlang'] = array("keyword" => 'netlang', "data" => $tmpar[0], "seq" => "99");
|
||||||
$def_val['devlang'] = array("keyword" => 'devlang', "data" => $tmpar[1], "seq" => "99");
|
$def_val['devlang'] = array("keyword" => 'devlang', "data" => $tmpar[1], "seq" => "99");
|
||||||
break;
|
break;
|
||||||
case 'permit':
|
// case 'permit':
|
||||||
case 'deny':
|
// case 'deny':
|
||||||
$def_val[$key . '_net'] = array("keyword" => $key, "data" => before('/', $val), "seq" => "99");
|
// $def_val[$key . '_net'] = array("keyword" => $key, "data" => before('/', $val), "seq" => "99");
|
||||||
$key = $key . '_mask';
|
// $key = $key . '_mask';
|
||||||
$val = after('/', $val);
|
// $val = after('/', $val);
|
||||||
break;
|
// break;
|
||||||
}
|
}
|
||||||
$def_val[$key] = array("keyword" => $key, "data" => $val, "seq" => "99");
|
$def_val[$key] = array("keyword" => $key, "data" => $val, "seq" => "99");
|
||||||
}
|
}
|
||||||
|
@ -66,6 +66,8 @@ if (!empty($_REQUEST['id'])) {
|
||||||
}
|
}
|
||||||
echo $this->ShowGroup('sccp_hw_dev2', 1, 'sccp_hw', $def_val);
|
echo $this->ShowGroup('sccp_hw_dev2', 1, 'sccp_hw', $def_val);
|
||||||
echo $this->ShowGroup('sccp_hw_dev_advance', 1, 'sccp_hw', $def_val);
|
echo $this->ShowGroup('sccp_hw_dev_advance', 1, 'sccp_hw', $def_val);
|
||||||
|
echo $this->ShowGroup('sccp_hw_dev_softkey', 1, 'sccp_hw', $def_val);
|
||||||
|
echo $this->ShowGroup('sccp_hw_dev_pickup', 1, 'sccp_hw', $def_val);
|
||||||
echo $this->ShowGroup('sccp_hw_dev_conference', 1, 'sccp_hw', $def_val);
|
echo $this->ShowGroup('sccp_hw_dev_conference', 1, 'sccp_hw', $def_val);
|
||||||
echo $this->ShowGroup('sccp_hw_dev_network', 1, 'sccp_hw', $def_val);
|
echo $this->ShowGroup('sccp_hw_dev_network', 1, 'sccp_hw', $def_val);
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -141,6 +141,7 @@ foreach ($items as $child) {
|
||||||
if ($child['type'] == 'IED') {
|
if ($child['type'] == 'IED') {
|
||||||
$res_input = '';
|
$res_input = '';
|
||||||
$res_name = '';
|
$res_name = '';
|
||||||
|
$res_value = '';
|
||||||
$res_n = (string)$child->name;
|
$res_n = (string)$child->name;
|
||||||
|
|
||||||
// $res_value
|
// $res_value
|
||||||
|
|
Loading…
Reference in a new issue