Difference between revisions of "Multi Server support"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 1: Line 1:
''This functionality is available from MOR 0.7''.
''This functionality is available from MOR 0.7''.


<br><br>
<center><big><big><big>'''VERY IMPORTANT! IF YOU HAVE ONLY ONE ASTERISK SERVER OR DO NOT UNDERSTAND WHAT THESE SETTINGS ARE FOR - DO NOT CHANGE THEM AT ALL!'''</big></big></big></center>
<br><br>
'''SETTINGS - Billing - Servers'''
'''SETTINGS - Billing - Servers'''
=What is Multi Server support?=


With this system, it is possible to manage several Asterisk servers from GUI.
With this system, it is possible to manage several Asterisk servers from GUI.
Line 7: Line 11:
These servers are Asterisk servers which work with calls and BILL them.  
These servers are Asterisk servers which work with calls and BILL them.  


'''NOTE! If you want to connect another Asterisk server which will not bill calls, then configure it as Device/Trunk.'''
=Where to find Multi Server support?=


Database and GUI servers are not described here.
[[File:Asterisk_servers_path.png]]
<br><br>
=How to add a new Asterisk server?=
Go to Asterisk Servers: '''Billing -> Asterisk Servers'''
<br><br>


* '''Gateway''' - determines whether the server acts as a Gateway for SIP Proxy. This option is available only when [[Carrier Class addon]] is enabled. It means that the SIP Proxy will use this server to send calls through.
* '''Gateway''' - determines whether the server acts as a Gateway for SIP Proxy. This option is available only when [[Carrier Class addon]] is enabled. It means that the SIP Proxy will use this server to send calls through.
Line 34: Line 42:




Fill in the required fields and press the marked icon:
<br><br>
[[File:Asterisk_servers_add.png]]
<br><br>
'''NOTE! If you want to connect another Asterisk server which will not bill calls, then configure it as Device/Trunk.'''
<br><br>
<center><big><big><big>'''VERY IMPORTANT! IF YOU HAVE ONLY ONE ASTERISK SERVER OR DO NOT UNDERSTAND WHAT THESE SETTINGS ARE FOR - DO NOT CHANGE THEM AT ALL!'''</big></big></big></center>
<center><big><big><big>'''VERY IMPORTANT! IF YOU HAVE ONLY ONE ASTERISK SERVER OR DO NOT UNDERSTAND WHAT THESE SETTINGS ARE FOR - DO NOT CHANGE THEM AT ALL!'''</big></big></big></center>


Line 41: Line 57:
<br><br>
<br><br>


=== [[Providers]] ===
= [[Providers]] =
 
==Where to find [[Providers | providers]] of a specific Asterisk server?==
 
1. Go to Asterisk Severs
 
2. To get to [[Providers | providers]] list of a specific Asterisk server press the marked icon:
 
 
[[File:Asterisk_servers_providers.png]]
 
This window shows which [[Providers]] are accessible from '''this Server'''.
<br><br>
[[File:Asterisk_servers_providers_list.png]]
 
=Additional Notes=


This window shows which [[Providers]] are accessible from this Server.
* Every Provider can belong to every Server.


Every Provider can belong to every Server.
* It is important to map the correct Providers to the correct servers.


It is important to map the correct Providers to the correct servers.
* Database and GUI servers are not described here.

Revision as of 12:09, 30 July 2010

This functionality is available from MOR 0.7.



VERY IMPORTANT! IF YOU HAVE ONLY ONE ASTERISK SERVER OR DO NOT UNDERSTAND WHAT THESE SETTINGS ARE FOR - DO NOT CHANGE THEM AT ALL!



SETTINGS - Billing - Servers

What is Multi Server support?

With this system, it is possible to manage several Asterisk servers from GUI.

These servers are Asterisk servers which work with calls and BILL them.

Where to find Multi Server support?

Asterisk servers path.png

How to add a new Asterisk server?

Go to Asterisk Servers: Billing -> Asterisk Servers

  • Gateway - determines whether the server acts as a Gateway for SIP Proxy. This option is available only when Carrier Class addon is enabled. It means that the SIP Proxy will use this server to send calls through.
  • Active - determines whether the server is active, e.g. whether MOR should 'talk' to this server in order to update provider/device information. Disabling the server does not disable its use, only the updating of changes from GUI.
  • ID - a unique identifier of a server that should be same as the server_id in mor.conf.
  • Test - click to test the connection to the server over AMI.
  • Hostname most times is equal to Server IP.
  • URL - a special URL for some third-party software, or sometimes for server stats.
  • Type and Comment - just for informational purposes.
  • Max Call Limit - not used for now.
  • AMI Username/AMI Secret - settings to connect to a server over AMI. These are the most important settings in this window! They should match the values in the server /etc/asterisk/manager.conf
  • SSH Username/Password/Port - not used now.


Fill in the required fields and press the marked icon:

Asterisk servers add.png



NOTE! If you want to connect another Asterisk server which will not bill calls, then configure it as Device/Trunk.



VERY IMPORTANT! IF YOU HAVE ONLY ONE ASTERISK SERVER OR DO NOT UNDERSTAND WHAT THESE SETTINGS ARE FOR - DO NOT CHANGE THEM AT ALL!







Providers

Where to find providers of a specific Asterisk server?

1. Go to Asterisk Severs

2. To get to providers list of a specific Asterisk server press the marked icon:


Asterisk servers providers.png

This window shows which Providers are accessible from this Server.

Asterisk servers providers list.png

Additional Notes

  • Every Provider can belong to every Server.
  • It is important to map the correct Providers to the correct servers.
  • Database and GUI servers are not described here.