MSS trunk service
MyVoipApp Support Team
Support@myvoipapp.com
1. Introduction
MSS supports flexible configurations for our customers. Almost everything can be configured, such as SIP port. But in some countries or special environments, our customers hope MSS can provide a powerful function to break barriers and roadblocks for kinds of reasons.
Now, we provide "MSS trunk"! "MSS trunk" is an inner protocol in MSS. It can support relaying SIP signal and media streams. In another hand, MSS embedded a simple STUN protocol for "MSS trunk"! With MSS, it is very easy to breaking any barriers.
Following sections describes how to configure "MSS trunk" in a demo network.
2. Demo network

Holly and Gilson in the same company and they hope to establish VOIP communication with each other. Holly lives in A.E and Gilson lives in U.S.A. But in A.E, SIP port is blocked and ISP even filtered SIP messages according to their contents.
In this case, Holly and Gilson have following requirements:
- The VOIP network shall support SIP since they have bought some SIP phones.
- Two offices in U.S.A and A.E should be connected by Internet.
Then, we use MSS trunk to deploy this network as above figure. In our deployment, two MiniSipServer, MSS1 and MSS2, are deployed in U.S.A and A.E. In above figure, it looks like that they will be connected directly by MSS trunk. In fact, MSS trunk is based on UDP and can be transported on Internet.
In the network, MSS1 is in A.E and its domain name is "holly.myvoipapp.com" and MSS2 is in U.S.A and its domain name is "gilson.myvoipapp.com".
- If your public IP address is dynamic, we suggest you to try DynDNS.
- If your MSS is behind NAT, please map related ports in your router to make them can be visited from Internet.
In Holly's office, the users' number has the prefix '1', such as 100, 101 and so on. In Gilson's office, the users' number has the prefix '2', such as 200,201 and so on. In this document, we don't mention how to register local SIP phone to MSS and please refer to MSS' manual document.
3. Configuration
Following details will be configured:
- Peer server. This configure will let MSS to route the call to each other.
- Dialing plan. Dialing plan will indicate MSS which calls should be routed to peer MSS.
You will see it is very easy to deploy MSS trunk.
3.1 Peer server
Click menu "Data->Peer Servers" to show peer server. In the pop up window, click 'Add' menu to add a peer server.

Following table describes the details about two MSS.
|
Item |
MSS1 |
MSS2 |
|
Peer server ID |
1 |
1 |
|
Server IP address |
gilson.myvoipapp.com1 |
holly.myvoipapp.com |
|
Server port |
6060 |
6060 |
In above configuration, 6060 is the default signal port of MSS trunk. It can be configured too. If you want to change this port, please click menu "Data->System information" and click "MSS trunk" tab in the popup window.

- In MSS, if you modified the item which is marked with '*', you should restart MSS to enable it.
3.2. Dialing plan
Click menu "Dialing plan->Called number analysis" to show "Called number analysis information" window and click button 'Add' to add our record to route the call. In following figure, we describe how to configure it to route call from Gilson to Holly since Holly's prefix is "1".

The table below describes the details in both MSS.
|
Item |
MSS1 |
MSS2 |
|
Called predix |
2 |
1 |
|
Route type |
MSS trunk |
MSS trunk |
|
Peer Server ID |
1 |
1 |
Note, the 'Peer server ID' is based on the configuration of 'Peer server' which is described in section '3.1 Peer server'