Experience of raising of IP telephony in a hotel

Welcome. This text tells the story of how rose telephoning the hotel, which is scheduled to open 1 April. Fun as it was, but it did not happen and the opening date was postponed. In the end, the hotel is launched, all necessary communications are provided and configured. I'll just talk about telephony and that touched her.

As always, humans don't have huge budgets, therefore, about to put something in space or something proprietary, there was no question. Moreover, due to the fact that during the discussion of this project, the air was filled with information that one of the leading manufacturers was declared bankrupt and looking for a patron. Therefore, to reach him did not want to.



the

About the hotel


It is small, with 30 rooms with bar, restaurant and fines. In each room, of course, need a phone. That is, as such accounts ultimately required 40 taking into account administrative staff and household. premises.

This is all on one floor. Since I was there at the stage of construction of the walls, like other professionals (one hitter, lol), all the wires and switching were pre-designed and laid. In the end, each room comes twisted pair from the switch, divorced including vlan'AMI, what would wi-fi, telephony, internal services of the hotel do not overlap.

the

Equipment


From the analogue phones was abandoned at the stage of discussion.

Talk about the thinking on the organisation telephony. There was an option to put a normal server virtualization and drive there asterisk. But the question immediately arises of the selection of hardware for an analog line from the city of the operator (where the same without them), GSM gateway, and SIP itself. Regardless of the platform, for me it was extremely desirable that she had inside of Asterisk.

Assessing the list of ready-made solutions out of the box and communicated with a large number of managers, integrators and importers of different ITS OK — you win again Bob^Wрешение leadership.
At very good price was offered and purchased the Company U50 with two cards. 4FXO module for connection to analog city lines and 2GSM module for the GSM gateway.

Before buying the test was taken by a younger model from the Company, it CoVoox U20.
2FXS/FXO port, console port, LAN, and WAN RP-SMA connection for GSM antenna. The SIM card is installed there uncomfortable and only one. You need to Unscrew the housing, remove the GSM module and only then manages to crawl to the tray.

Limitations of ATS is such that it can have up to 30 accounts. No matter what. But the size and capabilities – a great "portable" ATS, because the size of a home router. The interface repeats his senior colleagues in the lineup.

Photos inside














In "honey" opened dialplans, IVR, schedule.

Setting the add on of the PBX is not surprising. It is intuitive for anyone who has ever set up FreePBX.

And for those who do not set up – U50 has the files. It would be very strange and disrespectful to clients not to have it.

The only thing I on this ATS did not want to do – autoprobing with Shara for phone books, updates. But of this hereafter.

For the reservation was purchased, a similar ATS.

As phones in the rooms left AKUVOX SP-R50P. Chose from the ratio quality/price. From all that has been in the availability of Acumoxa seemed the most adequate and tightly sewn.
For the posts in all sorts of restaurants, bars, and front desks — AKUVOX SP-R59P. For these phones largest screen with excellent informative. And he b/W with a few shades of gray. Another plus of this phone is a bar with a bunch of buttons short of a set of subscribers with the support of BLF, so that employees clearly shows who is out of service right now. All of the described phones Akuvox two Ethernet ports. The second is either in router mode or in bridge mode. He has been tagged in the same vlan as the guest Wi-Fi network.

The wire from this port was put on the patch panel in tables of numbers. And if the guest needs a stable wired connection – he can ask at the reception patch cord, connect the phone (in the socket in the Desk to be exact) and be the king. Additional RJ45 sockets in the wall we don't need.

the

PBX


The company U50 was a full-blooded Chinese. So the setting was not always ideal. This is not associated with functional problems (in General), and apparently with peculiarities of the Chinese mentality. For example, after pulling out of the box all the interfaces have static IP addresses in the first subnet. Well at least they didn't think us even further and did not Tagirova ports. This will go to minus in the standings. All what is expected of glands address by DHCP, with which it has to manage the network.



To remedy we of course need to get an IP in the same subnet and reconfigure the ports. Admin PBX runs on an odd number of browsers.
IE/chrome/safari. My favorite Vivaldi refused anything to show. As Opera. Firefox was not tested in the absence thereof, of the browser.

After authorization, the ATS immediately defolty asks to change the password to something more serious pair admin\admin. And the filter is tricky. Give him at least 8 characters with numbers and letters in different case. But it will not start. Meticulous kind of politics. But the right one. Nothing bare "body" to Shine. Even in LAN.

Meets us ascetic, but generally clear, the interface is written with the same Chinese. Russian language may here and there, but didn't even set me for localization testing.

First step into the network and change the network settings that we need. Other network settings we do not need. This deals with my Mikrotik. Previously in the piece of metal was installed the purchased modules. On the monitoring page shows that they are not working. Because you have not inserted the SIM card. Again to disassemble the module Two port FXS transferred to ping analog.

The antenna came in the kit, the connector is a standard RP-SMA. But the wires from the supplied antenna is a bit short, so were heart normal cables and put on the roof to connect to the antennas of the building.

On the screen shows defolta configuration.



Connection trunks is on the classics, with the SIP provider MTT works without any problems. Then went to settings, in fact, the extensions, groups, dialplans. Voice mail to configure did not, because in the TOR it was not required. But with IVR... until the Customer decided without it. If there is a need – set up.

Ie, who at least once tried to configure FreePBX with a like interface familiar.

It certainly is not as graceful as FreePBX, but gives what is required of him. The beauty here is clearly not pursued. Although very few who will sit 24/7 in the admin area.

Inside like I said is Asterisk and full access via SSH or telnet are provided. But even here the Chinese have decided to be smart. Admin area password does not match the password for root user in ssh\telnet. There's 8 characters of the MAC address of your device. Surprised. In addition, the default access is closed. Secure.

But what we need to change it... In the event of a problem is always easier to open ssh and maximum damage to know what's going on with ATS and challenges. Or restart any module.
Inside was a ARMv7 rev 4, 1GB RAM, 6GB ROM and also a slot for a expansion card that will store Voicemail and the like.

If interested in the details, they're under the spoiler. Capacity for 40(!) active calls will be enough.

Inside
root@coovox-u50v2:/# asterisk-V
Asterisk 13.2.0

root@coovox-u50v2:/# uname-a
Linux coovox-u50v2 3.4.103+ #43 SMP PREEMPT Mon Aug 10 21:47:43 EDT 2015 armv7l GNU/Linux

root@coovox-u50v2:/# free-h
total used free shared buffers cached
Mem: 987M 0B 99M 888M 1.3 M 31M
-/+ buffers/cache: 66M 921M
Swap: 0B 0B 0B

root@coovox-u50v2:/# cat /proc/cpuinfo
Processor : ARMv7 Processor rev 4 (v7l)
processor : 0
BogoMIPS : 2011.05

processor : 1
BogoMIPS : 2011.05

Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 4

Hardware : sun7i
Revision : 0000
Serial : 0000000000000000
root@coovox-u50v2:/# df-h
Filesystem Size Used Avail Use% Mounted on
rootfs 5.3 G 1.4 G 3.7 G 28% /
/dev/root 5.3 G 1.4 G 3.7 G 28% /
devtmpfs 494M 0 494M 0% /dev
576K tmpfs 99M 99M 1% /run
tmpfs 5.0 M 0 5.0 M 0% /run/lock
0 tmpfs 198M 198M 0% /run/shm


In the end, it is this ATS needed:

dialplans, itineraries, group, RingAll, record calls, schedule conference. The reservation scheme Master\Slave or Active\Active and the old-fashioned export configuration. When all the settings have been made on the PBX, its design was carefully put where it will be waiting in the wings. If it will come.

Why I did not use AutoP built-in PBX



He was immediately available, but to manage them is not always convenient. Moreover, for the same updates will still need to raise ftp\http\tftp ball. So how to change the settings need to go into admin area and change the files.

For this purpose, my colleague, I was a dedicated part of resource machines under debian, where I launched the tftp ball for these tasks.

To be very precise, it is tftpd-hpa. For tftp by itself a priori not something complicated. So the final configuration file that needed to be edit contains four lines. Read more in the documentation for tftpd-hpa.

Returning to the question, why didn't I use the built-in PBX functionality, I will answer: I want to manage all this in a more civilised manner, through the file Manager, and not to climb each time in the admin of ATS.

A DHCP server was added 66 option with the address of this server and that's enough.

the

Further still, with regard to only the phones


In phones Akuvox again, there is also a AutoP. But that's what it was there the syntax of a template are not well understood. Therefore, the first thing one of the custom phones via the web interface and then downloaded its configuration.

For phones there are two configuration files. Individual and group. In group displays the settings for all phones of the same model. There were specified directories with updates, notebooks, music.



In the end, we see a quite familiar syntax:

Option = value
Individual configs are named by MAC address of each phone and store the individual settings of each phone.
There just was hidden away account information.

In General, the differences between different models of IP phones Akuvox only in the number of accounts, the size of the screen, the number of additional buttons. And yet, to younger models cannot be connected to expansion modules keyboard. As for the controls, all the phones Akuvox interfaces (web and across the screen) are the same. So they sign pretty fast and without problems.

photos






Firmware:

Think of them rarely, but when I do, it is better to have the firmware updated independently. This is especially true when you do not have 4 phones, and more than 40. For solving this problem, in General configs for different models was the paths and file names. If necessary, replace the name of the firmware file, we will need to edit two values in General configuration. They write the address of the firmware and a new file name.
directory:

Supported "zyskowski" books, which I was somewhat surprised and pleased. For the sake of experiment decided to slip them in there. Still left over from old projects.

But in the end decided not to mix the donkey with the beaver, and did as requested by the manufacturer. With one phone filled out a couple of rooms with a number of records imported. By analogy changed and made there changes. Do these phones support up to 5 remote books.



Worst of all was the phones for reception, bars and administrative. The hotel management had to try to find out what to put the settings on phones with the shortcuts, BLF.

For reception were heart Cookcounty same extension module keyboard EM53 and included in the mode of proglatyvanija a three-page list of subscribers. As a result, the operator at the reception got all the numbers available on the shortcuts, and with the display of the BLF. Tellingly the module on the last pages still have quite a lot of free buttons for future modifications and configurations.

Tell a bit more about it ЕМ53. Complete with extension bracket that you can fasten the module to the phone as need the cable with the bolts. It is enough power from the phone and the whole structure seems solid. All extra buttons have three-color backlighting. As the right panel of the phone, and each button on the module. BLF for each unit opened. Well, why not.

Again the photo under a spoiler













the

total


The task was performed without much mental and physical straining on my part. Hitter still had to invest some effort, but probably not on the broach and swage the cables.

Internal services of the hotel were set up for the other people with whom I intersect. But there is also no problem.

In the end, we have a complete network with the necessary service infrastructure, telephony, fire alarm and video surveillance. Surveillance, by the way, was running on separate cables, which I consider a very good decision. Who would and what would not talk about the unified communications all-in-one, but the traffic surveillance and obseoffice including VoIP better to dissolve physically, not to saumlaki work network.

Chinese PBX pleased with the customer price tag, I was sometimes upset because of the strange defaultnya settings. It is also not entirely clear how to interpret the brutal rule of the account password. Because we do not ask whether we want to change it. We put before the fact. That's probably for the best, but to me this attitude does not satisfy. All ATS required – it provides.

Phone Akuvox is confident four, maybe even plus. Overall, the feeling from them is no worse than Cisco. Of course about the modern SIP phones little can be said amazing. In functionality they are all about the same "face". And the back side is also the same. The only differences in design and number of SIP accounts. Flexibility at Akuvox is, fashion HD voice is also available. The sound and the handset and speakerphone objectively very pleased. The materials are comfortable, tube is not felt in the ear. Keys with a great, slightly tight turn. All programmed and quite informative Shine your light bulbs.

The customer is satisfied, and I no longer called for this project. So it works and you can sleep peacefully.
Article based on information from habrahabr.ru

Комментарии

Популярные сообщения из этого блога

Wikia Search — first impressions

Emulator data from GNSS receiver NMEA

mSearch: search + filter for MODX Revolution