User manual

Release 2.2 Digium, Inc. Page 41
Chapter 3: Configuration
Second Example: E&M Line
To configure a span for E&M, the zaptel.conf must specify the span and
the channel definition, while the zapata.conf specifies the signalling and
incoming dialplan context for a group of channels. In the example below,
the zaptel.conf shows the first span port configured to receive timing,
with no line build-out (LBO), using ESF and B8ZS for framing and
coding. The zapata.conf shows that group 1 has channels 1-24 configured
with featd signalling and processes incoming calls with the "incoming"
dialplan extensions context.
There are many other signalling methods available, though featd is very
common. See the zapata.conf sample configuration file for commented
examples.
/etc/zaptel.conf:
span=1,1,0,esf,b8zs
e&m=1-24
/etc/asterisk/zapata.conf:
group=1
context=incoming
signalling=featd
channel=1-24