Khomp K1E1 SPX and Elastix Server Setup Guide · 2018. 11. 6. · Khomp K1E1 SPX and Elastix Server...

11
Khomp http://www.elastix.org K1E1 SPX and Elastix Setup x Server p Guide

Transcript of Khomp K1E1 SPX and Elastix Server Setup Guide · 2018. 11. 6. · Khomp K1E1 SPX and Elastix Server...

Page 1: Khomp K1E1 SPX and Elastix Server Setup Guide · 2018. 11. 6. · Khomp K1E1 SPX and Elastix Server Setup Guide 4 4. Once inside, click on the down arrow located next to “Reports”

http://www.elastix.org

Khomp K1E1 SPX and Elastix Server

Setup Guide

http://www.elastix.org

Khomp K1E1 SPX and Elastix Server

Setup Guide

http://www.elastix.org

Khomp K1E1 SPX and Elastix Server

Setup Guide

Page 2: Khomp K1E1 SPX and Elastix Server Setup Guide · 2018. 11. 6. · Khomp K1E1 SPX and Elastix Server Setup Guide 4 4. Once inside, click on the down arrow located next to “Reports”

PaloSanto SolutionsKhomp K1E1 SPX and Elastix Server Setup Guide

2

1.0 Setup DiagramFigure 1-1 is a setup diagram for a single Khomp K1E1 SPX configuration.

Figure 1-1. Setup Diagram

2.0 Host PC EnvironmentTable 2-1. Host Server Environment Details

DescriptionHardware Type Elastix Appliance ELX-Series

Hardware Version ELX-3000Software Type Elastix

Software Version 2.33.0 Test Setup EquipmentTable 3-1. Test Setup Equipment

Equipment Model VersionIP (SIP) Phone N/A N/A

Khomp K1E1 SPX chan_khomp_beta-4.1-12Switch N/A N/A

PaloSanto SolutionsKhomp K1E1 SPX and Elastix Server Setup Guide

2

1.0 Setup DiagramFigure 1-1 is a setup diagram for a single Khomp K1E1 SPX configuration.

Figure 1-1. Setup Diagram

2.0 Host PC EnvironmentTable 2-1. Host Server Environment Details

DescriptionHardware Type Elastix Appliance ELX-Series

Hardware Version ELX-3000Software Type Elastix

Software Version 2.33.0 Test Setup EquipmentTable 3-1. Test Setup Equipment

Equipment Model VersionIP (SIP) Phone N/A N/A

Khomp K1E1 SPX chan_khomp_beta-4.1-12Switch N/A N/A

PaloSanto SolutionsKhomp K1E1 SPX and Elastix Server Setup Guide

2

1.0 Setup DiagramFigure 1-1 is a setup diagram for a single Khomp K1E1 SPX configuration.

Figure 1-1. Setup Diagram

2.0 Host PC EnvironmentTable 2-1. Host Server Environment Details

DescriptionHardware Type Elastix Appliance ELX-Series

Hardware Version ELX-3000Software Type Elastix

Software Version 2.33.0 Test Setup EquipmentTable 3-1. Test Setup Equipment

Equipment Model VersionIP (SIP) Phone N/A N/A

Khomp K1E1 SPX chan_khomp_beta-4.1-12Switch N/A N/A

Page 3: Khomp K1E1 SPX and Elastix Server Setup Guide · 2018. 11. 6. · Khomp K1E1 SPX and Elastix Server Setup Guide 4 4. Once inside, click on the down arrow located next to “Reports”

PaloSanto SolutionsKhomp K1E1 SPX and Elastix Server Setup Guide

3

4.0 Setup ProcedureTo set up the Elastix Server for the Khomp K1E1 SPX,1. Go to the web address of the Elastix Server Login page. The web address isdetermined by the customer, for this guide we have used the IP address 192.168.1.75

2. On the Login page, type the username and password for an administrative user intothe Username and Password fields, see Figure 4-1. The username and password aredetermined by the customer.

Figure 4-1. Login

3. Press Enter or click on the Submit button to go to Elastix’s Dashboard

Figure 4-2. Dashboard

Page 4: Khomp K1E1 SPX and Elastix Server Setup Guide · 2018. 11. 6. · Khomp K1E1 SPX and Elastix Server Setup Guide 4 4. Once inside, click on the down arrow located next to “Reports”

PaloSanto SolutionsKhomp K1E1 SPX and Elastix Server Setup Guide

4

4. Once inside, click on the down arrow located next to “Reports” tab and select“Addons”. This will take you to the Addon Market. See Figure 4-3.

Figure 4-3

5. In the Addon Market, type “khomp” into the name field to find Channel KhompAddon and click on Install. The installation will take few minutes. See figure 4-4.

Figure 4-4. Addon Market

6. When installation has finished, click again on the down arrow next to “Reports” taband a Khomp option must be listed. (Figure 4-5).

Figure 4-5.

7. Click on Khomp option. This will take you to the Khomp module (Figure 4-6)

Figure 4-6. Khomp Module

Page 5: Khomp K1E1 SPX and Elastix Server Setup Guide · 2018. 11. 6. · Khomp K1E1 SPX and Elastix Server Setup Guide 4 4. Once inside, click on the down arrow located next to “Reports”

PaloSanto SolutionsKhomp K1E1 SPX and Elastix Server Setup Guide

5

8. To find your Khomp devices automatically, click on “Search” button. You will see alist of connected devices. To configure click on the corresponding check box of themodel and click on “Add” button. See figure 4-7.

Figure 4-7. Khomp Module – General configuration

9. After few seconds you will see the found devices as shown in figure 4-8. Toconfigure it click on the model that appears with blue letters.

Figure 4-8. Khomp Module – General configuration

10. In this section we can choose the correct signaling for having communication withthe provider. For this example we will configure E1 as a TE port, it means we willreceive the clock signal from ISDN provider. Set the following parameters (Figure 4-9):

Synchronism (clock): Receive Profile: ISDN

Note: If you need to generate clock and configure the port as NT, you should select“Generate” in Synchronism field and “ISDNNetwork” in Profile.

PaloSanto SolutionsKhomp K1E1 SPX and Elastix Server Setup Guide

5

8. To find your Khomp devices automatically, click on “Search” button. You will see alist of connected devices. To configure click on the corresponding check box of themodel and click on “Add” button. See figure 4-7.

Figure 4-7. Khomp Module – General configuration

9. After few seconds you will see the found devices as shown in figure 4-8. Toconfigure it click on the model that appears with blue letters.

Figure 4-8. Khomp Module – General configuration

10. In this section we can choose the correct signaling for having communication withthe provider. For this example we will configure E1 as a TE port, it means we willreceive the clock signal from ISDN provider. Set the following parameters (Figure 4-9):

Synchronism (clock): Receive Profile: ISDN

Note: If you need to generate clock and configure the port as NT, you should select“Generate” in Synchronism field and “ISDNNetwork” in Profile.

PaloSanto SolutionsKhomp K1E1 SPX and Elastix Server Setup Guide

5

8. To find your Khomp devices automatically, click on “Search” button. You will see alist of connected devices. To configure click on the corresponding check box of themodel and click on “Add” button. See figure 4-7.

Figure 4-7. Khomp Module – General configuration

9. After few seconds you will see the found devices as shown in figure 4-8. Toconfigure it click on the model that appears with blue letters.

Figure 4-8. Khomp Module – General configuration

10. In this section we can choose the correct signaling for having communication withthe provider. For this example we will configure E1 as a TE port, it means we willreceive the clock signal from ISDN provider. Set the following parameters (Figure 4-9):

Synchronism (clock): Receive Profile: ISDN

Note: If you need to generate clock and configure the port as NT, you should select“Generate” in Synchronism field and “ISDNNetwork” in Profile.

Page 6: Khomp K1E1 SPX and Elastix Server Setup Guide · 2018. 11. 6. · Khomp K1E1 SPX and Elastix Server Setup Guide 4 4. Once inside, click on the down arrow located next to “Reports”

PaloSanto SolutionsKhomp K1E1 SPX and Elastix Server Setup Guide

6

Figure 4-9. Device Configuration

11. After setting the parameters click on “Save” button. Now you need to restartk3lserver and asterisk service. Open a ssh session to enter to Elastix command line.You can do it directly from your Elastix server as well. After login, type the followingcommands (Figure 4-10):

a. Stop Asterisk serviceservice asterisk stop

b. Stop k3lserver serviceservice k3lserver stop

c. Start k3lserver serviceservice k3lserver start

d. Start Asterisk serviceservice asterisk start

Figure 4-10. Console

Page 7: Khomp K1E1 SPX and Elastix Server Setup Guide · 2018. 11. 6. · Khomp K1E1 SPX and Elastix Server Setup Guide 4 4. Once inside, click on the down arrow located next to “Reports”

PaloSanto SolutionsKhomp K1E1 SPX and Elastix Server Setup Guide

7

12. Go back to Elastix Web Interface, click on “Monitoring => Devices”. Here you cansee the status of the Khomp device and some information. Check the status is shown asUP (Figure 4-11)

Figure 4-11. Monitoring - Devices

13. Here you can check the status of the device, the ID of the board, the ID of the link(port) and other details.

14. Once we have configured the K1E1 SPX, we’ll create an incoming route for thecalls from PSTN to our E1 port. We’re going to use an IVR for incoming calls but firstlet’s create a SIP extension that will be one of the IVR options. For this go to “PBX =>PBX Configuration => Extension”. Click on “Submit” having selected the “Generic SIPDevice” option. (Figure 4-12)

Figure 4-12. SIP Extension

15. Fill in the following information on the Add SIP Extension page (Figure 4-13):

• User Extension: (302 in this example)• Display Name: (‘IPPhone’ in this example)• Secret: (‘h7Dka3Rf9si0t’ in this example)

Page 8: Khomp K1E1 SPX and Elastix Server Setup Guide · 2018. 11. 6. · Khomp K1E1 SPX and Elastix Server Setup Guide 4 4. Once inside, click on the down arrow located next to “Reports”

PaloSanto SolutionsKhomp K1E1 SPX and Elastix Server Setup Guide

8

Figure 4-13. Add SIP Extension

16. Click on “Submit” button located at the end of the page and apply changes byclicking on the Apply Changes link that will appear on the top of the page. Figure 4-14

Figure 4-14.

17. Now, go to “PBX => PBX Configuration => IVR”. Click on “Add IVR” link(Figure 4.15). Set the following:

Name: Name of IVR (WelcomeIVR in this example) Announcement: Voice prompt which will be played for incoming calls. Options:

o * - Phone book.o 0 - 302 Extensiono t - Repeat the options of IVR (Add this option by modifying the IVR

after creation)

PaloSanto SolutionsKhomp K1E1 SPX and Elastix Server Setup Guide

8

Figure 4-13. Add SIP Extension

16. Click on “Submit” button located at the end of the page and apply changes byclicking on the Apply Changes link that will appear on the top of the page. Figure 4-14

Figure 4-14.

17. Now, go to “PBX => PBX Configuration => IVR”. Click on “Add IVR” link(Figure 4.15). Set the following:

Name: Name of IVR (WelcomeIVR in this example) Announcement: Voice prompt which will be played for incoming calls. Options:

o * - Phone book.o 0 - 302 Extensiono t - Repeat the options of IVR (Add this option by modifying the IVR

after creation)

PaloSanto SolutionsKhomp K1E1 SPX and Elastix Server Setup Guide

8

Figure 4-13. Add SIP Extension

16. Click on “Submit” button located at the end of the page and apply changes byclicking on the Apply Changes link that will appear on the top of the page. Figure 4-14

Figure 4-14.

17. Now, go to “PBX => PBX Configuration => IVR”. Click on “Add IVR” link(Figure 4.15). Set the following:

Name: Name of IVR (WelcomeIVR in this example) Announcement: Voice prompt which will be played for incoming calls. Options:

o * - Phone book.o 0 - 302 Extensiono t - Repeat the options of IVR (Add this option by modifying the IVR

after creation)

Page 9: Khomp K1E1 SPX and Elastix Server Setup Guide · 2018. 11. 6. · Khomp K1E1 SPX and Elastix Server Setup Guide 4 4. Once inside, click on the down arrow located next to “Reports”

PaloSanto SolutionsKhomp K1E1 SPX and Elastix Server Setup Guide

9

Figure 4-15. IVR

18. Click on “Save” and Apply changes by clicking on the pink ribbon that appears atthe top of the page. Now go to “PBX => PBX Configuration => Inbound Routes”. Clickon “Add Incoming Route” link (Figure 4.16). Set the following:

Description: Name of inbound route (“Incoming_Calls” in this example) Set destination: Where the call will be routed. (“WelcomeIVR” IVR in this

example)

Figure 4-16. Incoming Route

19. Click on “Submit” and apply changes. Now when we receive calls the“WelcomeIVR” IVR will be played to the caller giving him choices to interact withElastix Server.

20. We will also configure an Outbound Route for outgoing calls depending on a prefix.For this we have to configure a Custom Trunk in Elastix Server. Go to “PBX => PBXConfiguration => Trunks”. Click on “Add Custom Trunk” link (Figure 4-17).

PaloSanto SolutionsKhomp K1E1 SPX and Elastix Server Setup Guide

9

Figure 4-15. IVR

18. Click on “Save” and Apply changes by clicking on the pink ribbon that appears atthe top of the page. Now go to “PBX => PBX Configuration => Inbound Routes”. Clickon “Add Incoming Route” link (Figure 4.16). Set the following:

Description: Name of inbound route (“Incoming_Calls” in this example) Set destination: Where the call will be routed. (“WelcomeIVR” IVR in this

example)

Figure 4-16. Incoming Route

19. Click on “Submit” and apply changes. Now when we receive calls the“WelcomeIVR” IVR will be played to the caller giving him choices to interact withElastix Server.

20. We will also configure an Outbound Route for outgoing calls depending on a prefix.For this we have to configure a Custom Trunk in Elastix Server. Go to “PBX => PBXConfiguration => Trunks”. Click on “Add Custom Trunk” link (Figure 4-17).

PaloSanto SolutionsKhomp K1E1 SPX and Elastix Server Setup Guide

9

Figure 4-15. IVR

18. Click on “Save” and Apply changes by clicking on the pink ribbon that appears atthe top of the page. Now go to “PBX => PBX Configuration => Inbound Routes”. Clickon “Add Incoming Route” link (Figure 4.16). Set the following:

Description: Name of inbound route (“Incoming_Calls” in this example) Set destination: Where the call will be routed. (“WelcomeIVR” IVR in this

example)

Figure 4-16. Incoming Route

19. Click on “Submit” and apply changes. Now when we receive calls the“WelcomeIVR” IVR will be played to the caller giving him choices to interact withElastix Server.

20. We will also configure an Outbound Route for outgoing calls depending on a prefix.For this we have to configure a Custom Trunk in Elastix Server. Go to “PBX => PBXConfiguration => Trunks”. Click on “Add Custom Trunk” link (Figure 4-17).

Page 10: Khomp K1E1 SPX and Elastix Server Setup Guide · 2018. 11. 6. · Khomp K1E1 SPX and Elastix Server Setup Guide 4 4. Once inside, click on the down arrow located next to “Reports”

PaloSanto SolutionsKhomp K1E1 SPX and Elastix Server Setup Guide

10

Figure 4-17. Trunks

21. On the Add Custom Trunk page, set the following (Figure 4-18):

Trunk Name: A name for the trunk (“Khomp_Trunk” in this example) Custom Dial String: khomp/b0L0/$OUTNUM$ in this example

b0: It refers the ID of the device. In this case is 0L0: It refers the link number (port) of the device. In this case is 0Note: You can find the ID and Link number on Figure 4-11.

Figure 4-18. Custom Trunk

22. Click on “Submit Changes” and apply changes. Go to “PBX => PBX Configuration=> Outbound Routes”. Click on “Add Route” link (Figure 4-19). Set the following:

Page 11: Khomp K1E1 SPX and Elastix Server Setup Guide · 2018. 11. 6. · Khomp K1E1 SPX and Elastix Server Setup Guide 4 4. Once inside, click on the down arrow located next to “Reports”

PaloSanto SolutionsKhomp K1E1 SPX and Elastix Server Setup Guide

11

Route Settings

Route Name (“9_Outside_Test” in this example)Dial patterns

Prefix (“9” in this example) | Match pattern: (“.” in this example)Trunk Sequence for Matched Routes

0: The trunk that we just created (“Khomp_Trunk” in this example)

Figure 4-19. Outbound Route

23. Configure the IP (SIP) Phone with the correct parameters (See figure 4.13). Nowyou can make calls to the PSTN using the K1E1 SPX by calling a telephone numberwith “9” as prefix. This step completes the procedure of configuration.