Next, you’ll have to configure the timeslot groups using the second submenu. You will need to define two timeslot groups: one for the D-channel, and the other for all the B-channels.

Next, you’ll have to configure the timeslot groups using the second submenu. You will need to define two timeslot groups: one for the D-channel, and the other for all the B-channels.

−

World (E1)

+

E1 configuration:

−

Timeslot Group 1 Configuration

+

Timeslot Group 1 Configuration:

−

Timeslots in Group-> ALL

+

Timeslots in Group-> 16

HDLC engine--------> Enabled

HDLC engine--------> Enabled

Idle char ---------> 0x7E

Idle char ---------> 0x7E

−

MTU ---------------> 1500

+

MTU ---------------> 960

−

MRU ---------------> 1500

+

MRU ---------------> 960

−

Timeslots in Group-> 1-15.17-30

+

Timeslot Group 2 Configuration:

+

Timeslots in Group-> 1-15.17-24

HDLC engine--------> Disabled

HDLC engine--------> Disabled

Idle char ---------> 0x7E

Idle char ---------> 0x7E

−

MTU ---------------> 1200

+

MTU ---------------> 960

−

MRU ---------------> 1200

+

MRU ---------------> 960

You'll need to tell Wanpipe what each timeslot will be used for. The timeslots will be referred to as w1g1 and w1g2 (Wanpipe 1 group 1 and Wanpipe 1 group 2). If you have a multiport Wanpipe card, you may have other group names as well.

You'll need to tell Wanpipe what each timeslot will be used for. The timeslots will be referred to as w1g1 and w1g2 (Wanpipe 1 group 1 and Wanpipe 1 group 2). If you have a multiport Wanpipe card, you may have other group names as well.

Line 117:

Line 116:

Interface Operation Mode: API

Interface Operation Mode: API

+

The same actions for configuring Group2.

+

== Configuration in Yate ==

== Configuration in Yate ==

−

First step [[Installation |install Yate]].

+

Use this tutorial to: [[Installation |install Yate]].

+

+

Configure files:

+

+

ysigchan.conf

+

+

[general]

+

+

[link1]

+

type=isdn-pri-net

+

enable=yes

+

sig=wanpipe1

+

voice=wanpipe1

+

switchtype=euro-isdn-e1

+

strategy=increment

+

format=alaw

+

+

wanpipe.conf

+

[general]

+

+

[wanpipe1]

+

type=E1

+

siggroup=w1g1

+

voicegroup=w1g2

+

+

+

+

+

+

+

Revision as of 17:25, 23 May 2013

Yate has the functionality of a VoIP - PSTN gateway.

It's main task is to provide signaling interworking and to transform the information it receives on one side in information compatible with the other side.

This article explains the functionality of Yate as SIP-ISDN or SIP-SS7 gateway.

Sangoma card driver installation

The interface will verify that all required tools are installed and ask you if you want to install Wanpipe now. Press 'Y'(yes) to start the installation. Next, you will be asked if you would like to build the WANPIPE kernel driver modules. Answer 'Y' again.

You will then be asked to specify the absolute pathname of your Linux directory. You can press Enter to accept the default. If this does not work for you, contact Sangoma support for further assistance.
You will again be asked to confirm that you wish to build the kernel drivers. Press 'Y' again.

Now comes the important question: the Setup program wants to know what compilation mode you wish to use. You’ll want to select the option for the Custom Compilation Mode , which in the case of wanpipe-7.0.2 is option 5.

Then you'll be asked about the API Protocols, you have to write: AFT_TE1 and BITSTRM.

Then you will be asked to continue the installation and the compilling is done. The final question:

Would you like to install WANPIPE start-up scripts? (y/n) y

And that's all: WANPIPE INSTALLATON: COMPLETE

If you want to test, you can run

#wanrouter hwprobe
#wanrouter status

Configure Wanpipe

Follow the procedure outlined here to configure Wanpipe into two timeslot groups for YATE.
First, as the root user, issue the following command:

# wancfg

This will start the WANPIPE Configuration Utility, which will build the Wanpipe configuration files. Press OK at the first screen, select Create a new Configuration File and press Enter.
You will see a list of the configuration files that are possible, and their states. For a new installation, press Enter to select wanpipe1.conf.
Select the following from the list of detected cards:

AFT-A104u SLOT=2 BUS=5 IRQ=3 CPU=A PORT=1 V=13

If you are not in North America, you will probably need to change the physical medium from T1 to E1 using the first submenu from the next screen.
Next, you’ll have to configure the timeslot groups using the second submenu. You will need to define two timeslot groups: one for the D-channel, and the other for all the B-channels.

You'll need to tell Wanpipe what each timeslot will be used for. The timeslots will be referred to as w1g1 and w1g2 (Wanpipe 1 group 1 and Wanpipe 1 group 2). If you have a multiport Wanpipe card, you may have other group names as well.
For your current purposes, you'll want to be running HDLC streaming on each timeslot, with an operation mode of API. The timeslot group config screens are a little confusing to navigate, but with a bit of back-and-forth you should be able to figure them out. For each timeslot group, set the following: