mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 11:28:25 +00:00
Add support for trunk groups in anticipation of NFAS and GR-303, Initial GR-303 work
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
5
Makefile
5
Makefile
@@ -52,11 +52,6 @@ OPTIMIZE=-O6
|
|||||||
#Include debug symbols in the executables (-g) and profiling info (-pg)
|
#Include debug symbols in the executables (-g) and profiling info (-pg)
|
||||||
DEBUG=-g #-pg
|
DEBUG=-g #-pg
|
||||||
|
|
||||||
# New hangup routines for chan_zap.c
|
|
||||||
# If this flag is uncommented then you need to have new libpri code in your system
|
|
||||||
# You can still use the old libpri if you do "cvs update -D "08/03/03" in libpri source code
|
|
||||||
OPTIONS += -DNEW_PRI_HANGUP
|
|
||||||
|
|
||||||
# If you are running a radio application, define RADIO_RELAX so that the DTMF
|
# If you are running a radio application, define RADIO_RELAX so that the DTMF
|
||||||
# will be received more reliably
|
# will be received more reliably
|
||||||
#OPTIONS += -DRADIO_RELAX
|
#OPTIONS += -DRADIO_RELAX
|
||||||
|
|||||||
1066
channels/chan_zap.c
1066
channels/chan_zap.c
File diff suppressed because it is too large
Load Diff
@@ -3,6 +3,33 @@
|
|||||||
;
|
;
|
||||||
; Configuration file
|
; Configuration file
|
||||||
|
|
||||||
|
[trunkgroups]
|
||||||
|
;
|
||||||
|
; Trunk groups are used for NFAS or GR-303 connections.
|
||||||
|
;
|
||||||
|
; Group: Defines a trunk group.
|
||||||
|
; group => <trunkgroup>,<dchannel>[,<backup1>...]
|
||||||
|
;
|
||||||
|
; trunkgroup is the numerical trunk group to create
|
||||||
|
; dchannel is the zap channel which will have the
|
||||||
|
; d-channel for the trunk.
|
||||||
|
; backup1 is an optional list of backup d-channels.
|
||||||
|
;
|
||||||
|
;trunkgroup => 1,24,48
|
||||||
|
;
|
||||||
|
; Spanmap: Associates a span with a trunk group
|
||||||
|
; spanmap => <zapspan>,<trunkgroup>[,<logicalspan>]
|
||||||
|
;
|
||||||
|
; zapspan is the zap span number to associate
|
||||||
|
; trunkgroup is the trunkgroup (specified above) for the mapping
|
||||||
|
; logicalspan is the logical span number within the trunk group to use.
|
||||||
|
; if unspecified, no logical span number is used.
|
||||||
|
;
|
||||||
|
;spanmap => 1,1,1
|
||||||
|
;spanmap => 2,1,2
|
||||||
|
;spanmap => 3,1,3
|
||||||
|
;spanmap => 4,1,4
|
||||||
|
|
||||||
[channels]
|
[channels]
|
||||||
;
|
;
|
||||||
; Default language
|
; Default language
|
||||||
@@ -52,6 +79,7 @@ switchtype=national
|
|||||||
; fxo_ks: FXO (Kewl Start)
|
; fxo_ks: FXO (Kewl Start)
|
||||||
; pri_cpe: PRI signalling, CPE side
|
; pri_cpe: PRI signalling, CPE side
|
||||||
; pri_net: PRI signalling, Network side
|
; pri_net: PRI signalling, Network side
|
||||||
|
; gr303fxoks_net: GR-303 Signalling, FXO Loopstart, Network side
|
||||||
; sf: SF (Inband Tone) Signalling
|
; sf: SF (Inband Tone) Signalling
|
||||||
; sf_w: SF Wink
|
; sf_w: SF Wink
|
||||||
; sf_featd: SF Feature Group D (The fake, Adtran style, DTMF)
|
; sf_featd: SF Feature Group D (The fake, Adtran style, DTMF)
|
||||||
|
|||||||
Reference in New Issue
Block a user