📜 ⬆️ ⬇️

DIY Roaming

We build roaming ourselves Everyone loves to travel, for example, this time I managed to visit three capitals: Prague, Vienna, Budapest. But the post is not about that, but about the fact that during the week of travel I spent only 7 euros on a telephone. Without limiting yourself in conversations with loved ones, and even working. I spent a few minutes on the roaming setup before the trip.
A personal example is written instructions for building roaming with their own hands. In addition, under the cut you will find: the stages of a call in roaming, options for the implementation of each stage with your own hands, a description of roaming SIM-cards fully integrated with SIP and IP-PBX.


For ease of understanding and description, we divide roaming into 3 stages:
  1. Home network (take a call from friends and relatives and send to the network)
  2. International call (transfer call to travel country)
  3. Foreign network (take a call to your mobile phone in the country where you are now)

image

Now we will describe: how you can independently implement each of the three stages.
')

All native roaming options:



1. Home Network


Task : to get Internet calls to your home mobile
Solution options:


2. International call.


Objective : to get the highest quality and cheap calls to the country (s) of the trip, but that it is connected to the home network.
Solution: any quality VoIP-operator will do. You can not be afraid of loss of quality due to VoIP, almost all mobile operators for roaming also use VoIP-joints. So the main thing is that the operator uses "quality" partners / suppliers, therefore we do not recommend choosing the cheapest services. For example, Zadarma uses for calls only premium quality connections, with proven major suppliers. It is convenient to use the services of the operator with which the interface with the home network is implemented, so as not to make unnecessary joints and not lose in quality.

3. Foreign is


Task : take and send a call in another country.


Building your roaming:


I describe in detail how I built my own version of roaming.

1. Home Network


The fastest and easiest way: to get a local number and forward calls to it from your mobile.
We do : go to the site and purchase a number.
If you already have a SIP-linked phone number, you can dock it for free with VoIP through the “extra external line” feature of the free PBX. I have been using a virtual Moscow number for work for a long time, so I just took it with me.

2. International call.


To this end, we use for this the same operator as for paragraph 1, then nothing needs to be done. Just do not forget to forward calls from your mobile when going abroad (** 21 * + phone number associated with SIP # and click "call")

3. Foreign network.


Convenient to buy and set up a SIM card in advance. Zadarma SIM card can be ordered by mail, it will allow you to receive calls directly to your SIP login, and there you will also bind a virtual number from your home network.
We do :

Everything! When traveling, just insert the SIM card into your phone!

By default, outgoing calls will go with the caller ID of the virtual number you have purchased, this is the convenience - you will be called back. If necessary, you can confirm your mobile number and call with his caller ID.

Additional functions:


PBX: You can also enable a free virtual PBX on the site and link a SIM card to it.
We get the functions of PBX, which can be useful in the trip:

And much more.

A way to save even more:


For maximum savings, you can combine several methods of roaming:


SIM card integration with external PBX / Asterisk / CRM


Since the travel SIM-card is attached to a regular SIP-login, it can be integrated as a regular SIP-account. For voice integration, simply connect your PBX to the server to any other SIP login. (Asterisk connection settings can be found here ).

For integration with CRM, or call tracking, or any similar services, an API is suitable. It is possible to receive both call statistics, incoming call notifications, and create outgoing calls. To order an outgoing call through the API, the / v1 / request / callback / method is suitable. In this case, the card will be considered payment for the incoming, and not for the outgoing connection (which is cheaper).
SMS notifications can be sent either via the built-in method / v1 / sms / send /, or through any external service to a free English number that is provided with a SIM card.

The article describes several options for building your own roaming, and everyone is free to decide how it will be more convenient and more profitable for him personally.

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


All Articles