Skip to content

Commit

Permalink
Changed assets url
Browse files Browse the repository at this point in the history
  • Loading branch information
Fonoster Team committed Dec 23, 2018
1 parent c1c4814 commit 20764ba
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
14 changes: 7 additions & 7 deletions docs/guide-routr-as-asterisk-frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Routr as Asterisk Frontend

This guide explores the use case of using Asterisk merely as a Media Server and a more specialized software, like **Routr**, to take care of the signaling and resource management. In other words, Asterisk will be in charge of the ivrs, voice mail, call recording, while **Routr** deals with connecting Agents, Peers, and Gateways. The following illustration depicts our scenario:

<img src="/assets/images/peering_ilustration.png" width=600 vspace=50>
<img src="/docs/assets/images/peering_ilustration.png" width=600 vspace=50>

**Content**

Expand Down Expand Up @@ -47,22 +47,22 @@ The first file we will examine and change is `config/peers.yml`. Make note of th
Head to the console and run the command `rctl -- get peers` to confirm that the Peer exist. The result should be as follows:

<img src="/assets/images/get_peers_cmd_output.png" width=600 >
<img src="/docs/assets/images/get_peers_cmd_output.png" width=600 >

Next, we focus our attention to `domains.yml` and `agents.yml`. With a fresh installation, we don't need to make any changes to this files. However, you could run the commands `get domains` and `get agents` to ensure that both, the Agent and the Domain, exist on the server. Your output should look similar to:

<img src="/assets/images/get_domains_and_agents.png" width=600 >
<img src="/docs/assets/images/get_domains_and_agents.png" width=600 >

Use the information in `agents.yml` to configure your SIP phone. The relevant information is found in `spec.credentials`. Mine looks like this:

<img src="/assets/images/john_telephone_setup_general.png" width=500 >
<img src="/assets/images/john_telephone_setup_advanced.png" width=500 >
<img src="/docs/assets/images/john_telephone_setup_general.png" width=500 >
<img src="/docs/assets/images/john_telephone_setup_advanced.png" width=500 >

> Make the adjustments based on your prefer SIP phone.

You can verify that your device registered correctly with **Routr** by running the `locate` command:

<img src="/assets/images/locate_john.png" width=600 >
<img src="/docs/assets/images/locate_john.png" width=600 >

## Configuring Asterisk

Expand Down Expand Up @@ -120,7 +120,7 @@ exten => 1001,n,Hangup

Restart your Asterisk and check the location service. A new device will appear.

<img src="/assets/images/locate_john_and_ast.png" width=600 >
<img src="/docs/assets/images/locate_john_and_ast.png" width=600 >

## Calling Asterisk from John's device

Expand Down
6 changes: 3 additions & 3 deletions docs/guide-securing-the-signal.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Follow this guide to secure the signaling between your endpoints and **Routr**.

> For this guide we will use a fictitious domain name to demonstrate the process of securing the signaling path
<img src="/assets/images/secure_signaling.png" width=600 vspace=30>
<img src="/docs/assets/images/secure_signaling.png" width=600 vspace=30>

## Creating a Java Keystore(.JKS) Certificate

Expand Down Expand Up @@ -94,8 +94,8 @@ openssl s_client -host 192.168.1.2 -port 5061 # Remember to use Routr's IP
Go to the account that you want to secure, select `Advanced -> Sip Signaling` and change the parameter `Primary Proxy` to `${proxyHost}:${proxyPort};transport=tls`. See the example in the following image:

<img src="/assets/images/blinkpro_tls_config.png" width=600>
<img src="/docs/assets/images/blinkpro_tls_config.png" width=600>

If everything went well you should see a green padlock like the one in the image bellow:

<img src="/assets/images/blinkpro_tls_secured.png" width=400>
<img src="/docs/assets/images/blinkpro_tls_secured.png" width=400>
10 changes: 5 additions & 5 deletions docs/guide-voip-network-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,26 +121,26 @@ Your output should be as follows:

**Starting the Server**

<img src="/assets/images/starting_server.png" width=600 >
<img src="/docs/assets/images/starting_server.png" width=600 >

**Verifying the Configuration**

<img src="/assets/images/verify_configuration.png" width=600 >
<img src="/docs/assets/images/verify_configuration.png" width=600 >

## Configuring the Sip devices

> We are using "Telephone" for this example. You might use any softphone you wish, just keep in mind that the configuration will look slightly different.

Configure your softphone using the information you gather in the last step. Start by completing only the required information: _username_, _domain_, _password_. Also, In the advanced section use the server's **IP** as your _Registry Server_ and _Proxy_. Here is how mine looks like:

<img src="/assets/images/telephone_config_general.png" width=500>
<img src="/assets/images/telephone_config_advanced.png" width=500>
<img src="/docs/assets/images/telephone_config_general.png" width=500>
<img src="/docs/assets/images/telephone_config_advanced.png" width=500>

> Make sure to check the box "Use this account" to register your device

If everything went well we just need to confirm that both softphones have registered correctly. Conveniently you can use the `.rctl locate` to obtain a list of "online" devices. This may seem like a lot of information. But what's relevant here is that both `1001` and `1002` are present in the location service and therefore can reach each other.

<img src="/assets/images/locate_agents.png" width=600>
<img src="/docs/assets/images/locate_agents.png" width=600>

## Making calls

Expand Down
2 changes: 1 addition & 1 deletion docs/theme/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</style>

<div class="brand-header">
<a href="https://routr.io"><img src="/assets/logo.png" height="45"/></a>
<a href="/"><img src="/docs/assets/logo.png" height="45"/></a>
<ul id="menu">
<li><a href="/contact">Community</a></li>
<li><a href="/contact">About</a></li>
Expand Down
6 changes: 3 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Project information
site_name: Routr Documentation
site_name: Documentation
site_description: Next-generation SIP Server
site_author: Pedro Sanders
site_url: https://routr.io
site_url: https://routr.io/docs

# Repository
repo_name: fonoster/routr
Expand Down Expand Up @@ -46,7 +46,7 @@ theme:
font:
text: Roboto
code: Roboto Mono
favicon: /assets/images/favicon/favicon.ico
favicon: docs/assets/images/favicon/favicon.ico

extra:
social:
Expand Down

0 comments on commit 20764ba

Please sign in to comment.