|
| 1 | +================================ |
| 2 | +VoIP services in Odoo with DIDWW |
| 3 | +================================ |
| 4 | + |
| 5 | +*DIDWW* is a global *VoIP* and SIP trunking provider. An active account with DIDWW is required to |
| 6 | +use this service. |
| 7 | + |
| 8 | +Before creating an account with DIDWW, make sure that the company's location and the applicable |
| 9 | +regions are supported by DIDWW's services. |
| 10 | + |
| 11 | +DIDWW setup |
| 12 | +=========== |
| 13 | + |
| 14 | +After verifying country coverage and avaiabilty, create an account with `DIDWW |
| 15 | +<https://www.didww.com/>`_. Then navigate to the `DIDWW Dashboard |
| 16 | +<https://my.didww.com/#/dashboard>`_. |
| 17 | + |
| 18 | +To transfer existing numbers from an existing telephone network servicer provider, follow the steps |
| 19 | +outlined on the `DIDWW website <https://doc.didww.com/phone-numbers/number-porting/index.html>`_. |
| 20 | + |
| 21 | +Purchase new numbers |
| 22 | +-------------------- |
| 23 | + |
| 24 | +To puchase new phone numbers, click :guilabel:`Buy Numbers` in the dashboard, then follow the |
| 25 | +instructions to complete the purchase. |
| 26 | + |
| 27 | +When buying a new number, it **must** support both inbound calls and Local CLI. |
| 28 | + |
| 29 | +.. image:: didww/didww-purchase-numbers.png |
| 30 | + :alt: The purchase dashboard in DIDWW. |
| 31 | + |
| 32 | +Enable phone.systems |
| 33 | +-------------------- |
| 34 | + |
| 35 | +Next, click :guilabel:`Cloud Phone System` in the dashboard sidebar. Then, click :guilabel:`Launch |
| 36 | +admin UI`. |
| 37 | + |
| 38 | +.. important:: |
| 39 | + The *phone.systems PBX* feature is an extra paid service in DIDWW, and may require additional |
| 40 | + fees. |
| 41 | + |
| 42 | +To create a new user, click :guilabel:`Users`, click the plus sign, then enter the necessary |
| 43 | +information. |
| 44 | + |
| 45 | +.. image:: didww/add-user.png |
| 46 | + :alt: The add a new user screen in DIDWW. |
| 47 | + |
| 48 | +Click :guilabel:`Contact Methods`, then click the plus sign to add a new *SIP Device Route*. |
| 49 | + |
| 50 | +Configure or add the following parameters: |
| 51 | + |
| 52 | +- :guilabel:`Allowed Codecs`: `OPUS`, `PCMU`, `PCMA`, `telephone-event`, `g722`, `g729`. |
| 53 | +- :guilabel:`Allowed media types`: `SRTP-DTLS` |
| 54 | +- :guilabel:`Default media type`: `STRP-DTLS` |
| 55 | +- :guilabel:`Transport protocol`: `UDP`, `TCP`, `WSS`, `TLS` |
| 56 | + |
| 57 | +.. image:: didww/sip-device-route.png |
| 58 | + :alt: The settings for a new contact method in DIDWW. |
| 59 | + |
| 60 | +.. tip:: |
| 61 | + If no phone number available from drop-down selection in *Inbound and Outbound DID/Caller ID* |
| 62 | + selection, the :guilabel:`Inbounch voice trunk` needs to be modified. Navigate to the dashboard, |
| 63 | + then click :guilabel:`My Numbers`. Scroll to :guilabel:`Configuration`.In the :guilabel:`Inbound |
| 64 | + voice trunk` field, select :guilabel:`phone.systems`. |
| 65 | + |
| 66 | +Odoo setup |
| 67 | +========== |
| 68 | + |
| 69 | +In *Odoo*, navigate to :menuselection:`Settings app --> Integrations --> VoIP --> Manage Providers`. |
| 70 | +Click :guilabel:`New`. |
| 71 | + |
| 72 | +Enter the name, `DIDWW`, then update the :guilabel:`WebSocket` field with `wss://sip.phone.systems`. |
| 73 | +Under :guilabel:`PBX Server IP`, enter `sip.phone.systems`. |
| 74 | + |
| 75 | +.. image:: didww/new-provider.png |
| 76 | + :alt: The VoIP providers page in Odoo. |
| 77 | + |
| 78 | +To configure a user's VoIP provider, click the user avatar in the top-right of the database, then |
| 79 | +click :guilabel:`My Profile`. Click into the :guilabel:`VoIP` tab, then under the :guilabel:`Voip |
| 80 | +Provider` field, select :guilabel:`DIDWW`. Finally, enter the :guilabel:`Voip Username` and |
| 81 | +:guilabel:`Voip Secret`, then save. |
| 82 | + |
| 83 | +.. image:: didww/odoo-credentials.png |
| 84 | + :alt: DIDWW provider, username, and secret credentials entered. |
0 commit comments