Categories
Blog Calls and Lines Covid-19

Calls to 101 Non-Emergency number to be free from April 1st

Given the pressure on the emergency services presently, the Home Office have requested that the 101 Non-Emergency number be made free to all callers from 1st April 2020. Therefore these calls placed through our network will be free from midnight this evening.

We understand that this change is intended to be permanent, and not just for the duration of the Covid-19 emergency.

Please note that although this change will be in place from midnight tonight it may not be reflected in the ratesheet immediately .

Categories
Covid-19

Carrier Updates 25-03

BT Openreach (who help us supply internet connectivity services) have advised that provision and repair of their services are now on a “best endeavours” basis only across the UK and will impact all our connectivity products: DSL, Ethernet, FTTC, FTTP, FIBRE, PSTN, ISDN2, ISDN30, LLU MPF and SMPF

Priority restoration of services will only take place for organisations deemed “critical”, including NHS, pharmacies, utilities etc (full list below)

Ongoing repairs will continue for all, but with priority given to critical organisations

All newly-appointed provisioning will be pushed back to Monday 1st June 2020 at the earliest

Openreach/BT have declared that the current situation they and we are all facing is a matter beyond their control in light of COVID-19.

As such, appointments for provision and repair are on a best endeavours basis only, this covers everyone nationwide and will impact the following products that we provide: DSL, Ethernet, FTTC, FTTP, FIBRE, PSTN, ISDN2, ISDN30, LLU MPF and SMPF, including adjustment of orders.

Fault Repair

During this time, priority and restoration of services will take place for critical functions only, such as NHS, pharmacies, utilities, emergency services, retail and wholesale food distribution outlets and financial services.

Ongoing repairs to the BT/Openreach infrastructure will continue, but with high priority focus being on the above-mentioned critical core services ahead of all others. We appreciate your patience during these times, and we’re sure you understand that the protection and restoration of core services is paramount to sustaining core infrastructure services.

Openreach have advised on Fault repair with immediate effect: 

To support efforts to reduce human contact and promote social distancing, all installation activities that require access to a customer’s premises are now suspended until after 1st June 2020. Openreach will attempt to complete as much of the inflight orders from outside of the premises as possible, but if internal work is required, these will be rebooked post 1st June 2020. Any orders that do not require on premise installation will proceed as normal, but we appreciate these cases are limited.
 
The exception to these rules are those businesses identified as critical national infrastructure. This includes; NHS, pharmacies, utilities, emergency services, retail and wholesale food distribution outlets, and financial services businesses. On site installation work will be permitted for these businesses but we will have to justify the criticality of the service to Openreach.

Porting of Numbers

During this time, the ability to port and move numbers between all core telecoms suppliers has also been affected, with BT/Openreach now declaring the following porting requests that are in flight will be affected with immediate effect. Those porting services affected are:

Ports that are Multi Line (a number of sequential numbers 01234 000000 – 01234 000100 or broken number ranges) as these have to be manually triggered. These port requests will be postponed until further notice and will not be ported to your new supplier. They will remain operational until they can be processed within a normal timeframe.

Single Line ports (i.e. 01234 567890) are still available but may be delayed beyond a previously agreed date

Any new import requests for porting where BT is the range holder will not be accepted until further notice

New Orders

All new orders received with immediate effect that require BT or Openreach infrastructure (the majority) are being moved to commence from 1st June 2020 onwards. This will be under constant review and may have further delays should the situation worsen.

All existing orders in the system with BT or Openreach will continue to progress, but with a view to completing the orders as soon as possible and may be delivered well outside of expected and industry standard timelines.

We are still accepting new orders, however, there will be a delivery backlog for any products requiring BT or Openreach provision until at least 1st June 2020 onwards.

Core infrastructure service providers

We will continue to share more information from core suppliers like BT Openreach on this page as soon as we have it. A full breakdown of Openreach’s current service status is in the table below.

Categories
Asterisk Support Covid-19 FreePBX Knowledge Base Remote Working

Disabling Router SIP ALG

With many companies asking their employees to work from home, a common problem when trying to use a sip phone on a home network is the SIP ‘helper’ or ALG, Here is some advice on how to disable it on the more common routers that you may encounter.

SIP ALG (Application Layer Gateway) modifies VoIP traffic with the aim of solving NAT and firewall related problems. SIP ALG does this by inspecting SIP packets and modifying SIP Header and SDP data.

Unfortunately, SIP ALG was poorly implemented in a lot of cases, which has lead to it causing more issues than it corrects and due to this, we believe that, in general, it is best disabled.

Note – Many routers will re-enable SIP ALG after being powered off and on, or sometimes after a firmware update, therefore if it has been disabled in the past, and you know that the router was recently updated and powered off and on again, then it is always a good idea to log in to the router and double check the setting.

Virgin SuperHub: SIP ALG cannot be disabled in the settings of SuperHubs. Please click here for advice troubleshooting issues with SuperHubs. 

BT: SIP ALG cannot be disabled in the settings of BT HomeHubs, but can be disable with BT Business Hub versions 3 and higher:

Disabling a BT Business Hub 5’s SIP ALG

Fritz!Box: SIP ALG can’t be disabled.

DrayTek routers: Log in to your DrayTek via Telnet using an SSH client such as Putty: http://www.putty.org/

Check if SIP ALG is Enabled or Disabled:

To check if SIP ALG is Enabled or Disabled enter this command: sys sip_alg ?

If SIP ALG is disabled a ” 0 ” result will be returned.  If SIP ALG is enabled the result will be ” 1 “.

Disabling SIP ALG:

To Disable SIP ALG enter the following:

sys sip_alg 0
sys commit
sys reboot

The router will restart and save your changes.

Click here for additional general information about DrayTek Firewall setup. 

TP-Link routers: How to Disable SIP ALG on TP-Link ADSL modem router

Linksys: Check for a ‘SIP ALG’ option, in the ‘Administration’ tab under ‘Advanced’. 

May also need to disable SPI Firewall. 

Microtik: Disable ‘SIP Helper‘. 

Netgear: Look for a ‘SIP ALG’ checkbox in the ‘WAN’ settings.

Port Scan and DoS Protection should also be disabled.

Disable STUN in VoIP phone’s settings. 

D-Link: In your router’s ‘Advanced’ settings –> ‘Application Level Gateway (ALG) Configuration’ uncheck the ‘SIP’ option. 

Huawei: Many routers support SIP ALG (usually found in the ‘Security’ menu). 

SonicWALL Firewall: Under the VoIP tab, the option ‘Enable Consistent NAT’ should be enabled and ‘Enable SIP Transformations’ unchecked.  

Thomson: How to Disable SIP ALG on a Thomson Router HERE

Test with STUN disabled in your VoIP phone’s settings.

Adtran Netvanta: Disable SIP ALG under ‘Firewall/ACLs’ –> ‘ALG Settings’.

For Technicolor TG588V routers see this document for step by step details

Even if there isn’t a SIP ALG option in your router’s settings, it may still be implemented. TelNet commands must be used to disable SIP ALG with TechnicolorThomsonSpeedTouch, some Draytek and some ZyXEL routers. 

Categories
Covid-19

Coronavirus and Covid-19

The sudden spread of Coronavirus means businesses could temporarily close and employees may be asked to work from home.

We want to reassure you and your customers that our communication systems will be running as normal if this scenario were to arise.

We can quickly assist in the deployment of home working solutions for your employees and in the majority of cases your employees will be able to take their handset home and plug it into their home network and carry on working if you are using one of our hosted IPPBXs.

This is a fast moving situation and no one is sure what will happen next. We will do all we can to assist you as we have in the past for our customers, For example during the Ash cloud in 2010 where we had customers with key employees ‘stranded’ in overseas locations.

At this time you the opportunity to get plans in place in a orderly and timely manner, Below is some key actions that you plan can be checked against, Its not everything but it is a start.

The increase in public awareness of the emerging situation in respect of the COVID-19 has been accompanied by a general rise in public health concerns and alarmist headlines; many offering irresponsible assessments of the imminent nature of a crisis. Northcott Global Solutions and Fullerton Health contend that, rather than falling victim to ill-informed panic, clients currently have an opportunity to devise and put in place planning strategies that will help them minimise the potential impact to their staff and operations.
As widely reported COVID-19 is a virus that mutated, enabling human-to-human transmission to occur. Intra-country and inter-county spread are likely to occur quickly. Similarities have been made to the SARS outbreak in 2003 although current mortality trends are lower. At the time of the preparation of this brief there are no planning estimates regarding infectivity and there is anecdotal reporting of 2% mortality of those infected.
The experience from the Severe Acute Respiratory Syndrome (SARS) gives some insight into what might be expected if the Coronavirus develops into a pandemic:

– School and day care centres were closed, or strict health protocols enforced;
– Staff absenteeism was in excess of 30% (Comment: for companies that have juniors (e.g. supermarkets) in their workforce it can be assumed that absenteeism will be even greater);
– An increased demand on shopping centres;
– Distribution centres and the organisations servicing them were assessed as being the most critical parts of the infrastructure; and
– Companies with an integrated business continuity framework were more able to adapt.

Initial BCP Planning Actions Required that you may wish to consider
 – Develop/consolidate existing material and deploy training/guidance for:
– General hygiene including hand cleansing and respiratory etiquette,
– Sanitation and disinfection protocols,
– What to do if you or a staff member develop respiratory and fever like symptoms.
– What to do if your family members develop fever and flu like symptoms.
– Access restrictions to offices and the conduct of meetings in the event a pandemic occurs,
– Food handling and preparation, and
– What families can do to be prepared.
 – Identify core activities and how they may be sustained for 4 – 12 weeks whilst in a pandemic cycle (based on historical data assume absenteeism could be as high as 30%).
 – Identify the critical dependencies on third parties and review their preparation.
 – Identify how to re-organise workplaces to minimise human to human spread
 – Utilise the current crisis management team and emergency management teams’ structure for overseeing the response to a pandemic. Rehearse the response to a WHO Phase 6 scenario.
 – Review current business continuity processes including:
– Crisis plans, disaster recovery, denial of access, loss of production;
– Alternative management options (virtual, offshore, maintaining a reserve); and
– Travel policy. Monitor travel advisories and issued by FHA-A, WHO and the Centre for Disease Control (CDC).
 – Develop a monitoring strategy and identify the triggers for activation of management contingencies focused on the scaling back or cessation of operations. Be prepared to go through some false alarms.
 – Review third party relationships and assess their contingencies with essential contractors and suppliers.
 – Establish a staff communications strategy that is clear, with the aim being to have a “trusted, reliable and timely communication program in place” should there be a change to WHO alert levels.
 – Plan for disruptions to critical services and identify the potential points of failure.
 – Identify the HR responses to the reaction to high levels of absenteeism e.g. provision for increases in statutory provisions for sick or carer’s leave.
 – Consider establishing a supply of:
– Protective masks or respirators;
– Disposable gloves;
– Hand sanitiser; and
– Alcohol surface wipes.
 – People – categorise them into three broad areas:
   – Essential – required at office (e.g. IT maintainers, treasury);
   – Essential – can work remotely (connectivity required);
   – Non-essential – can be stood down (for up to two weeks) if required; and
– Assessment should include coverage, single points of failure, decision-making capability and autonomy.

We would advise you to go to one of our customers websites https://www.northcottglobalsolutions.com/latest-news/ for upto date information and advice and assistance for your staff members travelling overseas.

Categories
Asterisk Support FreePBX Knowledge Base Support Technical

Backing up files in FreePBX 15

The first time you come to restore your FREEpbx 15 system you may find that not everything that you expected is there !

The new backup module backs up on a module by module base and not like before where is was DBs and Files.

Linked here is a repository that has the files to create a module that can be edited to backup directories.

https://bitbucket.org/cybercottage/filebackup

The file you need to edit is Backup.php

<?php

namespace FreePBX\modules\Filebackup;
use FreePBX\modules\Backup as Base;

class Backup extends Base\BackupBase
{
    public function runBackup($id, $transaction)
    {
        $this->addDirectories([
            '/etc/asterisk','/tftpboot',
        ]);
        $files = glob("/etc/asterisk/*conf");
        foreach ($files as $file) {
            $path = pathinfo($file, PATHINFO_DIRNAME);
            $this->addFile(basename($file), $path, '', "conf");
    }
    $files = glob("/tftpboot/*xml");
        foreach ($files as $file) {
            $path = pathinfo($file, PATHINFO_DIRNAME);
            $this->addFile(basename($file), $path, '', "conf");
        }
        return $this;
    }
}

As you see we are backing up /etc/asterisk and /tftpboot , But only *.conf files in /etc/asterisk and only *.xml files in /tftpboot

Details on the new backup system are here https://wiki.freepbx.org/display/FOP/Implementing+Backup

Thanks to James Finstrom for the original version of this, This version is not to replace his work but only to give an example of working with Multiple directories

The downloaded zip file needs to be added as a Local module via Module Admin and enabled, It will obviously give a signing error but this can be disabled in Advanced settings or ignored ;-)

Enjoy but don’t blame me if it doesn’t work. Ive tested it on my systems and all seems good by your experience may be different

Categories
FreePBX Knowledge Base

FreePBX EPM Whoopsing

We have seen on some installations of FreePBX with EPM that when you upload a photo it Whoops when trying to rebulid the config.

The clue to whats happening is that it cant call function imagecreatefromjpeg or imagecreatefrompng depending on your file format

The most common cause of this is php-gd isnt installed. To Check this is simple, create a simple PHP file in the web root called phpcheck.php add the following to it:

phpcheck.php

<?php
if (extension_loaded('gd') && function_exists('gd_info')) {
    echo "PHP GD library is installed on your web server";
}
else {
    echo "PHP GD library is NOT installed on your web server";
}
?>
<?php phpinfo(); ?>

Now browse in your favourite browser to this and it will show at the top if gd is installed or not.

If its not and php was installed via yum then :

yum search php-gd
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirrors.clouvider.net
 * extras: mirrors.clouvider.net
 * updates: mirror.sov.uk.goscomb.net
=============================================================== N/S Matched: php-gd ================================================================
php-gd.x86_64 : A module for PHP applications for using the gd graphics library

Will show if its avalible. (your version of PHP may mean this is different for you) then to install yum install php-gd and restart the httpd service

You should now be able to go to phpcheck.php again and it should show as installed. if it does you are good to go installing screen images for phones

Categories
Asterisk Support FreePBX Knowledge Base Support Technical

Resetting root password on FreePBX 14 and other Centos 7 servers

Boot your system and wait until the GRUB menu appears. On some systems you may need to press the “Escape” key to access the GRUB menu. FreePBX should show this for a few seconds on Boot

Highlight your Operating System and then press “e” to edit. You have to be quick here simpler to just press e when the menu appears and you will see similar to below.

Find the line beginning with linux. In this example the line begins linux16.

Manually delete the entries quiet and rhgb from the line. then append the following statement to the end of the line init=/bin/sh Don’t worry if your command is spread across more than one line. A continuation character “\ will be inserted automatically.

Now reboot your system now using the options specified by pressing the keys Ctrl +X

Once the system has re-booted, you will be presented with a shell prompt without having to enter any user name or password.

At this command prompt you will need to enter the following commands:

Remount the “/” root filesystem in Read/Write mode: mount -o remount,rw /

Issue the passwd command to reset the root account password: passwd

Then enter the new password as prompted twice

Then remount the “/” root filesystem in Read Only mode: mount -o remount,ro /

You can now restart the system and login with your new password.

Categories
Support

Zoiper Account and Server configuration

Enter details below to create Zoiper QR code that can be scanned from your smartphone
On entering you details you will be taken to a page with installation instructions.

Userrname

AuthName (Often same as username)

Password

Server hostname (host.domain.co.uk:5060)

 

You can download and purchase Zoiper Softphones from Here

Categories
Asterisk Support Blog Design FreePBX Knowledge Base Software

G.729 Goes Royalty Free

G.729 – IMPORTANT INFORMATION

As of January 1, 2017 the patent terms of most Licensed Patents under the G.729 Consortium have expired.

With regard to the unexpired Licensed Copyrights and Licensed Patents of the G.729 Consortium Patent License Agreement, the Licensors of the G.729 Consortium, namely Orange SA, Nippon Telegraph and Telephone Corporation and Université de Sherbrooke (“Licensors”) have agreed to license the same under the existing terms on a royalty-free basis starting January 1, 2017.

For current Licensees of the G.729 Consortium Patent License Agreement, no reports and no payments will be due for Licensed Products Sold or otherwise distributed as of January 1, 2017.

For other companies selling G.729 compliant products and that are not current Licensees of the G.729 Consortium, there is no need to execute a G.729 Consortium Patent License Agreement since Licensors have agreed to license the unexpired Licensed Copyrights and Licensed Patents of the G.729 Consortium Patent License Agreement under the existing terms on a royalty-free basis starting January 1, 2017.

As soon as we hear how this is going to affect Digium Asterisk we will update here.

 

Categories
Blog Design FreePBX Knowledge Base

Voice recognition and Asterisk.

This is primarily about Googles new Cloud Speech API and Asterisk recordings.

Having worked on many Voice rec systems including Mitels attendant system, Oranges Wildfire virtual assistance and Lumenvox’s add on for Digium’s Asterisk system one thing none could do was transcribe speech such as voicemails and this is what people want. There was a startup in the UK called Spinvox  but as anyone knows this wasn’t all it seems and when I questioned them while working on a project they clammed up and withdrew our testing account and the rest is history as they say.

So now we are many years on and Google have their second API for this service. The first API was a little flaky to say the least and came up with some amusing translations. The cloud version is much better and does a good job with most voice and also can be localised.

So what have we done. Well we have mixed together some existing code we use and created a “mini voicemail” that records your message converts it to text saves it as a voicemail and emails the resultant Text and recording to you.  In the process we did find a few “gotchas” with the API for example a pause of more than a couple of seconds will result in the translation stopping there, also a big one is that the translation takes as long as the recording is, and the API has a 60 second limit. Both of these can be overcome by limiting the record time in Asterisk to 60 seconds and using sox to remove silence of more than a second.

exten => s,n,Record(catline/${UNIQUEID}.wav,3,60,kaq)
/usr/bin/sox /var/lib/asterisk/sounds/catline/${origdir}.wav ${PATH}${origmailbox}/INBOX/${FILENAME}.flac  lowpass -2 2500 silence -l 1 0.1 1% -1 0.8 1% 

As you can see from these snippits of code above we have used variables where possible to that it can be incorporated easily with existing asterisk systems using GUIs such as Freepbx, We use the voicemail greetings that the user recorded and also use the email address thats linked with their mailbox for simplicity of management.

Now having Voicemails as text is nice but where it comes into its own is with structured mailboxes or simply put questionnaires where the caller is asked a number of predefined questions and these are recorded as one single voicemail. We already do this for some customers but they still have to have some one transcribe teh voicemail to text to input it. The quality of the Google translation means that soon they will be able to just copy the text over. Other applications are only limited by your imagination, Such as automated voice menus for Takeaways or Taxi firms.

To be Continued…HERE