User Tools

Site Tools


procedures:freepbx_sipdiversion

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
procedures:freepbx_sipdiversion [2026/02/26 16:59] – created gemma.coppetaprocedures:freepbx_sipdiversion [2026/02/27 15:07] (current) gemma.coppeta
Line 1: Line 1:
 ====== FreePBX Sip Diversion ====== ====== FreePBX Sip Diversion ======
  
-You have to follow these guide for both ArquatiPBX (52.57.247.41) and ArquatiPBX_bkp (35.156.113.252) +You have to follow this guide for both ArquatiPBX (52.57.247.41) and ArquatiPBX_bkp (35.156.113.252)
-===== Access the server ===== +
  
 +===== Arquati's request ===== 
 +When you receive a request such as the one shown in the example below, you must accept the following conditions:
 +  * The **date**: it must be a valid date, not too far in the past or too far in the future
 +  * The **number** must be coherent: if the request is for a single number, all the numbers in the document must be the same
  
-===== Copy an existing folder =====  +**__Example of request__**
-Copy an existing folder. \\ +
-  Customer with domain: \\ <code bash> sudo cp -r be360cft/ be360customername/  </code> +
-  Customer without domain: \\ <code bash> sudo cp -r be360farmacie/ be360customername/  </code>+
  
 +{{0:ticketarquati.png}} \\ {{0:richiestanumerazionearquati.png?400}}
 +
 +===== Starting the server ===== 
 +First, you need to turn on the backup server. \\
 +You can do this on {{0:awsec2.png?20}} AWS by clicking on [[ https://eu-central-1.console.aws.amazon.com/ec2/home?region=eu-central-1#Instances: | this link]].\\
 +Once the page is open, search for the **ArquatiPBX_bkp** server, select it, click on the //Instance State// button\\
 +{{0:arquatibackup.png}}\\ \\
 +and select **start instance**.\\
 +{{0:startinstance.png}}
 +\\
 +
 +\\
 +===== Preparation ===== 
 +  - Open the [[ https://beincontact.becloudsolutions.com/sysmgmt/| sysmgmt]], click on //Phone System// > //Trunks// and click **Asterisk2** \\ {{0:trunksysmgmt.png}} 
 +  - Click on the //Access Numbers// section and **choose a number**. You will use this number as an example to copy the next configurations. \\ __The following photo is only an illustrative example.__ \\ {{0:accessnumberssysmgmt.png}}
 +\\
 +===== Procedure ===== 
 +Follow this step for both [[ https://52.57.247.41/admin/config.php# | ArquatiPBX]] and [[ http://35.156.113.252/admin/config.php | ArquatiPBX_bkp]]
 +\\
 +  - Click on //FreePBX Administration// and login \\ {{0:freepbxadmin.png?100}} 
 +  - Connectivity > Trunks and search for the **number** you chose during the //preparation step// \\ {{0:trunkfreepbx.png?130}}\\ \\ __The following photo is only an illustrative example.__ \\ {{0:searchnumbertrunksfreepbx.png??700}} 
 +  - Click on the //modify// button in //Action// section and press //Duplicate// \\ {{0:actionsmodifyfreepbx.png??250}} \\ {{0:duplicatetrunksfreepbx.png??700}}
 +  - Now replace the number in the copy with the one **given to you by Arquati** (don't forget to keep the +39 in //Outbound CallerID//). \\ __**Be sure to check the other sections as well to replace it**__\\ {{0:othersectionfreepbx.png}}
 +  - Connectivity > Outbound Routes, **ctrl + f** and search for the **number** you chose during the //preparation step// \\ {{0:outboundroutesfreepbx.png?130}}\\ 
 +  - Click on the //modify// button in //Action// section and press //Duplicate// \\ {{0:actionsmodifyfreepbx.png??250}} \\ {{0:duplicateoutboundroutesfreepbx.png??700}}
 +  - Now replace the number in the copy with the one **given to you by Arquati**. \\ // __Don't forget to change these trunks **with the one you created**__ //). \\ {{0:trunksoutboundroutesfreepbx.png?700}} \\ __**Be sure to check the other sections as well to replace the number**__ \\ {{0:othersectionsoutboundroutesfreepbx.png}} \\
 +  - Connectivity > Inbound Routes here there is no way to duplicate an existing inbound route, so you will need to copy it manually (you could open two windows to copy it easily). \\ {{0:inboundfreepbx.png?130}} \\
 +  - To create a new Inbound Route click on //Add Inbound Routes// \\ {{0:addinboundroutes.png?130}} 
 +  - Now copy the entire configuration, making sure to change the number with **the one provided by Arquati**. \\ Make sure to change //Set Destination// by selecting the //Trunks// option and choosing the trunk you created earlier. \\ {{0:setdestinationinbound.png?970}} \\ __**Be sure to check the other sections as well to replace the number and set the right configuration**__ \\ {{0:othersectionsinboundroutesfreepbx.png}} \\
 +  - And **MOST IMPORTANT** click on //Apply Config// to save your changes \\ {{0:applyconfigfreepbx.png}}
 +  - Lastly, add the number on the sysmgmt and test it
 +\\
 +===== Power off the server ===== 
 +Lastly you have to turn off the backup server. \\
 +You can do this on {{0:awsec2.png?20}} AWS by clicking on [[ https://eu-central-1.console.aws.amazon.com/ec2/home?region=eu-central-1#Instances: | this link]].\\
 +Once the page is open, search for the **ArquatiPBX_bkp** server, select it, click on the //Instance State// button\\
 +{{0:arquatibackup.png}}\\ \\
 +and select **Stop instance**.\\ __**DO NOT CLICK ON TERMINATE (DELETE) INSTANCE, IT WILL DELETE THE INSTANCE**__ \\
 +{{0:stopinstance.png}}
 +\\
procedures/freepbx_sipdiversion.1772125176.txt.gz · Last modified: by gemma.coppeta

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki