a0016_how to config p2p between fxo and fxs

Upload: asad-mahmood

Post on 06-Jul-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/17/2019 A0016_How to Config P2P Between FXO and FXS

    1/11

     

    How to config P2P between FXO and FXS 

    D i n s t a r T e c h n o l o g i e s Co . , L t d . 

    Address: Floor 6, Guoxing Building, Changxing Road, Nanshan District,

    Shenzhen, China 518057 

    Telephone: +86 755 6130 2265

    Fax:  +86 755 2645 6659

    Emails: [email protected], [email protected]

    Website: www.dinstar.com 

  • 8/17/2019 A0016_How to Config P2P Between FXO and FXS

    2/11

    Contents 

    1.  Overview ........................................................................................................................ 3 

    2.  Configurate DAG‐4S ....................................................................................................... 4 

    2.1  Configurate the Port ................................................................................................... 4 

    2.2  Config the Port Group ................................................................................................ 5 

    2.3  Config the IP Trunk ..................................................................................................... 5 

    2.4  Tel‐>IP/Tel Routing ..................................................................................................... 6 

    2.5  IP‐>Tel Routing ........................................................................................................... 7 

    3.  Config DAG‐4O ............................................................................................................... 8 

    3.1  Config the Port ........................................................................................................... 8 

    3.2  Config the Port Group ................................................................................................ 9 

    3.3  Config the IP Trunk ..................................................................................................... 9 

    3.4  Tel‐>IP/Tel Routing ................................................................................................... 10 

    3.5 

    IP‐>Tel

     Routing

     .........................................................................................................

     11

     

  • 8/17/2019 A0016_How to Config P2P Between FXO and FXS

    3/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 that’s 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

  • 8/17/2019 A0016_How to Config P2P Between FXO and FXS

    4/11

    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.

  • 8/17/2019 A0016_How to Config P2P Between FXO and FXS

    5/11

    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 I’m 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. 

  • 8/17/2019 A0016_How to Config P2P Between FXO and FXS

    6/11

    I make the Description to TrunkToFXO and Remote Adress to 172.16.0.106

    (the FXO-4O’s 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 

  • 8/17/2019 A0016_How to Config P2P Between FXO and FXS

    7/11

    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.

  • 8/17/2019 A0016_How to Config P2P Between FXO and FXS

    8/11

    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. 

  • 8/17/2019 A0016_How to Config P2P Between FXO and FXS

    9/11

    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.

  • 8/17/2019 A0016_How to Config P2P Between FXO and FXS

    10/11

    I make the Description to TrunkToFXS and Remote Adress to 172.16.0.101

    (the FXO-4S’s 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.

  • 8/17/2019 A0016_How to Config P2P Between FXO and FXS

    11/11

    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.