|
| 1 | +================================= |
| 2 | +VoIP services in Odoo with Axivox |
| 3 | +================================= |
| 4 | + |
| 5 | +Introduction |
| 6 | +============ |
| 7 | + |
| 8 | +Odoo VoIP (Voice over Internet Protocol) can be set up to work together with `Axivox |
| 9 | +<https://www.axivox.com/>`_. In that case, an :doc:`Asterisk server <../asterisk>` is **not** |
| 10 | +necessary, as the infrastructure is hosted and managed by Axivox. |
| 11 | + |
| 12 | +To use this service, `contact Axivox <https://www.axivox.com/contact/>`_ to open an account. Before |
| 13 | +doing so, verify that Axivox covers the company's area, along with the areas the company's users |
| 14 | +wish to call. |
| 15 | + |
| 16 | +Configuration |
| 17 | +============= |
| 18 | + |
| 19 | +To configure Axivox in Odoo, go to the :menuselection:`Apps` application, and search for `VoIP`. |
| 20 | +Then, install the :guilabel:`VoIP` module. |
| 21 | + |
| 22 | +Next, go to :menuselection:`Settings app --> General Settings --> Integrations section`, and fill |
| 23 | +out the :guilabel:`Asterisk (VoIP)` field: |
| 24 | + |
| 25 | +- :guilabel:`OnSIP Domain`: set the domain created by Axivox for the account (e.g., |
| 26 | + `yourcompany.axivox.com`) |
| 27 | +- :guilabel:`WebSocket`: type in `wss://pabx.axivox.com:3443` |
| 28 | +- :guilabel:`VoIP Environment`: set as :guilabel:`Production` |
| 29 | + |
| 30 | +.. image:: axivox_config/voip-configuration.png |
| 31 | + :align: center |
| 32 | + :alt: Integration of Axivox as VoIP provider in an Odoo database. |
| 33 | + |
| 34 | +.. tip:: |
| 35 | + Access the domain on the Axivox administrative panel by navigating to `https://manage.axivox.com/ |
| 36 | + <https://manage.axivox.com/>`_. After logging into the portal, go to :menuselection:`Users --> |
| 37 | + Edit (next to any user) --> SIP Identifiers tab --> Domain`. |
| 38 | + |
| 39 | +Configure VoIP user in Odoo |
| 40 | +--------------------------- |
| 41 | + |
| 42 | +Next, the user is configured in Odoo, which **must** take place for every Axivox/Odoo user using |
| 43 | +VoIP. |
| 44 | + |
| 45 | +In Odoo, go to :menuselection:`Settings app --> Users & Companies --> Users`, then open the desired |
| 46 | +user's form to configure :abbr:`VoIP (Voice over Internet Protocol)`. Under the |
| 47 | +:guilabel:`Preferences` tab, fill out the :guilabel:`VOIP Configuration` section: |
| 48 | + |
| 49 | +- :guilabel:`SIP Login` / :guilabel:`Browser's Extension`: (Axivox) :guilabel:`SIP username` |
| 50 | +- :guilabel:`Handset Extension`: SIP external phone extension |
| 51 | +- :guilabel:`SIP Password`: (Axivox) :guilabel:`SIP Password` |
| 52 | +- :guilabel:`Mobile call`: method to make calls on a mobile device |
| 53 | +- :guilabel:`OnSIP authorization User`: (Axivox) :guilabel:`SIP username` |
| 54 | +- :guilabel:`Always Redirect to Handset`: option to always transfer phone calls to handset |
| 55 | +- :guilabel:`Reject All Incoming Calls`: option to reject all incoming calls |
| 56 | + |
| 57 | +.. image:: axivox_config/odoo-user.png |
| 58 | + :align: center |
| 59 | + :alt: Integration of Axivox user in the Odoo user preference. |
| 60 | + |
| 61 | +.. tip:: |
| 62 | + Access the domain on the Axivox administrative panel by navigating to `https://manage.axivox.com/ |
| 63 | + <https://manage.axivox.com/>`_. After logging into the portal, go to :menuselection:`Users --> |
| 64 | + Edit (next to the user) --> SIP Identifiers tab --> SIP username / SIP password`. |
| 65 | + |
| 66 | + .. image:: axivox_config/manager-sip.png |
| 67 | + :align: center |
| 68 | + :alt: SIP credentials in the Axivox manager. |
| 69 | + |
| 70 | +.. important:: |
| 71 | + When entering the :guilabel:`SIP Password` into the user's :guilabel:`Preferences` tab, this |
| 72 | + value **must** be typed out manually and **not** pasted in. Pasting in causes a `401 server |
| 73 | + rejection error`. |
0 commit comments