User Tools

Site Tools


procedures:new_customer_creation

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
procedures:new_customer_creation [2026/02/25 13:51] gemma.coppetaprocedures:new_customer_creation [2026/02/26 14:43] (current) gemma.coppeta
Line 12: Line 12:
   * The customer's **name** must be added to the [[https://grafana.ccaas.becloudsolutions.com/d/cedg4a4h1qxa8f/voice-balance-monitor?orgId=1&from=now-6h&to=now&timezone=browser | Voice balance dashboard]] on Grafana.   * The customer's **name** must be added to the [[https://grafana.ccaas.becloudsolutions.com/d/cedg4a4h1qxa8f/voice-balance-monitor?orgId=1&from=now-6h&to=now&timezone=browser | Voice balance dashboard]] on Grafana.
   * An [[https://grafana.ccaas.becloudsolutions.com/alerting/list |Alert rule]] on Grafana must be created for the new customer.   * An [[https://grafana.ccaas.becloudsolutions.com/alerting/list |Alert rule]] on Grafana must be created for the new customer.
-  * The customer's **name** must be added to the Monitor database in "customers" and "recharges" in the "Monitoring" machine .+  * The customer's **name** must be added to the Monitor database.
  
 ===== New tenant creation =====  ===== New tenant creation ===== 
-To create a new  {{0:logobecloud.png?30}}tenant you can follow [this guide]+To create a new  {{0:logobecloud.png?30}}tenant you can follow the [[new_tenant_creation]] guide.
  
 ===== IT Billing =====  ===== IT Billing ===== 
Line 26: Line 26:
 ===== BeCloud's Git =====  ===== BeCloud's Git ===== 
 Once you open {{0:logobecloud.png?30}}[[https://git.ccaas.becloudsolutions.com/BeCloud/CDRs | this link]], you will find yourself in the CDRs repository. \\ Once you open {{0:logobecloud.png?30}}[[https://git.ccaas.becloudsolutions.com/BeCloud/CDRs | this link]], you will find yourself in the CDRs repository. \\
-  * Click on [[https://git.ccaas.becloudsolutions.com/BeCloud/CDRs/src/branch/main/numbers.csv | numbers.csv]], then click on the {{0:editgitea.png?25}}edit button and add one or more lines with the **number**, customer **name** and the **rate** applied to the number. +  * Click on [[https://git.ccaas.becloudsolutions.com/BeCloud/CDRs/src/branch/main/numbers.csv | numbers.csv]], then click on the {{0:editgitea.png?25}} //edit// button and add one or more lines with the **number**, customer'**name** and the **rate** applied to the number. 
-  * Click on [[https://git.ccaas.becloudsolutions.com/BeCloud/CDRs/src/branch/main/cdrs.py | cdrs.py]], then click the {{0:editgitea.png?25}}edit button and create the **Customer object** with the customer **name** and all **zeros** in the customers array. The zeros will be filled in during the course of the code and represent the inbound/outbound cost for each carrier. \\ Follow this example: <code python>customers = [+  * Click on [[https://git.ccaas.becloudsolutions.com/BeCloud/CDRs/src/branch/main/cdrs.py | cdrs.py]], then click the {{0:editgitea.png?25}} //edit// button and create the **Customer object** with the customer'**name** and all **zeros** in the customers array. The zeros will be filled in during the course of the code and represent the inbound/outbound cost for each carrier. \\ Follow this example: <code python>customers = [
         Customer("Name",0,0,0,0,0,0,0,0,0,0,0,0),         Customer("Name",0,0,0,0,0,0,0,0,0,0,0,0),
 ... ...
 ] </code> ] </code>
-  * Click on the [[https://git.ccaas.becloudsolutions.com/BeCloud/CDRs/src/branch/main/Monthly/ | Monthly folder]] and on [[https://git.ccaas.becloudsolutions.com/BeCloud/CDRs/src/branch/main/Monthly/monthlyResults.py | monthlyResults.py]], then click the {{0:editgitea.png?25}}edit button and create the **Result object** with the customer **name**, the name of the **carrier** in  **__all caps__** and all **zeros** in the results array. The zeros will be filled in during the code and represent the inbound/outbound cost of BeCloud and the customer. \\ Follow this example: <code python>results = [+  * Click on the [[https://git.ccaas.becloudsolutions.com/BeCloud/CDRs/src/branch/main/Monthly/ | Monthly folder]] and on [[https://git.ccaas.becloudsolutions.com/BeCloud/CDRs/src/branch/main/Monthly/monthlyResults.py | monthlyResults.py]], then click the {{0:editgitea.png?25}} //edit// button and create the **Result object** with the customer'**name**, the name of the **carrier** in  **__all caps__** and all **zeros** in the results array. The zeros will be filled in during the code and represent the inbound/outbound cost of BeCloud and the customer. \\ Follow this example: <code python>results = [
         Result("Name","CARRIER",0,0,0,0),         Result("Name","CARRIER",0,0,0,0),
 ... ...
Line 37: Line 37:
  
 \\ \\
-Once you open {{0:logobecloud.png?30}}[[https://git.ccaas.becloudsolutions.com/BeCloud/Recharges | this link]], you will find yourself in the Recharges repository. \\ Click on [[https://git.ccaas.becloudsolutions.com/BeCloud/Recharges/src/branch/main/recharges.php | recharges.php]], then click the {{0:editgitea.png?25}}edit button and add the customer **name** in the customers array.+Once you open {{0:logobecloud.png?30}}[[https://git.ccaas.becloudsolutions.com/BeCloud/Recharges | this link]], you will find yourself in the Recharges repository. \\ Click on [[https://git.ccaas.becloudsolutions.com/BeCloud/Recharges/src/branch/main/recharges.php | recharges.php]], then click the {{0:editgitea.png?25}} //edit// button and add the customer'**name** in the customers array.
  
 ===== Grafana =====  ===== Grafana ===== 
-  * Once you open {{0:grafana.png?50}}[[https://grafana.ccaas.becloudsolutions.com/d/cedg4a4h1qxa8f/voice-balance-monitor?orgId=1&from=now-6h&to=now&timezone=browser | this link]], you will find yourself in the Voice balance monitor. \\ To add a new customer, you have to click the {{0:editgrafana.png?36}} edit button, then go to an existing panel, click on the three dots, hover your mouse over the “more” option and then click on duplicate.\\{{0:duplicategrafana.png?250}}\\ Once you have created the copy, you will need to edit it by **replacing** the name with the one of the new customer. +  * Once you open {{0:grafana.png?50}}[[https://grafana.ccaas.becloudsolutions.com/d/cedg4a4h1qxa8f/voice-balance-monitor?orgId=1&from=now-6h&to=now&timezone=browser | this link]], you will find yourself in the Voice balance monitor. \\ To add a new customer, you have to click the {{0:editgrafana.png?36}} //edit// button, then go to an existing panel, click on the //three dots//, hover your mouse over the “more” option and then click on //duplicate//.{{0:duplicategrafana.png?250}}\\ Once you have created the copy, you will need to edit it by **replacing** the field //title// and the value of the column //customer// with the name of the new customer. \\ Here's an example with the customer //"Alidays"//: \\ {{0:titlegrafana.png?250}} \\ {{0:customergrafana.png}} \\ Now you can **save** and exit the edit mode. 
-  * Once you open {{0:grafana.png?50}}[[https://grafana.ccaas.becloudsolutions.com/d/cedg4a4h1qxa8f/voice-balance-monitor?orgId=1&from=now-6h&to=now&timezone=browser | this link]], you will find yourself in the Voice balance monitor. \\ To add a new customer, you have to click the {{0:editgrafana.png?36}} edit button, then go to an existing panel, click on the three dots, hover your mouse over the “more” option and then click on duplicate.\\{{0:duplicategrafana.png?250}}\\ Once you have created the copy, you will need to edit it by **replacing** the name with the one of the new customer.+ 
 +  * Once you open {{0:grafana.png?50}}[[https://grafana.ccaas.becloudsolutions.com/alerting/list| this link]], you will find yourself in the Alert rules list and you have to look to the Balances_monitor. \\ To add a new customer, you have to click the //more// button of an existing alert rule and click on //duplicate// \\ {{0:duplicatealertrulesgrafana.png}} \\ Once you have created the copy, you will need to edit it by **replacing** the field //title// and the value of the column //customer// with the name of the new customer. \\ Here's an example with the customer //"Alidays"//: \\ {{0:titlealertrulesgrafana.png?320}} \\ {{0:customergrafana.png}} \\ Now you can **save** and exit the edit mode. 
 + 
 + 
 +===== Database =====  
 +You must add the customer's name to the **“recharges”** and **“customers”** tables in the **Monitor** database of the **Monitoring** machine.
  
procedures/new_customer_creation.1772027470.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