📜 ⬆️ ⬇️

Experience of raising IP telephony in the hotel

Greetings. This text tells how the telephony rose in the hotel, which was planned to open on April 1st. No matter how funny it was, but it did not work out and the opening date was postponed. As a result, the hotel is launched, all necessary communications are carried out and configured. I will tell only about telephony and what it concerned.

As always, people do not have huge budgets, so there was no question of putting something cosmic or something proprietary there. Especially since during the discussion of this project, the broadcast was filled with information that one of the leading manufacturers was declared bankrupt and was looking for a patron. Therefore, I did not want to contact him at all.



About the hotel itself


It is small, with 30 rooms with a bar, a restaurant and small things. In each number, of course, you need a phone. That is, as such, the accounts required 40, taking into account the administrative staff and owner. premises.
')
All this on one floor. Since I was there at the stage of building walls, like other specialists (one networker, lol), then all the necessary wires and switching were thought out beforehand and laid. As a result, each number includes a twisted pair from switches, divorced, including vlans, so that wi-fi, telephony, internal hotel services do not overlap.

Equipment


It was decided to abandon analog phones at the discussion stage.

I will tell you about the course of thought on the organization of the telephony itself. There was an option to put a normal virtualization server there and drive an asterisk there. But immediately there was a question of selecting a piece of iron for analog lines from a city operator (where to go without them), a GSM gateway and SIP itself. Regardless of the choice of platform, for me it was highly desirable that she had an Asterisk inside.

Evaluating the list of ready-made solutions out of the box and talking to a large number of managers from integrators and importers of various PBX systems - the decision management again won out.
For a very tasty price for them, the ZyCoo U50 was offered and purchased with two expansion cards. 4FXO module for connecting to analog city lines and 2GSM module for GSM gateway.

Before you buy, the youngest model from ZyCoo was taken to the test, this is the CoVoox U20.
2FXS / FXO port, console port, LAN, WAN and RP-SMA for connecting a GSM antenna. SIM card is installed there inconvenient and only one. It is necessary to unwind the case, remove the GSM module and only then it is possible to crawl to the tray.

The restrictions on the PBX are such that it can have up to 30 accounts. No matter what. But in terms of size and capabilities - a great "portable" PBX, for the size of a home router. The interface completely repeats its senior counterparts in the lineup.

Photo inside














Dialplans, IVR, schedule were established on the same “hare”.

Setting up these on this PBX is not something surprising. It is intuitive for any person who has set up FreePBX at least once.

And for those who did not set up - there is documentation on the U50. It would be very strange and disrespectful towards customers not to have it.

The only thing that I didn’t want to do at this PBX was autobusiness with a ball for phone books, updates. But more about this later in the text.

For reservation was purchased another similar PBX.

As phones - AKUVOX SP-R50P went to the numbers. Selected from the price / quality ratio. Of all that was available, the Acquacas seemed the most adequate and stitched tightly.

At the posts in all sorts of restaurants, bars, and reception - AKUVOX SP-R59P. For these phones have the largest screen with excellent information. And he b / w with a few grades of gray. Another plus of this phone is a panel with a bunch of short dialing buttons for subscribers with BLF support, so that employees can clearly see who of the services is currently busy. All Akuvox phones described have two Ethernet ports. The second works either in router mode or in bridge mode. It was marked in the same vlan as the guest Wi-Fi network.

The wire from this port was put on the patch panel in the tables of the rooms. And if a guest needs a stable wired connection, he can ask at the reception for a patchcord, plug into the phone (to the socket in the table, to be exact) and be king. At the same time, we do not need additional RJ45 sockets in the wall.

About the PBX itself


ZyCoo U50 was a purebred Chinese. Therefore, the setting was not always perfect. This is not due to functional problems (in general, they are not), but apparently with the peculiarities of the Chinese mentality. For example, after pulling out of the box, all interfaces have static IP addresses in the first subnets. Well at least they did not think for us even further and did not tag the ports. This will go to negative in the standings. Nevertheless, it is expected from the piece of iron to get an address via DHCP, from which it is already able to manage the network.



To fix it, we naturally need to get IP on the same subnet and reconfigure the ports. Admin PBX works on a strange number of browsers.
IE / chrome / safari. My favorite Vivaldi refused to show anything. Like Opera. Firefox has not been tested for lack of browser.

After logging in, the PBX immediately asks to change the default password to something more serious than the admin \ admin pair. And the filter is tricky. Give him at least 8 characters with numbers and letters in different case. And it will not let. Meticulous some kind of policy. But correct. There is nothing to shine with a naked "body". Let even in LAN.

We are greeted by an ascetic, but generally understandable, interface written by the same Chinese. Let the Russian language be there, but it wasn’t even installed by me to check localization.

First of all, we step into the network and change the network settings that we need. The rest of the network settings we do not need. My mikrotik is engaged in it. Previously, purchased modules were installed in the piece of iron. On the monitoring page you can see that they do not work. For no SIM cards were inserted. Disassemble the module again ... Two ports transferred to FXS to test analog communication.

The antennas came with a standard RP-SMA connector. But the wires from the complete antennas are a bit short, therefore normal cables were purchased and brought to the roof to connect to the antennas of the building.

Screenshots show default configuration.



The connection of trunks is carried out according to the classics, with the SIP provider MTT connected without problems. Next went the settings, in fact, extensions, groups, dialplans. Voice mail did not set up, because it was not required in the TK. But with IVR ... The customer has so far decided without it. If the need arises - set up.

That is, anyone who has tried to set up FreePBX at least once is familiar with this interface.

He is certainly not as elegant as FreePBX, but gives what is required of him. For the beauty here is clearly not pursuing. Although, few people will sit 24x7 in the admin panel.

Inside, as I said, there is Asterisk and full access via SSH or telnet is provided. But even here, the Chinese decided to be smart. The password from the admin does not match the root password of the user in ssh \ telnet. There it is 8 characters MAC address of the device. Surprised. Also, access itself is closed by default. Sekuro

But that we should change it ... In case of problems, it is always more convenient to open ssh and in the maximum debug find out what happens to the PBX and calls. Or restart any module.

Inside installed ARMv7 rev 4, 1 GB of RAM, 6 GB of ROM and also has a slot for an expansion card, which will store voice mail and the like.

If the details are interesting, then they are under the spoiler. Such capacity for 40 (!) Active calls will be enough with the head.

Insides
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 99M 888M 0B 1.3M 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.3G 1.4G 3.7G 28% /
/dev/root 5.3G 1.4G 3.7G 28% /
devtmpfs 494M 0 494M 0% /dev
tmpfs 99M 576K 99M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 198M 0 198M 0% /run/shm


As a result, we needed from this PBX:

Dialplans, routes, RingAll groups, call recording, schedule, conferences. Redundancy does not work according to the Master \ Slave or Active \ Active scheme, and in the old manner by exporting the configuration. When all the settings were made on the PBX, its configuration was carefully placed where it will wait in the wings. If that comes.

Why I did not use AutoP embedded in PBX



He is here, but to manage it is not always convenient. Moreover, for the same updates, you still need to raise the ftp \ http \ tftp ball. Since, to change the configuration, you need to go into the admin area and change files.

For these purposes, my colleague, I was allocated a part of the typewriter resource for debian, on which I deployed a tftp ball for these tasks.

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

Returning to the question why I didn’t use the functionality built into the PBX, I’ll answer: I want to manage all this in a more civilized way, through the file manager, and not to climb into the PBX admin panel every time.

66 option with the address of this server was added to the DHCP server and that is enough.

Then everything that concerns only phones


In Akuvox phones, I repeat, there is also AutoP. But what exactly is the syntax from the template is not completely clear. Therefore, first of all, we configure one of the phones through the web-interface and then download its configuration.

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



As a result, we see quite familiar syntax:

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

In general, the differences between different models of Akuvox IP phones only in the number of accounts, screen sizes, the number of additional buttons. Well and still, it is impossible to connect modules of expansion of the keyboard to younger models. As for the controls, all Akuvox phones have the same interfaces (web and through the screen). Therefore, they sign rather quickly and without problems.

One more photo






Firmware:

You rarely remember them, but when you recall, it is better that the firmware update itself. This is especially true when you have not 4 phones, but more than 40. To solve this problem, the paths and file names were written in common configs for different models. If it is necessary to replace the name of the firmware file, we need to change only two values ​​in the general configuration. In them we write the address of the firmware and the new file name.

Phone book:

Supported "tsiskovskie" books, which I was somewhat surprised and delighted. For the sake of experiment I decided to slip them there. Still left with old projects.

But as a result I decided not to mix the donkey with the beaver and did as requested by the manufacturer. From one phone I filled out a couple of numbers with a certain number of records and imported. By analogy, changed and made edits there. The phones themselves support up to 5 deleted books.



Worst of all, it turned out with phones for reception, bars and administrative. The hotel management had to try for a long time exactly what settings to put on shortcut phones, BLF.

For the reception Akuvokovsky was also purchased the EM53 keyboard expansion module and was included in the three-page scrolling list of subscribers. As a result, the operator at the reception received all the available numbers on the shortcuts, moreover, with the indication BLF. What is characteristic of the module, on the last pages there are still quite a few unoccupied buttons for future modifications and configurations.

I'll tell you a little more about this EM53. Included with the module is a bracket, which you can screw the module to the phone, as well as the desired wire with bolts. He has enough power from the phone and the whole structure looks complete. All add. The buttons have a three-color backlight. Like the right panel on the phone, and each button on the module. BLF for each room is also instituted. Well, why not.

Again, the photo under the spoiler













Total


The task was completed without much mental and physical strain on my part. The networker nevertheless needed to invest some of his efforts, but rather not on the broach, but on the crimping of cables.

The internal services of the hotel were already configured by other people with whom I did not intersect. But there were no problems there either.

As a result, there is a ready network with the necessary service infrastructure, telephony, fire alarm and video surveillance. Video surveillance, by the way, was launched on separate cables, which I consider to be a very competent decision. Who would not say all-in-one about unified communications, but video surveillance and office traffic, including VoIP, should be physically routed so as not to make noise on the work network.

The Chinese PBX pleased the customer with the price tag, but sometimes I was upset because of the strange default settings. It is also not entirely clear how to perceive the cruel rules on the password account. For we are not asked if we want to change it. We are faced with the fact. Perhaps this is for the better, but this attitude does not satisfy me. All that is required of the PBX - it proddubivaet.

Akuvox phones are a confident four, maybe even with a plus. In general, the sensations from them are no worse than from tsiska. Of course, there is little that can be said about modern SIP phones. In terms of functionality, they are all about the same "from the face." Yes, and the back side is the same. Differences only in the design and number of SIP accounts. The flexibility of settings for Akuvox is, fashionable HD voice is also available. The sound of the tube and the speakerphone was objectively very pleased. Materials are comfortable, the tube is not felt at the ear. Keys with a great, slightly tight move. Everything is programmed and quite informatively shines with its light bulbs.

The customer is satisfied, and I have not been called on this project anymore. So everything works and you can sleep peacefully.

Source: https://habr.com/ru/post/337192/


All Articles