You are on page 1of 11

How to config P2P between FXO and FXS

Dinstar Technologies Co., Ltd.


Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District,
Shenzhen, China 518057
Telephone: +86 755 6130 2265
Fax:
Emails:

+86 755 2645 6659


sales@dinstar.com, support@dinstar.com

Website: www.dinstar.com

Contents

1. Overview........................................................................................................................3
2. ConfigurateDAG4S.......................................................................................................4
2.1

ConfiguratethePort...................................................................................................4

2.2

ConfigthePortGroup................................................................................................5

2.3

ConfigtheIPTrunk.....................................................................................................5

2.4

Tel>IP/TelRouting.....................................................................................................6

2.5

IP>TelRouting...........................................................................................................7

3. ConfigDAG4O...............................................................................................................8
3.1

ConfigthePort...........................................................................................................8

3.2

ConfigthePortGroup................................................................................................9

3.3

ConfigtheIPTrunk.....................................................................................................9

3.4

Tel>IP/TelRouting...................................................................................................10

3.5

IP>TelRouting.........................................................................................................11

1. Overview

This is a typical network diagram of DAG-4O working with DAG-4S Peer to Peer
without SIP Server.
When the user of DAG-4S want to make call to PSTN. The DAG-4S will send the
calls to DAG-4O via SIP Trunk, and the DAG-4O send the calls to PSTN through
any one port thats free.
When the call from PSTN to DAG-4O port0, should transfer the call to DAG-4S
port0 directly, same with Port1, Port2, Port3.
In this document, I will teach you how to configurate the DAG-4O and DAG-4S.
Convention :
The IP of DAG-4O is: 172.16.0.106
The IP of DAG-4S is: 172.16.0.101
The DAG-4O version is: 2.11.05.03
The DAG-4S version is: 2.11.05.03
The DAG-4O sip account is: 200/201/202/203
The DAG-4S sip account is: 100/101/102/103

2. Configurate DAG-4S
2.1

Configurate the Port

Open the follow navigation Port to configurate the account for each port.

I add a account 100 in it. you can dial the PSTN number directly. I add other
accounts 101, 102, 103 also.

2.2

Config the Port Group

Open the follow navigation Port Group to add a port group.

I make a port group name AllFXS, the account Im input it as FXS.


And selected all FXS ports in this port group.

2.3

Config the IP Trunk

Open the follow navigation IP Trunk to add a IP Trunk.

I make the Description to TrunkToFXO and Remote Adress to 172.16.0.106


(the FXO-4Os IP), the Remote Port to 5060.
Note: if you use IP trunk, need not use SIP Server.

2.4

Tel->IP/Tel Routing

Open the follow navigation Tel->IP/Tel Routing to modify the rule.

I modify the Calls from to Port Group and choose the AllFXS that we had done
before. The Caller Prefix and Callee Prefix input any both. The Calls to field
enable IP Trunk and choose TrunkToFXO

2.5

IP->Tel Routing

Open the follow navigation IP-> Tel Routing to add a new rule.

I Make the Calls From field IP Trunk option is enable and choose TrunkToFXO.
The Caller Prefix and Callee Prefix input any both. The Calls to field enable
Port Group and choose AllFXS.

3. Configurate DAG-4O
3.1

Configurate the Port

Open the follow navigation Port to configurate the ports.

I add a account 200 in it. In Offhook Auto-Dial field, I input the DAG-4S port0
account 100. The Auto-Dial Delay Time input 0. Means when the DAG-4O
port0 offhook, will auto dial the DAG-4S port0. then the call will autu to
DAG4-4S port0 directly.
I add other accounts 201, 202, 203 also.

3.2

Config the Port Group

Open the follow navigation Port Group to add a port group

I make a port group name AllFXO, the account fields input FXO.
And selected all FXO ports in this port group.

3.3

Config the IP Trunk

Open the follow navigation IP Trunk to add a IP Trunk.

I make the Description to TrunkToFXS and Remote Adress to 172.16.0.101


(the FXO-4Ss IP), the Remote Port to 5060.
Note: if you use IP trunk, need not use SIP Server.

3.4

Tel->IP/Tel Routing

Open the follow navigation Tel->IP/Tel Routing to modify the rule.

I modify the Calls from to Port Group and choose the AllFXO that we had
added before. The Caller Prefix and Callee Prefix input any both. The Calls to
field enable IP Trunk and choose TrunkToFXS in the combox.

3.5

IP->Tel Routing

Open the follow navigation IP-> Tel Routing to add a new rule.

I Make the Calls from field IP Trunk option is slected and choose TrunkToFXO.
The Caller Prefix and Callee Prefix input any both. The Calls to field selected
Port Group and choose AllFXO in combox list.

You might also like