Difference between revisions of "PBX Servers"

From Kolmisoft Wiki
Jump to navigationJump to search
 
(40 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Description==
==Description==


This addon incorporates basic usage of Cloud PBX integration into MOR
This explains the basic usage of [[Cloud PBX]] integration into MOR


Currently it lets to create server with type 'pbx server'
Currently it lets to create server with type 'pbx server'
Line 7: Line 7:
When this server created will able to:
When this server created will able to:


# Add/Edit/Delete ACL list to the server
* Add/Edit/Delete ACL list to the server
# Create users (pbx user type) with automatically Account creating on the PBX server
* Create users (pbx user type) with automatically Account creating on the PBX server
# Create DIDs and assign them to the Pbx Users and point to the PBX server  
* Create DIDs and assign them to the Pbx Users and point to the PBX server  
# Create/Edit/Delete Carriers on the PBX server
* Create/Edit/Delete Carriers on the PBX server
 
 
===PBX Servers===
 
 
Go to '''SETTINGS–> Billing –> PBX Servers
 
<br><br>
[[File:Pbxservers.png]]
<br><br>
 
* You can add/delete PBX Server .
* Fill all fields and press green button.
* Before you add server you should make password-less ssh connection to the CloudPBX server from MOR
* Use this manual [[Configure SSH connection between servers]]
 
===Server parameters===
 
 
* '''Server IP''' - Ip address of the server
* '''Realm''' - Realm for the main CloudPBX Account
* '''SSH Username''' - Username for ssh connection
* '''SSH Secret''' - Password for the ssh connection
* '''PBX Username''' - Username of the main CloudPBX Account
* '''PBX Secret''' - Password of the main CloudPBX Account
* '''PBX Account Name''' - Name of the main CloudPBX Account




Line 16: Line 42:




Access list allows to accept inbound calls on the PBX server.
Click on [[Image:icon_details.png]] to check ACL in the server record.
You add/delete IP from which will be accepted traffic
 
<br><br>
[[File:Acllist.png]]
<br><br>


* Access list allows to accept inbound calls on the PBX server.
* You can add/allow/deny/delete IP's from which will be accepted inbound traffic.
* Delete IP possibly only after rule was denied.
* Possible to add IP's from third party providers (not MOR only) like DIDWW and other.
* Pay attention that this traffic will be not visible in the MOR.


===Users===
===Users===




You can create user with type: Pbx User
* You can create user with type: PBX.


<br><br>
[[File:Pbxuser.png]]
<br><br>
* Create user like you usually doing this
* Select user type PBX and choose Pbx Server from drop-down menu.
* This action will do:
# Will create user in the MOR.
# Will create virtual device with CLI by realm/domain authentication.
# Will create Account in the CloudPBX server with same credentials.
* User in the MOR is equal to the Account on the CloudPBX with all his users and devices.
* User in the MOR can not be deleted for security reason.
Because delete user equal to account delete on the CloudPBX.
This action would destroy all users, devices and configuration under this account without possibility to restore.
For this reason possible to disable only.
If you really want to remove account , you should to do it manually from CloudPBX GUI.
* Pbx user can be created under reseller too.


===DIDs===
===DIDs===


* DIDs for user with type PBX can be created like usually.


You can create and assign them to the PBX server.
<br><br>
Number after assigning to the PBX server will visible in the Cloud Pbx Gui.
[[File:Pbxdid.png]]
Also will be possible to configure Number inside of the Cloud PBX.
<br><br>


* For user with type PBX, DIDs can be assigned to the PBX server.
* Number after assigning to the PBX server will visible in the Cloud Pbx Gui.
* Also will be possible to configure Number inside of the Cloud PBX.
* If you are use direct connect to the DID provider from Cloud PBX , DID's you should add and configure manually in the CloudPBX GUI


===Carriers===


===Carriers===


* You can create carriers for this account directly from MOR GUI.
* This functionality will create carriers in the CloudPBX.
* Is not exist GUI on the CloudPBX to add/edit/delete/view Carriers.
* Carrier on the PBX server allow Account users make outgoing calls.
* Carrier on the PBX server is the same as provider in the MOR.
* In the user line press on icon Carriers
<br><br>
[[File:Carriers1.png]]
<br><br>
*Press button '''Add new Carrier'''
*You can use simple mode where you need to add only name of this carrier.
*IP will be added automatically from the first active asterisk or proxy server, if system with a proxy.
*Realm will be added automatically from the user settings.
<br><br>
[[File:Simple mode carrier.png]]
<br><br>
*Or use advanced mode , where all fields can be changed
<br><br>
[[File:Carriers2.png]]
<br><br>
* Fill parameters and save
===Carrier parameters===
* '''Name''' - Any friendly name
* '''Server''' - IP Address or domain name of the server (means, who should receive calls from PBX)
* '''Username''' - Username if used
* '''Password''' - Password if used
* '''Priority''' - You can change priority if more of one carrier used
* '''Enabled''' - Check/Uncheck for enabling/disabling
* '''Realm''' - Realm of the Account
* '''Pass Realm in INVITE''' - Will add extra field in invite with realm
* '''Rules''' - Checking dialed number for matching to use this carrier
* '''Prefix''' - Adding prefix to the dialed number
* '''Suffix''' - Adding suffix to the dialed number
* '''Progress timeout''' - Value in seconds to disconnect by timeout on the first SIP answer
* '''Flags''' - Add flags, separate by comma. '''CName''' if you need to resolve domains , '''fax''' if you use faxing on this Carrier
* '''Peer''' - Check if this Carrier is peer
* '''Caller ID Options''' - '''external''' will be used Caller ID of the assigned number, '''internal''' will be use extension number, '''emergency''' used Caller Name and Number
* '''Gateway Codecs''' - Check codecs which you need
===PBX Servers for Resellers===


You can create carriers on the PBX server to make outgoing calls.
* If you want to allow reseller to use pbx functionality
Carrier on the PBX server is the same as provider in the MOR.
* Edit the reseller and choose Pbx server or use None if reseller not allowed to use PBX servers
<br><br>
[[File:Pbx under reseller.png]]
<br><br>






<br><br>
<br><br>

Latest revision as of 05:22, 26 June 2023

Description

This explains the basic usage of Cloud PBX integration into MOR

Currently it lets to create server with type 'pbx server'

When this server created will able to:

  • Add/Edit/Delete ACL list to the server
  • Create users (pbx user type) with automatically Account creating on the PBX server
  • Create DIDs and assign them to the Pbx Users and point to the PBX server
  • Create/Edit/Delete Carriers on the PBX server


PBX Servers

Go to SETTINGS–> Billing –> PBX Servers



Pbxservers.png

  • You can add/delete PBX Server .
  • Fill all fields and press green button.
  • Before you add server you should make password-less ssh connection to the CloudPBX server from MOR
  • Use this manual Configure SSH connection between servers

Server parameters

  • Server IP - Ip address of the server
  • Realm - Realm for the main CloudPBX Account
  • SSH Username - Username for ssh connection
  • SSH Secret - Password for the ssh connection
  • PBX Username - Username of the main CloudPBX Account
  • PBX Secret - Password of the main CloudPBX Account
  • PBX Account Name - Name of the main CloudPBX Account


ACL

Click on Icon details.png to check ACL in the server record.



Acllist.png

  • Access list allows to accept inbound calls on the PBX server.
  • You can add/allow/deny/delete IP's from which will be accepted inbound traffic.
  • Delete IP possibly only after rule was denied.
  • Possible to add IP's from third party providers (not MOR only) like DIDWW and other.
  • Pay attention that this traffic will be not visible in the MOR.

Users

  • You can create user with type: PBX.



Pbxuser.png

  • Create user like you usually doing this
  • Select user type PBX and choose Pbx Server from drop-down menu.
  • This action will do:
  1. Will create user in the MOR.
  2. Will create virtual device with CLI by realm/domain authentication.
  3. Will create Account in the CloudPBX server with same credentials.
  • User in the MOR is equal to the Account on the CloudPBX with all his users and devices.
  • User in the MOR can not be deleted for security reason.

Because delete user equal to account delete on the CloudPBX. This action would destroy all users, devices and configuration under this account without possibility to restore. For this reason possible to disable only. If you really want to remove account , you should to do it manually from CloudPBX GUI.

  • Pbx user can be created under reseller too.

DIDs

  • DIDs for user with type PBX can be created like usually.



Pbxdid.png

  • For user with type PBX, DIDs can be assigned to the PBX server.
  • Number after assigning to the PBX server will visible in the Cloud Pbx Gui.
  • Also will be possible to configure Number inside of the Cloud PBX.
  • If you are use direct connect to the DID provider from Cloud PBX , DID's you should add and configure manually in the CloudPBX GUI

Carriers

  • You can create carriers for this account directly from MOR GUI.
  • This functionality will create carriers in the CloudPBX.
  • Is not exist GUI on the CloudPBX to add/edit/delete/view Carriers.
  • Carrier on the PBX server allow Account users make outgoing calls.
  • Carrier on the PBX server is the same as provider in the MOR.
  • In the user line press on icon Carriers



Carriers1.png

  • Press button Add new Carrier
  • You can use simple mode where you need to add only name of this carrier.
  • IP will be added automatically from the first active asterisk or proxy server, if system with a proxy.
  • Realm will be added automatically from the user settings.



Simple mode carrier.png

  • Or use advanced mode , where all fields can be changed



Carriers2.png

  • Fill parameters and save

Carrier parameters

  • Name - Any friendly name
  • Server - IP Address or domain name of the server (means, who should receive calls from PBX)
  • Username - Username if used
  • Password - Password if used
  • Priority - You can change priority if more of one carrier used
  • Enabled - Check/Uncheck for enabling/disabling
  • Realm - Realm of the Account
  • Pass Realm in INVITE - Will add extra field in invite with realm
  • Rules - Checking dialed number for matching to use this carrier
  • Prefix - Adding prefix to the dialed number
  • Suffix - Adding suffix to the dialed number
  • Progress timeout - Value in seconds to disconnect by timeout on the first SIP answer
  • Flags - Add flags, separate by comma. CName if you need to resolve domains , fax if you use faxing on this Carrier
  • Peer - Check if this Carrier is peer
  • Caller ID Options - external will be used Caller ID of the assigned number, internal will be use extension number, emergency used Caller Name and Number
  • Gateway Codecs - Check codecs which you need

PBX Servers for Resellers

  • If you want to allow reseller to use pbx functionality
  • Edit the reseller and choose Pbx server or use None if reseller not allowed to use PBX servers



Pbx under reseller.png