phantomvl / sccp_manager Goto Github PK
View Code? Open in Web Editor NEWSCCP Manager
SCCP Manager
When you setup the phone device, can you add an option to set the DTMF mode since not all phones (especially older versions) do not support rfc2833 (inband) dtmf.
I believe the dtmf is normally set in the sccp_hardware.conf but when using SCCP Manager there's no sccp_hardware.conf file anymore.
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.
I'm getting the following error when trying to install using fwconsole. Installation from FreePBX GUI just hangs and never completes.
PHP Fatal error: Can't use function return value in write context in /var/www/html/admin/modules/sccp_manager/Sccp_manager.class.php on line 1903
Whoops\Exception\ErrorException: Can't use function return value in write context in file /var/www/html/admin/modules/sccp_manager/Sccp_manager.class.php on line 1903
Stack trace:
We have a plain installation Freepbx Distro and chan_sccp. When I am adding phones and lines everything is written perfectly to the tables, but when I use 'sccp show lines' or 'sccp show devices' nothing is shown. Realtime is working for SIP extensions. The sccp.conf is written correctly (beside the directed pickup problem already reported). I have no clue ..
Hi.
Sorry i had not got back to you but have been away. The New Zealand code is still incorrect.
Please have a look at the follow website for all the correct Cisco Local Time Zone names.
http://usecallmanager.nz/sepmac-cnf-xml.html#networkLocale/timeZone
In your code you just have New Zealand/Daylight Time it should be
New Zealand Standard/Daylight Time
Hello. I installed and update Freepbx, next step i install module sccm_manager and now i have a problem with create-cnf files. When i select and press button "create-cnf" , i view message
Undefined index: cisco_code
File:/var/www/html/admin/modules/sccp_manager/Sccp_manager.inc/xmlinterface.class.php:202
PBX Firmware:12.7.6-1904-1.sng7
I found two minor English spelling errors in the Advanced Server config module page.
sccp_manager/views/advserver.model.php
Line 210 in 4a0c770
No awalable => Not Available
Tow ExpModule => Two ExpModule
Have a great day,
~Gary
This is strange one: sccp manager gets localization files only from /tftpboot/language folder but phone itself tries to get language files from /tftpboot folder.
Advanced Tab
Assigned DID/CID
Edit Extension
Extension Options
SCCP/12345/ringer=inside, 20);
or SCCP/12345/aa=2w, 20);
Hi,
i will install the module to a raspPBX and chan_sccp is installed. I using the latest Version from freepbx. But the installation failed with !!!! Installation error: Can not find required sccpdevice table !!!!!! ::
`/var/www/html/admin/libraries/utility.functions.php
function compress_framework_css() {
compress::web_files();
}
/**
/**
I don't know what to do or i missing some functions or modules?!
so long
Nico
Is it possible to use sccp_manager as a standalone phone manager for Asterisk16 without FreePBX?
When using Phone Manager to create a new device I get an error when saving:
Undefined index: button0_line
File:/var/www/html/admin/modules/sccp_manager/Sccp_manager.class.php:953
In the Device Buttons tab, Buttons 0 Default is set to DEF LINE (can't be changed)
When I go into Module Administration to install the manager module, I get an error that states:
syntax error, unexpected '('
/var/www/html/admin/modules/sccp_manager/Sccp_manager.class.php
* Show form information - General
*/
public function myShowPage() {
$request = $_REQUEST;
$action = !empty($request['action']) ? $request['action'] : '';
if (!empty(($this->sccpvalues['displayconfig']))) {
if (!empty(($this->sccpvalues['displayconfig']['data'] == 'sccpsimple'))) {
$this->pagedata = array(
It appears as if it is on the if (!empty(($this->sccpvalues['displayconfig'])))
line. Anybody seen a similar issue?
I am confused.. Does chan-sccp use a dialplan.xml for number matching, or do you have to use the digit-timeout feature or dial # after the number to dial immediately?
Hello,
When addin a phone through the SCCP Phone Manager. Right now when I do my SEP ID under the general device configuration it will add but does not connect, even if it is the SEP currently mines SEP001193123610, Also Type I have a 7970 but it does not have this listed in drop down. If I go to save right now it says
Undefined index: Russian_Russia
File:/var/www/html/admin/modules/sccp_manager/Sccp_manager.class.php:2167
It saves but does not connect. The interesting thing is if I put SEP001193123610 in the field it adds without any error shows the ID of SEPSEP001193123 in the device SEP ID field but still does not connect. I did have 2 occasions where the phone did show up and connected but when I deleted the line I created it would remove both. Not sure what is going on but please let me know how I can help.
No matching codec found
[2019-10-24 08:02:33] WARNING[25415][C-00000045]: ast113.c:146 sccp_astwrap_getSkinnyFormatMultiple: SCCP: (getSkinnyFormatSingle) No matching codecs found
[2019-10-24 08:02:33] NOTICE[25415][C-00000045]: ast113.c:1774 sccp_astwrap_request: SCCP: remote native audio formats are not compatible with any skinny format. Transcoding required
Would you have any idea what codec I should use to avoid this?
When I go to Save my configuration of a new phone, I get this message:
Undefined index: cisco_code
File:/var/www/html/admin/modules/sccp_manager/Sccp_manager.inc/xmlinterface.class.php:201
hello you can also put the files you need in the tftp online,
especially the language file dir can I use, or where can I download it, if possible the EN files and the NL file I have already found the FR
[Desktops] - Phone desktop
[English_United_States] - Phone language
[ring]
[templates] - Phone templets (auto create after intsall)
apps11.9-2-1TH1-13.sbn
apps41.9-2-1TH1-13.sbn
B015-1-0-4.SBN
cnu11.9-2-1TH1-13.sbn
cnu41.9-2-1TH1-13.sbn
cvm11sccp.9-2-1TH1-13.sbn
cvm41sccp.9-2-1TH1-13.sbn
DISTINCTIVERLIST.XML
dsp11.9-2-1TH1-13.sbn
dsp41.9-2-1TH1-13.sbn
g3-tones.xml
g4-tones.xml
jar11sccp.9-2-1TH1-13.sbn
jar41sccp.9-2-1TH1-13.sbn
P0030801SR02.bin
P0030801SR02.loads
P0030801SR02.sb2
P0030801SR02.sbn
P0030801SR02.txt
RINGLIST.XML
S00105000400.sbn
SCCP11.9-2-1S.loads
SCCP41.9-2-1S.loads
SEP0000000000.cnf.xml * - autogenerate
softKeyFile.xml
term11.default.loads
term41.default.loads
WLANDefault.xml
XMLDefault.cnf.xml * - autogenerate
I t seems that the codec tab is missing from the Sccp Phone Manager page.
So when I Save the page I get an undefined cisco code error on the xmlinterface.class.php 202
I did get the latest update and uninstalled and reinstalled the module. Is there something i need to do in the database?
I have server that uses two interfaces with different subnets on each one. But my ip phones should connect only through one of these interfaces. How I can select which interface will be put into generated cnf.xml file?
Hi,
i have a freshinstall from rasPBX and sccp. when i install sccp manager i become this as error. zip and gzip is installed on my pi.
$zip = new \ZipArchive(); $filename = $dir . "/sccp_instal_backup" . date("Ymd"). ".zip"; if ($zip->open($filename, \ZIPARCHIVE::CREATE)) { foreach ($backup_files as $file) { foreach ($backup_ext as $b_ext) { if (file_exists($dir . '/'.$file . $b_ext)) { $zip->addFile($dir . '/'.$file . $b_ext);
so long
Exception raised when using whitespaces in Softkey templates names in SCCP Manager. Templates that has been written in sccp.conf can not be read by freepbx interpreter.
Hello, i have installed this manager to help me with my sccp phones.
I have followed the step by step, and everything have gone well, but i was testing with an ip comunicator, at first everything had gone well, but after a restart to the device from the page, the IP comunicator had gone wrong and cannot register again stays on ip configuration..
But at first it was working
In the button configuration screen, the dropdown containing all extensions truncate text for length. This causes some hints not to work and it may not be apparent why until the user inspects the resulting generated HTML. Please see attached image.
Additionally, the user could gain more functionality by combining the dropdown with a text entry field by using the datalist element for custom hint locations. Example:
<input type="text" name="hntCstm" list="lstExtns">
<datalist id="lstExtns">
<option value="4101@from-internal">4101/Kirk Cross</option>
<option value="4102@from-internal">4102/L. Jensen</option>
<option value="4103@from-internal">4103/Warehouse I</option>
<option value="5199@mesg-functs">5199/Group Message</option>
<option value="HA14073315882@from-really-long-list">Toggle Garden Lights</option>
_Etc..._
</datalist>
Thank you for your assistance.
Kirk
i am new to sccp and chan sccp and this manager and im getting this error if any one can help
copy(/tftpboot/templates/dialplan.xml_template): failed to open stream: Permission denied
hi
Can I expect an update for freepbx 15?
Thank you!
New user with FreeePBX and SCCP Manager.
Error issued when trying to add a new phone.
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'transfer' cannot be null
File:/var/www/html/admin/modules/sccp_manager/Sccp_manager.inc/dbinterface.class.php:192
Followed the wiki installation, running on RasPBX.
Do I need any extra scripts or change permissions ?
JC
Under the SCCP Time Service config, when selecting the time zone as Pacific/Auckland the SEPxxx.cnf.xml file is being populated with Pacific/Auckland instead of the correct Cisco Time Zone code of 'New Zealand Standard/Daylight Time'
Suggestion:
Maybe this could just be a text box that people can type the required Time Zone information linked to a Database Table instead of a drop down box.
or
An Import Button to import a list of Time Zones to a Database Table that then can be selected from the Drop Down Box.
Love this phone system
Asterisk / FreePBX / Chan SCCP / SCCP Manager - very cool...
Thanks to all you experts for your hard work!
2 things....
I have several phones outside of our work office/network.
I set them up, and then I add the outside IP as a "trusted network" and they have been working fine.
I went to install another one at a co-workers house and his ISP gave him a IPv6 IP, popped that in the firewall and nothing. Do I need to enable IPv6 within SCCP manager? any guesses on what I am doing wrong? The phone works fine at other outside network, just not his IPv6 network, make me thing (perhaps wrongly) it's something with his IPv6 address.
Also, not as important. When I set up a phone everything works great. Except when it's an outside line I have to go back into the SEPxxxxxxxxxxx.cnf.xml file and change the processNodeName from out internal IP to our outside IP. I figured I was just not setting up the device configuration correctly? or maybe the template? Other than that small issue, adding extensions is super simple.
Any thoughts?
Thanks,
Randy
When creating an extension and enabling the voicemail, the voicemail box does create. You are able to leave a voicemail. However the phone will not show the message waiting icon on the screen. Enabling debugging in the sccp.conf and unloading/reloading the module you can see the mailbox is not being set. Checking the realtime database table sccpline you can see the column mailbox is set to NULL upon creation and even editing the extension. The Voicemail enabled toggle is set to yes.
I have a problem any time I change the "Secondary dialtone digits" to 0. If i look in the SQL DB i can see that there is a NULL value saved, but not a (int) 0. I looked at the sources and try to find the place where i can change the condition for this check (possible use of empty and not of isset) but I had no success. Can you give me a hint where i can find the place. Thanks !
Hi guys i just install the module in a fresh FreePBX and after the installation i get this screen
https://imgur.com/a/qGFTCKh
PD: i upload pictures because i dont know what date to collect and put in the github issue.
/var/www/html/admin/libraries/utility.functions.php
function compress_framework_css() {
compress::web_files();
}
/**
* Throw FreePBX DIE Message
* @param string $text The message
* @param string $extended_text The Extended Message (Optional)
* @param string $type The message type (Optional)
*/
function die_freepbx($text, $extended_text="", $type="FATAL") {
if(is_object($extended_text) && method_exists($extended_text,"getMessage")) {
$e = $extended_text;
$extended_text = htmlentities($e->getMessage());
$code = $e->getCode();
throw new \Exception($text . "::" . $extended_text,$code,$e);
} else {
$extended_text = htmlentities($extended_text);
throw new \Exception($text . "::" . $extended_text);
}
}
/**
* Get the FreePBX/Framework Version
* @param bool $cached Whether to pull from the DB or not
* @return string The FreePBX version number
*/
function getversion($cached=true) {
global $db;
static $version;
if (isset($version) && $version && $cached) {
return $version;
}
$sql = "SELECT value FROM admin WHERE variable = 'version'";
$results = $db->getRow($sql);
if($db->IsError($results)) {
die_freepbx($sql."<br>\n".$results->getMessage());
}
return $results[0];
Arguments
"""
!!!! Installation error: Can not find required sccpdevice table !!!!!!\n
::
"""
Hi. I want to change order of the button button softkey. In GUI i don't view those options.
How i can do it?
Device Configuration
Not sure: but would this help ?
--- views/form.buttons.php 2017-10-04 14:09:15.552268071 +0200
+++ views/form.buttons.php 2017-10-04 14:09:15.552268071 +0200
@@ -23,9 +23,11 @@
//print_r($hint_list);
if (!empty($_REQUEST['id'])) {
$dev_id = $_REQUEST['id'];
- $db_butons = $this->get_db_SccpTableData('get_sccpdevice_buttons', array("id" => $dev_id));
+ //$db_buttons = $this->get_db_SccpTableData('get_sccpdevice_buttons', array("id" => $dev_id)); /*unused ? */
$db_device = $this->get_db_SccpTableData('get_sccpdevice_byid', array("id" => $dev_id));
- $max_buttons = $db_device['buttons'];
+ if (!empty($db_device['buttons'])){
+ $max_buttons = $db_device['buttons'];
+ }
if (!empty($db_device['addon_buttons'])){
$max_buttons += $db_device['addon_buttons'];
}
Also i think 'get_db_SccpTableData', should check if the query was successfull, and handle any errors, before returning a potentially broken resultset/array.
Create a New Sub Section : "Enable/Disable Softkeys"
Create a New Sub Section : "Pickup" (Only show if Pickup/GPickup' is enable in previous Section)
Sub Section : 'Conference' (Only show if 'Conference' is enabled in previous Section)
Rename Sub Section : 'Device Network Function' -> 'Network'
Hello,
I am getting an error when saving any modifications on the SCCP phone screen.
The changes do save to the database and the phones reflect the changes.
Error comes back ever time.
Whoops\Exception\ErrorException
Undefined index: locale
File:/var/www/html/admin/modules/sccp_manager/Sccp_manager.class.php:1888
I don't have a locale listed in the phone settings, but I believe for United States English you don't need any locale defined.
Downloaded latest version as of 2017/10/25, same issue.
Is this module supposed to auto update the sccp hardware and sccp extension conf files or do they have to edited manually or is my installation not acting correctly
We successfully installed and configured the SCCP manager. While configuring the extensions Dial is missing SCCP/XXXX. If we want to add multiple dial string for simultaneous calls how we can add it? For example SCCP/XXXX&SIP/XXXX or SCCP/XXXX&SCCP/XXXX.
Hello all. I upload in /tftpboot firmware for my cisco phone and add config model ( sccp connectivity - system parameters - sccp model information - add model ).
Now i have next message in column "Loadimage" : No found SCCP42.9.-0-2SR2S . BUT in dir /tftpboot file is available.
Hey guys been looking at this for a few days and I dunno whether it was built in to the sccpmanager yet but rather get feedback that bang my head against a desk.
am I able to set a speeddial button to login to queue and keep the BLF active and then logout to deactivate it?
if so is there a correct way to login with speeddial button , etc. 4520*999
or do we have to follow instuctions below.
cheers
hey there. i just have a quick question relating to the newer sip only handsets.
We mostly have SCCP phones and have been using SCCP manager for a couple years now, really appreciate the work. Currently we have our asterisk patched with http://usecallmanager.nz/patching-asterisk.html so we can get our few working 9951 and 9971 phones working with BLF and some other features. But nothing near to what the SCCP manager can do within seconds.
But I was wondering if you had plans to ever integrate SIP and SCCP extensions to work together in the SCCP Manager module.
Just a thought.
Cheers!
When I add new sccp phone device everything is working ok. But if I try to edit it afterwards I got an error "Invalid argument supplied for foreach()"
I've use master branch of sccp manager for installation
freepbx version 14.0.10.3
asterisk version 13.22.0
xml version 13.0.2
sccp_class version 11.3.v432
core_sccp version 4.3.2
maybe I missed something during install?
When I try to create a new SCCP Phone, when pressing Save a red banner appears at the top of my screen saying "Undefined index: voicecodecs". Also the tab for device codecs has disappeared for some reason. Please help
Hello. When i enter in setting SCCP CONNECTIVITY , i get problem with Chan_PJSip Endpoints. They are no longer available and asterisk display message :
ERROR[23565]: config_options.c:946 aco_set_defaults: Unable to set default for 4710;@c6154c7adafa6e303543e8b6335f1698, qualify_timeout=3.0
rebooting core solves the problem, but until I enter in setting SCCP CONNECTIVITY.
PBX Firmware:12.7.6-1904-1.sng7
Hello,
I can not install the module. Indeed, when I try to install it, he tells me to wait. But nothing happens.
The only log I found is in / var / log / apache2 / ssl_error_log
PHP Fatal error: Class 'FreePBX' not found in /var/www/admin/modules/Sccp_manager/install.php on line 221, referer:https://X.X.X.X:XXXX/admin/config.php
thank you in advance
Anthorusse
Please add simulate_enbloc option (after digit timeout). Here's descrition: https://github.com/chan-sccp/chan-sccp/wiki/Digit-timeout---Enbloc-Dialing
Здравствуйте!
Возникла проблема с русскими символами на Cisco.
Когда на кнопки speeddial вписываю текст кириллицей, то в консоли Asterisk получаю ошибку:
WARNING[5584]: sccp_utils.c:1862 sccp_utils_convUtf8toLatin1: SCCP: Iconv: illegal character.
Проверял на телефонах Cisco 7912, 7960+7914
В качестве базы данных стоит MariaDB. Web-интерфейс SCCP Менеджера корректно сохраняет текст в базу данных и корректно отображает, если снова зайти в редактирование устройства.
Можете подсказать в чем может быть проблема?
Версия FreePBX 14.0.5.2
SCCP Manager версия: 13.0.0.2 Stable
Hi, pls check this error message when run the installation script (V.13.0.0.2). Thank you!
***System: Ubuntu 16.04 + Asterisk 13.21 + FreePBX 14 + chan_sccp 4.2.3
***Output from browser
***Pls see attached file for full log
sccp_manager_install_log.txt
Installing sccp_manager
• Checking for Sccp_manager database tables..
• Checking Asterisk Version :
• Sccp model Compatible code : 430
• Creating sccpsettings table...
• Creating sccpdevmodel table...
• Modify Database schema
• Update table row :41
• Modify table
• DB_Error Object ( [e:DB_Error:private] => PDOException Object ( [message:protected] => SQLSTATE[42S22]: Column not found: 1054 Unknown column 'directed_pickup' in 'sccpdevice' . . .
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.