Initial add of feature mobility user table:
- Add extra user fields and sccp_config entries - Create new buttonconfig table - Add PhoneCodepages like cp1251 - Add BackUp Config before Install
This commit is contained in:
parent
d6dc2a2071
commit
c5004e780d
1
!Readme.txt/freppbx.txt
Normal file
1
!Readme.txt/freppbx.txt
Normal file
|
@ -0,0 +1 @@
|
|||
https://github.com/chan-sccp/chan-sccp/wiki/Monitor-and-Pickup-Incoming-Calls-via-Speeddial-Using-Custom-Devstate
|
|
@ -1945,7 +1945,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
|
|||
fclose($fh);
|
||||
|
||||
$zip = new \ZipArchive();
|
||||
$filename = $result . "." . gethostname() . ".zip";
|
||||
$filename = $result . "." . gethostname() . ".zip";
|
||||
if ($zip->open($filename, \ZIPARCHIVE::CREATE)) {
|
||||
$zip->addFile($result);
|
||||
$zip->addFile($backup_info);
|
||||
|
|
|
@ -1590,7 +1590,7 @@ and open the template in the editor. Base Version before all crash :-)
|
|||
<help>Help!</help>
|
||||
</item>
|
||||
<item type="IS" id="13" seq="99">
|
||||
<name>rouminglogin</name>
|
||||
<name>roaminglogin</name>
|
||||
<label>Rouming</label>
|
||||
<default>off</default>
|
||||
<button value="off">Disabled</button>
|
||||
|
|
|
@ -106,10 +106,10 @@ ri ^(cmterm_7936.3-3-21-0.bin)$ firmware/7936/\1
|
|||
ri ^(apps37sccp.1-4-5-7.bin)$ firmware/7937/\1
|
||||
|
||||
# 7940_7960 firmware (ancient)
|
||||
ri ^(P0030801SR)(+\.bin)$ firmware/7940/\1
|
||||
ri ^(P0030801SR)(+\.loads)$ firmware/7940/\1
|
||||
ri ^(P0030801SR)(+\.sb2)$ firmware/7940/\1
|
||||
ri ^(P0030801SR)(+\.sbn)$ firmware/7940/\1
|
||||
ri ^(P0030801SR)(.+\.bin)$ firmware/7940/\1
|
||||
ri ^(P0030801SR)(.+\.loads)$ firmware/7940/\1
|
||||
ri ^(P0030801SR)(.+\.sb2)$ firmware/7940/\1
|
||||
ri ^(P0030801SR)(.+\.sbn)$ firmware/7940/\1
|
||||
|
||||
# 7941_7961 firmware (java-based)
|
||||
ri ^(apps41)(.+\.sbn)$ firmware/7941/\1\2
|
||||
|
@ -174,11 +174,11 @@ ri ^(ATA030204SCCP090202A.zup)$ firmware/ata186/\1
|
|||
# Sub-Directory Handling
|
||||
|
||||
# settings
|
||||
ri ^(.+\.tlv)?$ settings/\1
|
||||
ri ^\/(.+\.tlv)?$ settings/\1
|
||||
ri ^((.+\.cnf.xml)(\.enc)?(\.sgn)?)$ settings/\1
|
||||
ri ^\/((.+\-cnf.xml)(\.enc)?(\.sgn)?)$ settings/\1
|
||||
ri ^\/((SPA504G-cfg.xml)(\.enc)?(\.sgn)?)$ settings/\1
|
||||
#ri ^(.+\.tlv)?$ settings/\1
|
||||
#ri ^\/(.+\.tlv)?$ settings/\1
|
||||
#ri ^((.+\.cnf.xml)(\.enc)?(\.sgn)?)$ settings/\1
|
||||
#ri ^\/((.+\-cnf.xml)(\.enc)?(\.sgn)?)$ settings/\1
|
||||
#ri ^\/((SPA504G-cfg.xml)(\.enc)?(\.sgn)?)$ settings/\1
|
||||
|
||||
# Keep firmware in a separate directory (optional)
|
||||
#ri ^(.+\.loads)$ firmware/\1
|
||||
|
@ -197,7 +197,7 @@ ri ^(.+)\/(.+-kate.xml)$ languages/\1/\2
|
|||
# Keep ring-tones in a separate directory (optional)
|
||||
ri ^([R|r]ing[L|l]ist)(\.xml|-wb\.xml)(\.sgn)?$ ringtones/ringlist.xml
|
||||
ri ^(Distinctive[R|r]ing[L|l]ist)(\.xml|-wb\.xml)(\.sgn)?$ ringtones/ringlist.xml
|
||||
ri ^(.+)(\.raw|\.rwb)(\.sgn)?$ ringtones/\1\2\3
|
||||
ri ^(.+)(\.raw|\.rwb|\.pcm)(\.sgn)?$ ringtones/\1\2\3
|
||||
|
||||
# Rename Desktops to wallpapers (optional)
|
||||
#ri ^Desktops/(.+)/(List\.xml)(\.sgn)?$ wallpapers/\1/\2\3
|
||||
|
|
|
@ -500,7 +500,7 @@ function InstallDB_sccpusers() {
|
|||
`pin` VARCHAR(7) NULL DEFAULT NULL,
|
||||
`password` VARCHAR(7) NULL DEFAULT NULL,
|
||||
`description` VARCHAR(45) NULL DEFAULT NULL,
|
||||
`rouminglogin` ENUM('on','off','multi') NULL DEFAULT 'off',
|
||||
`roaminglogin` ENUM('on','off','multi') NULL DEFAULT 'off',
|
||||
`devicegroup` VARCHAR(20) NULL DEFAULT 'all',
|
||||
`auto_logout` ENUM('on','off') NULL DEFAULT 'off',
|
||||
`homedevice` VARCHAR(20) NULL DEFAULT NULL,
|
||||
|
|
Loading…
Reference in a new issue