How to Backup and Restore a ScopTEL PBX

You can configure a regular backup schedule to ensure that you have a copy of your all your ScopServ configuration, Voicemail and Call Reports (CDR/ACD/IVR). Backups can be stored on the file system, on a remote FTP or SSH server, burn to a CD/DVD or be sent by Email. We also support  full and incremental backup for most medias and files can be compressed as ZIP, TGZ or ISO files.

You can also restore a previous backup, in case of data loss or a major configuration fault.

 

Create a new Backup Schedule

To create a new backup schedule, simply open the ScopServ GUI and go on Server -> Backup and click on Add a new Backup.

We recommend to give this backup a friendly name (e.g. “Daily”, “Reports” or “Voicemail”)  to accurately identify what you’re backing up, this will make future restores easier.

On the Modules tab, you can select which modules (Server, Telephony, etc) and options (Configuration, reports, Voicemail, Provisioning Files, etc) to include in this backup. Please note that some options like Voicemail messages, Music-On-Hold (MOH) or Record/Monitor sound files could seriously increase the size of your backups because you are backing up potentially large audio files.

It is highly recommended to do external backups using the SYNC method.  Local backups can use all available disk space and affect call processing.  SYNC Incremental backups avoid file size restrictions by most compression algorithms.

You can configure your own schedule on the Scheduler tab using the Hours, Minutes and Weekdays select boxes.

Backup Configuration

Restore from Backup

In order to restore a previously generated backup, you must go on Server -> Backup and click on the Restore button.  You will need to specify the source of the backup (e.g. from an FTP server or local files). Once ready, simply click on the Restore button on the bottom of the popup window.

Restore from Backup

 

If no errors are encounter during the restore then all data included on the backup will be instantly visible on the GUI.

Module 17 - ScopTEL - Backup and Restore

There are additional options to do backup and restore using Putty and WinSCP

Module 18 - ScopTEL - Backup_Restore Using Putty_WinSCP

 

Read More

How to establish a SIP trunk between ScopTEL IP PBX and VoIP provider B2B2C

We will see in this article how to configure a Scopserv system so it can communicate with Montreal based SIP trunk provider, B2B2C.

Two steps are required in order to use an external link, and two other steps are optional:

Creation of a VoIP Account
Creation of an incoming line (optional)
Creation of an outgoing line (optional)
Update of the appropriate Class of Service (CoS)

Creation of the VoIP Account

In the Telephony -> Interface menu , in the VoIP Account TAB, click on ‘Add New VoIP Account ‘

General Tab:  Create a SIP trunk type Ami. name the instance B2B2C.
Server Tab:     Specify the server address in the box B2B2C Host / IP, the host mode is set to specific. If you have a username and password, specify it. Register as a user agent is optional.
Network Tab: Check boxes: Trunk behind a Nat, Unsecure Port and Invites (required for incoming calls), and Qualifier
Options Tab:  Automatic Mode DTMF (RFC2833/Inband)

Save configuration.

Creation of incoming line

In the menu Telephony –> Lines, incoming line Tab, click  ‘Add a new line’

General tab: Type Post (DNIS), Indicate in the box Post the phone number assigned to you.
Destination tab: Select the desired destination, such a position.
Options tab: Select the trunk created in the previous step, in this case B2B2C.

Save configuration.

Creation of an outgoing line

In the menu Telephony –> Lines,  outgoing line Tab, click  ‘Add a new line ‘

General tab: Name your line, for example B2B2C B2B2C and enter the trunk.
Dial String tab: Simply put in first, choose a custom dial string and enter ‘X’. This configuration is not adequate but to validate the operation.
Caller ID tab: Click Force the outgoing caller ID, and specify your main phone number and the name of the company. This is mandatory.

Save configuration

Update the Class of Service (CoS)

In the menu Telephony –> Manager, Class of Service Tab, choose the Class of Service where you have defined your internal extensions.

Outgoing Lines tab:  Either you check the ‘Allow all outgoing lines’ or you include the B2B2C line in the list authorized lines.

Save configuration

 

NOTE: You need to register every 3600 seconds with this supplier. This parameter can be changed in the menu Configuration –> Channels –> SIP Channel Tab, under the SIP Option section.

Max length of incoming registration : 3600
Default length of incoming/outgoing registration : 120

There you go… The only thing left is to validate the configuration and make tests.

Thank you and have a great day !!!

Read More

Installing Old Packages from the Repository

We may need to install some old packages such as the Asterisk version in your ScopTEL PBX server. Let’s use installing a older version of Asterisk 1.8 as the example to introduce how to install old packages from the repository using yum.

By now, suppose we have install asterisk18-1.8.12.0 in the server  and we want to install some older version available in the repository.

First find out all the asterisk18 packages  in the repository by:

[note color=”#ddd”] # scopserv_yum list –showduplicates asterisk18[/note]

All the Asterisk 1.8.x packages will be listed like this:

[note color=”#ddd”] Installed Packages

asterisk18.x86_64             1.8.12.0-1.el5.scopserv                      installed

Available Packages
asterisk18.x86_64             1.8.4-3.el5.scopserv                          scopserv
asterisk18.x86_64             1.8.10.0-1.el5.scopserv                      scopserv
asterisk18.x86_64             1.8.11.0-4.el5.scopserv                      scopserv
asterisk18.x86_64             1.8.11.1-1.el5.scopserv                       scopserv
asterisk18.x86_64             1.8.12.0-1.el5.scopserv                      scopserv[/note]

We find out that 1.8.10.0 package is available. We can install it now:

[note color=”#ddd”] # rpm -e –nodeps asterisk18

# scopserv_yum install asterisk18-1.8.10.0-1.el5.scopserv[/note]

Then “scopserv_yum” will install the older version. For other packages, the method is similar with asterisk18. We just need to replace asterisk18 with the package name above.

Read More

Important Security settings when using Class of Service (CoS)

Class of Service (CoS) is where you configure permissions for extensions, incoming lines, applications, features codes, outgoing lines, etc. It very important to properly configure each Class of Service, because this is where all validation for routing is done (examples: if an incoming line,  extension, or if an outgoing line route exists)

To add, modify or delete a Class of Service, login to the ScopServ GUI, and click on Telephony -> Manager- > Class of Services

In each Class of Service, you have different sections where you can set different permissions.

On the Services tab, you can specify which feature code(s)  (Voicemail, Agent Login, Call Forward, DND, etc.) are available. It is not recommended to use the ‘All Features’ option when the Class of Service is used by an “untrusted” source. So if the users that will use this Class of Service do not need full access then do not check the ‘All Features’ option and instead select individual features codes that will be available.

On the Applications tab, you can specify which applications (created on Applications -> Application) are available. It is not recommended to use the ‘All Applications’ option when the Class of Service is used by an “untrusted” source. If you check ‘All Applications ‘ and have a custom application that executes a “sensitive” task (example: turn off the alarm system) then this is a major security risk, this is why you must select individual permissions.

On the Local Extensions tab, you can specify which extensions are reachable. If you want all extensions to be available for users that use this Class of Service, then simply check the ‘ All Extension ‘ option. If you want to restrict the ability to reach some local extensions then select a list of allowed local extensions.

On the Outgoing Lines tab, you specify which outgoing lines you want to be reachable. You can set the line priority (examples: 011X must be defined before X. else 011X will never be reachable). If some users need access only to local/national calls but must not be able to make international calls, or be restricted to use specific trunks, then the Outgoing Lines tab is used to select individual outgoing lines.

On the Miscellaneous tab, you can set miscellaneous options like Agent or Hotdesk restrictions. It is also possible to include others permissions (Class of Services) by selecting one or more contexts.  The option ‘Include other permissions’ allows to include others permissions in order to create group like Class of Service objects. This is useful to create a Class of Service that will include a hierarchy of other Class of Service objects.

Class of Services can be used in different places like Interfaces (VoIP Account, Digital, Analog) to lookup destinations. They can also be used on Extensions to specify which permissions the extension will have (examples: can the extension reach Voicemail or disable DND). They can also be used on an Auto Attendant (IVR) menu to lookup a key pressed by a user so it is very important to ensure that everything is properly configured.

For example: if you configure an Auto Attendant (IVR) to use a Class of Service that has access to all services, then any person that reaches the IVR will be able to execute any inherited service such as *888 to spy on extensions, or dial *78 to set a CallForward, or reach DISA, or dial any included feature, and etc. So ensure that an IVR does not have access to Class of Services with excessive permissions else major security holes can exist in the configuration.

In summary it is very important to properly configure Class of Services to restrict access permissions to a user.

Read More

How to install ScopServ Telephony Server

If you want to use a computer as Telephony Server then you need to install ScopTEL IP Telephony software on the computer. In a simple Linux distribution, you will have all software needed to setup a PBX will be automatically installed, including Asterisk 1.4 and 1.8, DAHDI, Wanpipe and others dependencies.

Installing from ScopServ installation disk

To get the lastest ScopServ installation disk (ISO Image), please visit http://download.scopserv.com/iso/ and download proper ISO according to your system architecture (32 bit / 64 bit). The latest version available, at time of writing, is ScopServ 2.5, that is based on CentOS 5.8.

Once you have downloaded the lastest ScopServ Installation disk (ISO image), you need to burn the ScopServ installation disk (ISO Image) on a CD-Rom disk, put the disk on the server CD-Rom drive, boot-it and follow on-screen instructions.

After installing the ScopTEL IP Telephony software, you need to log into another computer on the LAN, and access the GUI of ScopServ Telephony Server using a Web browser, such as Internet Explorer and Firefox.

To access the GUI, you need to provide the IP address of the computer on which you have installed the ScopTEL IP Telephony software. On providing the correct IP address, the login page of ScopServ Telephony Server appears.

NOTE: The IP address must be followed by the port number. For example, if the IP address is 192.168.0.100 then you need to type the following address in the Web browser: http://192.168.0.100:5555.  The default username and password is set to “admin”.

Getting started with ScopServ

Once you are logged into the ScopServ GUI, I highly recommand to execute the “Configuration Wizard” available on the sidebar menu, this will create all basic Server, Network and Telephony configurations.

Now that the initial configurations is done, it time to create a Class of Services, this one allow you to control what a phone extension can do (ex. Voicemail, Call Parking, Local/National/International Calls, etc). On the GUI, go to Telephony -> Manager -> Class of Services and create a new one (ex. default) and set the Services, Applications and Lines that you want this Class of Services have access.

To made a simple setup, you can create two (2) new SIP extensions from Telephony ->Extensions -> Phones and click on the Commit button visible on the top right corner to generate Asterisk configurations files.

Now you are ready to test dialing between your new extensions !

Module 3 - ScopTEL - Server Installation Wizard
Read More