Categories
Asterisk Support Elastix Support Knowledge Base Technical

IAX2 Peers going unreachable.

In the past we have found that IAX@ peers have been reliable and solid.

But lately with the advent of bonded ADSL lines and other forms of aggregated lines we have seen issues where the IAX2 trunk will go down and a simple reload of Asterisk or even a restart doesn’t fix it.

Taken from Voip-info

A report of the problem by another user :

This is something I’ve run into myself and my VOIP IAX2 provider has this issue with many clients running Asterisk on TrixBox or other custom made systems behing a NAT (Linux) router.

If our PPPoE goes down, we have to reboot our Asterisk server to get our IAX2 trunk to re-register otherwise, it will try and just keep timing out. I have the 4569 forwarded internal (Pierre Belanger adds: in many cases, the 4569 port forwarding useless unless your Asterisk server provides service to IAX2 phones from the Internet, i.e. not on your local LAN).

I have a dirty script that avoids having to reboot the TrixBox and restore our service within 2 minutes of a blip automatically, and logs the ‘blips’ so i can see how ‘reliable’ our service is.

We have take the original script posted and made some changes, Notably it checks a defined peer name as we have seen that the problem doesn’t always affect all peers on a system.

======Code follows ======

#!/bin/sh
#We record the status of the IAX2 Trunk
cd /root/ # I have script live in root,
# Set the peer name to monitor here
# ******
peername="YOURIAX2PEERNAME"
# ******
date >> slap.log
echo "Testing $peername peer" >> slap.log
/usr/sbin/asterisk -rx 'iax2 show peers' |grep -i $peername >> slap.log
/usr/sbin/asterisk -rx 'iax2 show peers' |grep -i $peername > reg_status
sleep 1
#We then Scan the Status and see if we're online or not...
TEST="OK"
if grep $TEST reg_status > /dev/null
then
echo "All OK Here" >> slap.log
exit #Abort, we are online, all is well...
fi
#IF we're this far down, we've lost IAX. Log the incident.
echo "we have a problem with $peername, Restarting it" >> slap.log
#Restart the IAX2 trunk. Delay required for some reason.
/usr/sbin/asterisk -rx 'module unload chan_iax2.so' >> slap.log
sleep 90;
/usr/sbin/asterisk -rx 'module load chan_iax2.so' > /dev/null
echo "Restarted it Now lets check status" >> slap.log
sleep 5;
/usr/sbin/asterisk -rx 'iax2 show peers' |grep -i $peername >> slap.log
#We record the status of the IAX2 Trunk
/usr/sbin/asterisk -rx 'iax2 show peers' |grep -i $peername > reg_status
sleep 1
#We then Scan the Status and see if we're online or not...
TEST="OK"
if grep $TEST reg_status > /dev/null
then
echo "All OK Here" >> slap.log
exit #Abort, we are online, all is well...
fi
#IF we're this far down, we've lost IAX. Log the incident.
echo "we have a problem with $peername, Restarting it" >> slap.log
#Restart the IAX2 trunk. Delay required for some reason.
/usr/sbin/asterisk -rx 'module unload chan_iax2.so' >> slap.log
sleep 120;
/usr/sbin/asterisk -rx 'module load chan_iax2.so' > /dev/null
echo "Restarted it Now lets check status" >> slap.log
sleep 5;
/usr/sbin/asterisk -rx 'iax2 show peers' |grep -i $peername >> slap.log
#We record the status of the IAX2 Trunk

======Code ends======

This seems to do the trick and its cronned to run every night or hour in some cases.

UPDATE

on testing and speaking to suppliers. We would advise adding the following settings to your IAX2 peers

 

qualifysmoothing=yes
qualifyfreqnotok=30000
qualifyfreqok=120000
qualify=yes

With this added we have not seen any unexpected unreachables.

 

Categories
IPPBXs Products Services

Multi User Hosted PBX

Use the Internet to make calls – it’s simple, cost effective, and perfect for small businesses and call centres.

Voice over Internet telephony reduces telephony bills; connects mobile, remote and office workers; and gives a consolidated impression of your business – same number no matter where employees are located.

From 2 to 10 people wanting to stay in touch, Our feature-rich packages can offer a local or International number from which to operate – or you can bring your old number with you (number porting). There are also a wide range of add-ons that offer inclusive minutes. We can go through setting it up for you or you can do it yourself. To signup follow this link or call us on 01225580025

  • Multi User VoIP £8.00 per month
  • 4000 UK landline minutes £ 20.00 per month Lower amounts available
  • 4000 UK & International landline minutes £25.00 per month
  • 500 UK mobile minutes £30.00 per month

*Prices exclude VAT.

Key features

An online customer control panel allows you to manage your own account, and you can expand the system when ever you need to. All you need to get started is broadband, a router, and an adapter or a VoIP phone.

  • Make immediate savings: Free internal calls. Competitively priced calls and inclusive landline and mobile minutes package add-ons.
  • Quick and easy to set up: No difficult installations.
  • Excellent call quality: With no compromising on functionality.
  • Never be out of touch: Call forwarding available.
  • Keep your old number: Seamless transition with ‘number porting’.
  • Global presence: International numbers available.
  • Stay in control: Online customer administration, call logs and invoicing.
  • Voicemail and voicemail notification
  • Call forwarding to any number including mobiles
  • Online contacts directory, call logs and invoicing
  • Customised CLI (caller line identity)
  • Time of day routing

 

Features

  • Set up £4.99
  • Monthly £8.00
  • Included phone number UK and International*
  • Concurrent calls per number 2
  • Internal extensions 10
  • Call packages FREE VoIP-to-VoIP
  • 999 Emergency Services access YES
  • Minimum contract length 12 months
  • Voicemail YES
  • Voicemail notification SMS or Email
  • Call forwarding YES
  • Codecs supported G729a, G711u, G711a
  • Online call logs and invoicing YES
  • Online contact directory YES
  • Customised CLI (caller line ID) YES
  • Time of day routing YES
  • Audio call conferencing YES
  • IVR/Auto-attendant YES
  • Music on hold YES
  • Hunt call groups YES
  • 4000 UK landline minutes add-on £20.00 per month
  • 4000 UK & Int. min. add-on £25.00 per month
  • 500 UK Mobile minutes add-on £30.00 per month
  • Additional Number^^ £3.00 per month
  • Personal Number** £10 setup, £10 per month

* Surcharges apply for International numbering.

^ Subject to fair use check at 4000 minutes per month.

^^ Can only point at a Gradwell VoIP number on the same account, they can act as a mainline phone number however they must take an existing route. Please note that they cannot be used to increase concurrent calls.

** Can only point directly at an extension number. You cannot direct these numbers towards hunt groups, call queues or any other type of functionality. Does not provide an additional line.

All phone services (inc Unlimited packages) are subject to Terms and Conditions and standard call charges. All prices exclude VAT. Range of hardware and accessories available.

 

Categories
Knowledge Base Support

24×7 Asterisk server monitoring with Nagios.

We offer an economical solution for end users and resellers to monitor their Asterisk and Linux servers.

Our platform monitors servers 24 hours a day 7 days a week. Hosted in a state of the art US based data centre with connections to major UK data centres and multiple connections to the internet.

We offer different levels of monitoring from simple uptime and email alerts to system load, disk space and channel usage with email and SMS notification. Web panel and firefox/Chrome plugin available to all levels to view system status.

The service is primarily aimed at Asterisk based IPPBX server but we can monitor other Linux based servers and Mitel systems as well. Our checks on Asterisk servers were customised by us to allow easy and secure deployment as we only require SSH access to make checks and this is secured by server keys. 

Nagios monitor screen

 

Service levels

Silver Level £10 setup – £2.50 per month £25.00 per year

  • Single Server, 4 services from list below & email alerts.
  • Ping test
  • SIP/IAX Peer availability
  • Asterisk channels
  • ISDN availability
  • Disk Space
  • System Load
  • Heartbeat Status
  • SIP/IAX2 registration status
  • Mitel SNMP Alarm status

Gold Level £10 setup per server – £5.00 per month £50.00 per year

  • Upto 2 Servers, 4 services per server, email and SMS alerts by subscription

In addition to the silver list:-

  • Asterisk Database status
  • Custom checks, (cost for design may be inured)

Additional options.

SMS alerts by arrangement, if using Gradwell Numbers and outbound we can integrate with the SMS API

Extra contact £5 setup

Extra server £10 setup £2.50 per month £25 per year

Extra service £5 setup £0.50 per month £5 per year

Partner options are available, Please contact us for details.  Pdf  download cymon 

Categories
Calls and Lines Connectivity

Fibreline Broadband

Fibreline is a dedicated fibre optic internet connection, with speeds of up to 100Mbps, direct to your business premises. Delivered from the exchange, directly into your business premises, Fibreline provides a superfast business-grade internet connection, giving you the speeds your operations require when you need.

Dedicated connection from exchange to business

Opting for Fibreline at your business premises gives you a dedicated superfast connection to the internet.

Fibreline delivers fibre straight through from the exchange to your business premises. This means that the distance from the exchange is not a problem. Your data travels at the speed of light on a dedicated fibre optic circuit, so there is no opportunity to lose speed through distance from the exchange.

Why is it better than FTTC?

Whereas FTTC (Fibre to the Cabinet) uses constrained hybrid fibre optic cable and existing copper solution from the street cabinet using old copper infrastructure as many other providers, means your connection is subject to frequent changes by engineers of various suppliers.

As Fibreline is a dedicated, private line of fibre optic cable, your internet connection isn’t affected by other providers making changes.

Categories
Calls and Lines Connectivity

MPF ADSL

Advanced Broadband will give you the fastest download speed you can get from your exchange, a generous bandwidth limit and direct connection to the Gradwell VoIP network, making it a perfect partner for Internet telephony.

  • No BT Line Rental
  • £25 pm
  • Generous 100Gb Peak Data Transfer per month
  • FREE Thomson Wireless Router
  • Voice prioritisation to support VoIP users
  • Get the fastest speed your line can give you, up to 16Mbps
  • 12 month contract, rolling monthly thereafter (30 day notice period)

Premier Broadband has all the benefits of our Advanced Broadband package, and more. 200Gb peak bandwidth and assured throughput mean you have the optimum amount of bandwidth for up to 10 concurrent Internet telephony calls.

  • No BT Line Rental
  • £50 pm
  • Enhanced Care and Service Level Agreement
  • 200Gb Peak Data Transfer per month
  • FREE Thomson Wireless Router
  • Assured throughput of at least 512Kb/s
  • Upload speeds of up to 1Mbps and download speed of up to 16Mbps
  • 12 month contract, rolling monthly thereafter (30 day notice period)

Premier Plus With Enhanced Care, a Service Level Agreement, fantastic upload speeds and assured throughput, Premier Plus Broadband is perfect for the largest of small businesses.

  • No BT Line Rental
  • £60 pm
  • Enhanced Care and Service Level Agreement
  • 200Gb Peak Data Transfer per month
  • FREE Thomson Wireless Router
  • Assured throughput of at least 1Mb/s
  • Upload speeds of up to 2.5Mb/s and download speed of up to 16Mb/s
  • 12 month contract, rolling monthly thereafter (30 day notice period)