📜 ⬆️ ⬇️

Mobile phone integration with corporate IP PBX using Aastra Mobile Client

In this article I want to consider an interesting solution from the company Aastra - this is AMC ( Aastra Mobile Client ).

AMC is a SIP client for mobile phones that allows a subscriber to access standard PBX services. Thanks to this integration, users can make calls from their smartphones directly through the corporate telephone network, using the Internet via Wi-Fi networks or GSM mobile networks (3G / EDGE / GPRS).

In addition to classic phone functions, AMC allows you to: exchange instant messages, set presence status, configure intelligent call routing at the lowest cost in a mobile network (MLCR), work in two modes (Dual Mode GSM / Wi-Fi), have the ability to use local SIM Travel Card (Travel SIM) and provides integration with corporate directories.
')
The AMC client is available for most well-known devices running the mobile OS: Android 2.3 and higher, iOS 6 and higher, BlackBerry RIM 6.0 and 7.0, Symbian.

An AMC controller (AMCC) is required for interaction between the AMC and the communication system (PBX ) . AMCC can be either software (deployed in a vmware environment) or hardware (a separate “box”). AMCC connects to the telephone station, using B2BUA - a logical element in applications that work with the SIP protocol or through a SIP trunk.

The solution from AMC can be easily integrated into any already existing SIP infrastructure, it is enough to have several free SIP accounts on IP-PBXs and organize a SIP trunk in the direction of the AMC controller.

AMC is a paid solution, each user in the system must be licensed. Depending on the required functionality, the appropriate licenses are acquired (for example, Travel SIM enabled, AMC + Basic Mobile Presence and IM, etc.). Clients installed on smartphones themselves are free and can be downloaded, for example, from Google Play or the App Store.

After purchasing licenses, you have access to the AMC portal, through which you configure AMC clients.

The principle and features of the AMC


In our demo lab, together with my colleague Alexand3010 , a software version of AMCC was deployed (on a virtual machine running vmware ESXi 5.1 ). In addition, we had several IP PBX systems from different vendors, for example: Aastra MX-ONE 5.0 SP3, Aastra 400 v3, Mitel MCD 6.0 / vMCD 6.0, FreePBX Asterisk 11.2.1.

A diagram of our laboratory setup is shown in the image below.





As follows from the scheme, all communication devices are behind NAT, on the same subnet - 172.19.19.0/24. On the router, rules for the translation of IP addresses and the corresponding ports are set.

In order for AMCC to work properly, in the case of its software execution, you must properly configure your boundary firewall, which will correctly translate IP addresses and ports towards AMCC. This is necessary due to the fact that our controller is software, and it has only one network interface (LAN), unlike the hardware one, where there is also a WAN port. Due to this, hardware AMCC looks at the Internet (WAN) with one end, and with the other into the local area network (LAN) and deals with all the necessary broadcasting.

The list of ports for mandatory broadcast on the firewall, when using AMCC under vmware:

Now let's take a closer look at how it all works:


  1. The user installs a software client (for the corresponding OS) on his mobile device. On the image - version for OC Android.





  2. The AMC portal creates a settings profile for AMCC, containing SIP Proxy IP, SIP Proxy Port, CB Server Host, Transport Mode.





    For our case, these settings look like this:
    • SIP Proxy IP = 195.5.5.5
    • SIP Prox Port = 5062
    • Transport mode = TCP
    • CB Server Host = 195.5.5.5
  3. In the same place on the AMC portal, subscribers are added, for which the following is indicated: mobile phone number in international format (+ 79XXxxxxxxx), mobile OS, SIP Username, SIP Password. Next, click Send AMC user account key to send (via SMS or E-mail) the user key for authorization.





  4. On an IP-PBX, we create a SIP trunk in the direction of AMCC and set up several SIP accounts, under which AMC clients will register.
  5. On the AMCC (controller) in the Telephony section, specify the necessary parameters.

    • External IP address for NAT. AMCC contains SBC functionality (Session Boarder Controller) and to work correctly with IP-PBX behind NAT, you must specify an external IP address for NAT. And also enable pinhole to send RTP over NAT.





    • Default ports





    • Dialing rules profile (for basic settings does not affect anything)





    • Devices (PBX) to be contacted by AMCC.
      In our cases, the list of paired devices is quite impressive, because tested the possibility of integration with the equipment of different vendors.





    • SIP settings for communicating with PBX





    • SIP trunk settings





    • The settings for registering sip accounts on PBX, where PBX Number is the sip number on the PBX, PBX Password is the password for registration, respectively. Sip numbers





    • Matching user accounts in AMCC and PBX





    • Linking a mobile number to an AMCC account






  6. Now we check in the Diagnostics → FMC section if AMCC sees our PBX and the corresponding SIP registrations





  7. Through the installed, on a mobile device, AMC client, we try to log in to the system (you must have access to the Internet via Wi-Fi or 3G). To do this (in Android) on the main screen, press the function key and get into the settings menu, press the function key again and select Download configuration . We are asked to enter the AMC user account key (we received it by SMS or email) and a mobile phone number (which was listed on the portal).








    After successful registration, our AMC client became a subscriber of a corporate IP-PBX, he was assigned an internal number, which was set earlier in step 4





    To be able to make calls via the mobile Internet, you need to specify VoIP over 3G in the settings





    An interesting feature was discovered when launching the AMC client on the iPhone 4 smartphone. When entering registration data (phone number and access code) on the AMC client software keyboard (for iOS), there was no “+” sign to enter the number in the international format. Instead, it was necessary to enter "00" . What is a mistake or conceived, could not figure out.






In the following publications, we will look at how AMC implements such functions as: Callback, Instant Messaging (instant messaging service), and Presens (setting presence status).

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


All Articles