Difference between revisions of "Multi Server support"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 3: Line 3:
'''SETTINGS - Billing - Servers'''
'''SETTINGS - Billing - Servers'''


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.


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 other Asterisk server which will not bill call - then configure as Device/Trunk.'''
'''NOTE! If you want to connect another Asterisk server which will not bill calls, then configure it as Device/Trunk.'''


Database and GUI servers are not described here.
Database and GUI servers are not described here.


* '''Gateway''' - determines if server acts as Gateway for SIP Proxy. This option is available only when [[Carrier Class addon]] is enabled. It means that 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.


* '''Active''' - determines if server is active - e.g. if MOR should 'talk' to this server in order to update provider/device information. Disabling server does not disables it's use, only the updating of changes from GUI.
* '''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''' - unique identifier of server which should be same as server_id in '''mor.conf'''
* '''ID''' - a unique identifier of a server that should be same as the server_id in '''mor.conf'''.


* '''Test''' - press to test connection to the server over AMI
* '''Test''' - click to test the connection to the server over AMI.


* '''Hostname''' most times is equal to '''Server IP'''
* '''Hostname''' most times is equal to '''Server IP'''.


* '''URL''' - special URL for some third-party software, sometimes for server stats
* '''URL''' - a special URL for some third-party software, or sometimes for server stats.


* '''Type''' and '''Comment''' - just for informational purposes
* '''Type''' and '''Comment''' - just for informational purposes.


* '''Max Call Limit''' - not used for now
* '''Max Call Limit''' - not used for now.


* '''AMI Username/AMI Secret''' - settings to connect to that server over AMI - most important settings in this window! Should match values in servers' /etc/asterisk/manager.conf
* '''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


* '''SIP Port''' - on which port Asterisk listens to SIP, used in [[MOR Carrier Class]]
* '''SIP Port''' - the port Asterisk uses to listen to SIP; used in [[MOR Carrier Class]].


* '''SSH Username/Password/Port''' - not used now
* '''SSH Username/Password/Port''' - not used now.




<center><big><big><big>'''VERY IMPORTANT! IF YOU HAVE ONLY 1 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 47: Line 47:
Every Provider can belong to every Server.
Every Provider can belong to every Server.


It is important to map correct Providers to correct servers.
It is important to map the correct Providers to the correct servers.

Revision as of 08:03, 2 May 2010

This functionality is available from MOR 0.7

SETTINGS - Billing - Servers

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.

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

Database and GUI servers are not described here.

  • 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.


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

This window shows which Providers are accessible from this Server.

Every Provider can belong to every Server.

It is important to map the correct Providers to the correct servers.