Commit graph

161 commits

Author SHA1 Message Date
steve-lad 3d1b8015c5
Merge pull request #18 from chan-sccp/Fix-Issue-#14
Fix issue #14
2021-06-13 15:43:48 +02:00
steve-lad 007330159e Disable TZ selection
TZ is a FreePBX property and should be only changed there.

Now only display for info with help

Ensure that at each initiation, we load the system value
2021-06-13 15:39:43 +02:00
steve-lad f20146b7ef Partial Revert of 212c437
If outbound caller id is not set by user, do not set here (no default value).

$label is not declared in this class and so causes exception when called from Quick Create Extension

Only redirect when called from SCCP Phone add extension or from Extensions add extension
2021-06-13 09:09:55 +02:00
steve-lad 9547cfe927 Clean up and document redirect changes
Add comments
Standardise URL's
Remove surplus cases
2021-06-11 08:54:24 +02:00
steve-lad 7427fcabb8 Standardise URL
Standardise URL based on PHP Defaults
2021-06-10 17:41:18 +02:00
steve-lad cf546961fe Add redirect after saving to sccp_line
Add redirect after saving to sccpline
Revert changes in page script formatting
2021-06-10 16:57:19 +02:00
steve-lad 17293287fa Correct Default values
Correct default values
Fix SQL syntax error
2021-06-04 17:02:27 +02:00
steve-lad 98a0f4e8b7 Update installer
Change default values in Sccp.class
Change SQL statements
Change DB schema
2021-06-04 16:20:18 +02:00
steve-lad f7d88e68bb Correct defaults for call transfer
This field is an enum in db and so must be on/off
2021-06-04 08:12:09 +02:00
steve-lad 355b0b0ca3 Fix issue - sccpline row not created
Remove unnecessary escaping of quotation marks that caused SQL to reject command
2021-06-04 07:56:20 +02:00
steve-lad d0fd1f2cdb Remove incompatible files
Simplify compatibility checking. This version is only compatible with chan-sccp 433 or greater.
2021-05-31 16:11:07 +02:00
steve-lad b138c3ac81 Enable edit of phones as per 9e95071
Reintegrate edit of phones as per original patch by @dkgroot
Corrections in HTML
Simplify Installer mods
2021-05-30 16:01:02 +02:00
steve-lad 85e4bce407 Simplify tests
Use Isset instaed of empty twice
2021-05-30 14:27:45 +02:00
steve-lad 7cf12356c1 Update Sccp.class.php.v433
Correct indentation
Rewrite SQL Replace statement to simplify
2021-05-30 13:22:46 +02:00
steve-lad 9c4c94cba7 ReIndent Sccp.class.v433 2021-05-30 12:50:48 +02:00
Diederik de Groot 212c43782b parse outboundcid content into cid_num and cid_name sccpline fields
If outboundcid contains '"name" <num>' the content needs to be split to cid_name and cid_num.
If not the content should be a number and should be copied to cid_num only, in that case we fill cid_name with the value of $label

Fixes: #72

Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-05-30 11:47:47 +02:00
steve-lad 4ce789cd3e Fix reversion errors
When rebasing, errors were introduced. This commit reverses those errors. It may also revert some commits
2021-05-29 15:50:04 +02:00
Diederik de Groot 0011581fc0
Merge branch 'PR108' into extension_mobility_rebased_on_develop 2021-05-24 13:46:19 +02:00
Diederik de Groot 07be691c16
parse outboundcid content into cid_num and cid_name sccpline fields
If outboundcid contains '"name" <num>' the content needs to be split to cid_name and cid_num.
If not the content should be a number and should be copied to cid_num only, in that case we fill cid_name with the value of $label

Fixes: #72

Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-04-02 15:30:03 +02:00
PhantomVl 30db2da52d
Fixes: #88
-- Bug Fix SRST Config
-- A template was added for 7975
2021-04-02 15:23:53 +02:00
PhantomVl f93b846dc1
--- Add support for setting "setvar=xxx=xxx" entries
--- Writing sccp.conf also check/create sccp_custom.conf #87
--- Fix the getCodec function. #85
--- Switching around the general deny/permit order. #82
--- Thank Josh2893 for the templet #77
Special thanks for help Diederik de Groot
2021-04-02 15:23:53 +02:00
PhantomVl a3c240b63f
-- Bug fix issues/74 2021-04-02 15:23:52 +02:00
PhantomVl 6740aab4f2
-- Bug fix
-- DB add field 'videomode'
2021-04-02 15:23:52 +02:00
PhantomVl 5cebb936c9
-- Bug fix 2021-04-02 15:23:52 +02:00
PhantomVl 14cb629f61
-- Added new features for the future (now disabled)
-- Changed time zone settings
-- Changed the list of supported codecs
-- Added the ability to specify the DNS name as the server interface
-- Bug Fix
-- Add Vendor Config Options
2021-04-02 15:23:51 +02:00
Diederik de Groot 1afe5c5438
Fix Spelling Sccp_manager.class.php
Switch to using camelCase for functions in Sccp_manager.class.php
Remove old TODO comments
Remove comments that don't add information

Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-04-02 15:23:51 +02:00
Diederik de Groot de0a07562f
Ran: .......................................... 42 / 42 (100%)
No fixable errors were found

Time: 10.05 secs; Memory: 41.75MB
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-04-02 15:23:44 +02:00
Diederik de Groot ca16773fa5
First round of spelling corrections
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-04-02 15:23:27 +02:00
PhantomVl 413bcf1b38
-- Added new features for the future (now disabled)
-- Changed time zone settings
-- Changed the list of supported codecs
-- Added the ability to specify the DNS name as the server interface
2021-04-02 15:23:05 +02:00
Phantom 5586e006c0
Update Sccp.class.php.v433 2021-04-02 15:23:05 +02:00
Phantom 3c7bd16342
Update Sccp.class.php.v431 2021-04-02 15:23:05 +02:00
PhantomVl 3b33d83739
- Add Support "Callforward NOANSWER"
- Add Support "park"
2021-04-02 15:23:05 +02:00
PhantomVl b6bc649758
- Fix SCCP
- Fix SIP
2021-04-02 15:23:04 +02:00
PhantomVl 1905431be4
- ADD SIP TFTP
- Activate Dial Template
2021-04-02 15:23:04 +02:00
PhantomVl de7633ace7
- ADD SIP TFTP
- Activate Dial Template
2021-04-02 15:23:04 +02:00
PhantomVl f5c5d1f79e
- Change Sccp class driver 2021-04-02 15:23:04 +02:00
PhantomVl 4cd6d7958a
- Change Sccp class driver 2021-04-02 15:23:04 +02:00
PhantomVl 597bed3bce
- Create Cisco phone service for user mobility. 2021-04-02 15:20:55 +02:00
PhantomVl 573a2c9811
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
2021-04-02 15:18:55 +02:00
PhantomVl 713d588d98
Initial add of feature mobility user table:
- Add extra user fields and sccp_config entries
 - Create new buttonconfig table
2021-04-02 15:15:58 +02:00
PhantomVl 5cf3f7f324 Fixes: #88
-- Bug Fix SRST Config
-- A template was added for 7975
2020-11-16 22:58:44 +03:00
PhantomVl ab6b45350e --- Add support for setting "setvar=xxx=xxx" entries
--- Writing sccp.conf also check/create sccp_custom.conf #87
--- Fix the getCodec function. #85
--- Switching around the general deny/permit order. #82
--- Thank Josh2893 for the templet #77
Special thanks for help Diederik de Groot
2020-11-11 15:16:41 +03:00
PhantomVl dc94cf6d33 -- Bug fix issues/74 2020-05-04 16:29:45 +03:00
PhantomVl 5be35cc0ae -- Bug fix
-- DB add field 'videomode'
2020-04-21 22:51:43 +03:00
PhantomVl 7bce73092f -- Bug fix 2020-04-21 13:51:10 +03:00
PhantomVl 2d57895fc1 -- Added new features for the future (now disabled)
-- Changed time zone settings
-- Changed the list of supported codecs
-- Added the ability to specify the DNS name as the server interface
-- Bug Fix
-- Add Vendor Config Options
2020-04-16 20:35:50 +03:00
Diederik de Groot 99aa4971c4 Fix Spelling Sccp_manager.class.php
Switch to using camelCase for functions in Sccp_manager.class.php
Remove old TODO comments
Remove comments that don't add information

Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2020-04-09 10:16:15 +00:00
Diederik de Groot 2db4cd3dc2 Ran: .......................................... 42 / 42 (100%)
No fixable errors were found

Time: 10.05 secs; Memory: 41.75MB
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2020-04-09 09:25:43 +00:00
Diederik de Groot ccd514dbd9 First round of spelling corrections
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2020-04-09 09:24:02 +00:00
PhantomVl 5e0b2605e3 -- Added new features for the future (now disabled)
-- Changed time zone settings
-- Changed the list of supported codecs
-- Added the ability to specify the DNS name as the server interface
2020-04-07 17:53:47 +03:00
Phantom 668ed964b8
Update Sccp.class.php.v433 2020-03-03 13:58:40 +03:00
Phantom 66e162a13e
Update Sccp.class.php.v431 2020-03-03 13:57:40 +03:00
PhantomVl 57b73781dc - Add Support "Callforward NOANSWER"
- Add Support "park"
2019-11-14 17:10:14 +03:00
PhantomVl 859d15e140 - Fix SCCP
- Fix SIP
2019-09-20 19:43:18 +03:00
PhantomVl ca45965534 - ADD SIP TFTP
- Activate Dial Template
2019-09-09 17:26:09 +03:00
PhantomVl f75a486701 - ADD SIP TFTP
- Activate Dial Template
2019-08-21 18:00:57 +03:00
PhantomVl f98e7fb774 - Change Sccp class driver 2019-08-06 11:18:27 +03:00
PhantomVl 197eb8f1fa - Change Sccp class driver 2019-07-19 11:11:00 +03:00
PhantomVl 8d8d45d2d9 - Create Cisco phone service for user mobility. 2019-04-23 13:32:52 +03:00
PhantomVl c5004e780d 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
2019-04-01 09:33:13 +03:00
PhantomVl c2b97fe3ee Initial add of feature mobility user table:
- Add extra user fields and sccp_config entries
 - Create new buttonconfig table
2019-03-25 15:25:51 +03:00
John Volk c6685d6174 English translation correction (Spelling error) 2019-02-09 15:09:33 -05:00
PhantomVl c06e9a5ba9 - Bug fix. 2019-01-14 12:33:24 +03:00
PhantomVl f457ce8259 Bug fix Reported by @MarcusRobichon 2019-01-11 12:48:49 +03:00
PhantomVl 28a051e01a - Add BackUp.
- Add Transfer in Global Config.
2019-01-10 18:50:59 +03:00
PhantomVl 5bd0d2b124 bug fix :
- Set hints all device
  - BLF Update
  - phonePersonalization
2018-12-28 16:01:20 +03:00
PhantomVl 6794069d3b Update procedure Insall
bug fix
2018-12-25 18:41:34 +03:00
PhantomVl bbfc6bb007 Update 433 bug fix 2018-12-19 17:40:10 +03:00
PhantomVl 55f6dd73f9 Update 433
- Added support for updated driver configuration 
 - Added revision control database schema (258fed034e)
 - Added option "callhistory_answered_elsewhere"  - save point in phone directory for pickup calls. 
  (bug fix by dkgroot  0291207d82)
 -  Bug fix options (TFTP SERVER remapping support) 
 - And traditionally added new bugs. 
 - И для тех кто хочет помочь проекту добавлены свежие баги. Я их еще не  нашел, а вы ?
2018-12-18 12:28:00 +03:00
PhantomVl b6a411f96e DB Update Bug fix 2018-10-31 17:26:58 +03:00
PhantomVl ac4603d543 Added functionality for creating a simplified interface or alternative schemas. 2018-08-10 13:34:49 +03:00
PhantomVl dbb7acc524 Bug Fix 2018-06-26 18:33:05 +03:00
PhantomVl 5d725b4e13 In the install script, added the mysql parameter search.
Added the ability to read the configuration of the "tftp-rewrite" from external config file
2018-04-17 15:59:18 +03:00
PhantomVl d6f4599849 add Simulated Enbloc Dialing 2018-03-05 15:10:27 +03:00
PhantomVl 5d9e262466 Create support TFTP-HPA rewrite
+ Fixed bug
2018-01-04 15:24:01 +03:00
PhantomVl df5d9798cc Fixed bug 2017-12-27 16:25:12 +03:00
PhantomVl d1be93cbbe Fixed spelling errors by SimplySynced
Add support ATA device
Update i18n spelling.
2017-12-22 13:08:42 +03:00
PhantomVl 4887b92cb1 Added force_dtmfmode field to the config 2017-11-29 19:23:49 +03:00
PhantomVl e206e2e4bd Remove old bug & add new bugs ! 2017-11-24 19:49:57 +03:00
PhantomVl aff9404d6c Add butons 'Internal', 'Inherit' 2017-11-15 14:06:32 +03:00
PhantomVl e41476560c bug fix 'inernal'
Pre-made support for ATA devices
2017-11-10 18:58:06 +03:00
PhantomVl 1ef2e443ee Small changes in comments 2017-11-09 16:57:22 +03:00
PhantomVl e416b55654 Diederik de Groot <dkgroot@talon.nl> 03.11.2017
- Update README.md
  - Commented out astman_retrieveJSFromMetaData in install.php (was moved to srvinterface)
  - Addd/Updated some !TODO! entries
  - Spelling:
  - devise -> device
  - Compatable/Comable -> Compatible
  - Templet -> Template
  - buton -> button
  - Templatee -> Template
  - format style PHP
2017-11-03 17:46:34 +03:00
PhantomVl 9a18a0940b Diederik de Groot <dkgroot@talon.nl> 03.11.2017
- Update README.md
  - Commented out astman_retrieveJSFromMetaData in install.php (was moved to srvinterface)
  - Addd/Updated some !TODO! entries
  - Spelling:
  - devise -> device
  - Compatable/Comable -> Compatible
  - Templet -> Template
  - buton -> button
  - Templatee -> Template
2017-11-03 17:09:53 +03:00
Diederik de Groot c077885c9b - Update README.md
- Commented out astman_retrieveJSFromMetaData in install.php (was moved to srvinterface)
- Addd/Updated some !TODO! entries
- Spelling:
  - devise -> device
  - Compatable/Comable -> Compatible
  - Templet -> Template
  - buton -> button
  - Templatee -> Template
2017-11-03 14:35:34 +01:00
PhantomVl 4b6ebea984 Begin resample Sccp_manager
Create seporated interface to Xml
2017-11-02 11:10:48 +03:00
PhantomVl 20ce9d0581 Begin resample Sccp_manager
add system info
2017-11-01 15:34:09 +03:00
PhantomVl cce4683b52 Begin resample Sccp_manager
more bug fix
2017-10-27 12:45:18 +03:00
PhantomVl 7154b908b7 Begin resample Sccp_manager
changed the suffix of the configuration file name
2017-10-25 19:42:45 +03:00
PhantomVl 24e0f2404c Begin resample Sccp_manager
changed the suffix of the configuration file name
2017-10-25 19:06:16 +03:00
PhantomVl 90c97a4332 Begin resample Sccp_manager
fix in install table data 
    fix in driver insert fields
2017-10-25 12:52:48 +03:00
PhantomVl ff7aa27ed5 Begin resample Sccp_manager
Add config Realtime in instll
    Use Cisco Time Zone in NTP config
2017-10-24 12:45:15 +03:00
PhantomVl 2861da85c0 Begin resample Sccp_manager
DB convert Use ENUM
2017-10-18 14:39:53 +03:00
PhantomVl 6b68cba0ea Begin resample Sccp_manager
few Bugs, no Doc, maybe something is not working 16.10.2017 
    Fix mail box, sccp driver
2017-10-16 22:34:40 +03:00
dex e69ae3a0d8 Fixed additional spelling errors 2017-10-13 09:55:52 -04:00
dex 3ad4284aa7 Fixed additional spelling errors 2017-10-12 12:37:30 -04:00
dex 8afffb670a Update placeholders for URLs 2017-10-12 00:52:31 -04:00
PhantomVl e3a14afae2 Prerelease 11.10.2017
temp update fore fix Undefined index: Russian_Russia
2017-10-11 15:28:02 +03:00
PhantomVl 524b602a5e Prerelease 06.10.2017
change Lablel in SCCP Extension page
2017-10-10 12:33:03 +03:00
PhantomVl 14d6ffc298 Prerelease 06.10.2017
Rename Label.
2017-10-07 17:52:05 +03:00