michael@202: ; michael@202: ; Zapata telephony interface michael@202: ; michael@202: ; Configuration file michael@202: ; michael@202: ; You need to restart Asterisk to re-configure the Zap channel michael@202: ; CLI> reload chan_zap.so michael@202: ; will reload the configuration file, michael@202: ; but not all configuration options are michael@202: ; re-configured during a reload. michael@202: michael@202: michael@202: michael@202: ;[trunkgroups] michael@202: ; michael@202: ; Trunk groups are used for NFAS or GR-303 connections. michael@202: ; michael@202: ; Group: Defines a trunk group. michael@202: ; trunkgroup => ,[,...] michael@202: ; michael@202: ; trunkgroup is the numerical trunk group to create michael@202: ; dchannel is the zap channel which will have the michael@202: ; d-channel for the trunk. michael@202: ; backup1 is an optional list of backup d-channels. michael@202: ; michael@202: ;trunkgroup => 1,24,48 michael@202: ;trunkgroup => 1,24 michael@202: ; michael@202: ; Spanmap: Associates a span with a trunk group michael@202: ; spanmap => ,[,] michael@202: ; michael@202: ; zapspan is the zap span number to associate michael@202: ; trunkgroup is the trunkgroup (specified above) for the mapping michael@202: ; logicalspan is the logical span number within the trunk group to use. michael@202: ; if unspecified, no logical span number is used. michael@202: ; michael@202: ;spanmap => 1,1,1 michael@202: ;spanmap => 2,1,2 michael@202: ;spanmap => 3,1,3 michael@202: ;spanmap => 4,1,4 michael@202: michael@202: ;[channels] michael@202: ; michael@202: ; Default language michael@202: ; michael@202: ;language=en michael@202: ; michael@202: ; Default context michael@202: ; michael@202: ;context=default michael@202: ; michael@202: ; Switchtype: Only used for PRI. michael@202: ; michael@202: ; national: National ISDN 2 (default) michael@202: ; dms100: Nortel DMS100 michael@202: ; 4ess: AT&T 4ESS michael@202: ; 5ess: Lucent 5ESS michael@202: ; euroisdn: EuroISDN michael@202: ; ni1: Old National ISDN 1 michael@202: ; qsig: Q.SIG michael@202: ; michael@202: ;switchtype=national michael@202: ; michael@202: ; Some switches (AT&T especially) require network specific facility IE michael@202: ; supported values are currently 'none', 'sdn', 'megacom', 'tollfreemegacom', 'accunet' michael@202: ; michael@202: ;nsf=none michael@202: ; michael@202: ; PRI Dialplan: Only RARELY used for PRI. michael@202: ; michael@202: ; unknown: Unknown michael@202: ; private: Private ISDN michael@202: ; local: Local ISDN michael@202: ; national: National ISDN michael@202: ; international: International ISDN michael@202: ; dynamic: Dynamically selects the appropriate dialplan michael@202: ; michael@202: ;pridialplan=national michael@202: ; michael@202: ; PRI Local Dialplan: Only RARELY used for PRI (sets the calling number's numbering plan) michael@202: ; michael@202: ; unknown: Unknown michael@202: ; private: Private ISDN michael@202: ; local: Local ISDN michael@202: ; national: National ISDN michael@202: ; international: International ISDN michael@202: ; dynamic: Dynamically selects the appropriate dialplan michael@202: ; michael@202: ;prilocaldialplan=national michael@202: ; michael@202: ; PRI callerid prefixes based on the given TON/NPI (dialplan) michael@202: ; This is especially needed for euroisdn E1-PRIs michael@202: ; michael@202: ; sample 1 for Germany michael@202: ;internationalprefix = 00 michael@202: ;nationalprefix = 0 michael@202: ;localprefix = 0711 michael@202: ;privateprefix = 07115678 michael@202: ;unknownprefix = michael@202: ; michael@202: ; sample 2 for Germany michael@202: ;internationalprefix = + michael@202: ;nationalprefix = +49 michael@202: ;localprefix = +49711 michael@202: ;privateprefix = +497115678 michael@202: ;unknownprefix = michael@202: ; michael@202: ; PRI resetinterval: sets the time in seconds between restart of unused michael@202: ; channels, defaults to 3600; minimum 60 seconds. Some PBXs don't like michael@202: ; channel restarts. so set the interval to a very long interval e.g. 100000000 michael@202: ; or 'never' to disable *entirely*. michael@202: ; michael@202: ;resetinterval = 3600 michael@202: ; michael@202: ; Overlap dialing mode (sending overlap digits) michael@202: ; michael@202: ;overlapdial=yes michael@202: ; michael@202: ; PRI Out of band indications. michael@202: ; Enable this to report Busy and Congestion on a PRI using out-of-band michael@202: ; notification. Inband indication, as used by Asterisk doesn't seem to work michael@202: ; with all telcos. michael@202: ; michael@202: ; outofband: Signal Busy/Congestion out of band with RELEASE/DISCONNECT michael@202: ; inband: Signal Busy/Congestion using in-band tones michael@202: ; michael@202: ; priindication = outofband michael@202: ; michael@202: ; If you need to override the existing channels selection routine and force all michael@202: ; PRI channels to be marked as exclusively selected, set this to yes. michael@202: ; priexclusive = yes michael@202: ; michael@202: ; ISDN Timers michael@202: ; All of the ISDN timers and counters that are used are configurable. Specify michael@202: ; the timer name, and its value (in ms for timers). michael@202: ; K: Layer 2 max number of outstanding unacknowledged I frames (default 7) michael@202: ; N200: Layer 2 max number of retransmissions of a frame (default 3) michael@202: ; T200: Layer 2 max time before retransmission of a frame (default 1000 ms) michael@202: ; T203: Layer 2 max time without frames being exchanged (default 10000 ms) michael@202: ; T305: Wait for DISCONNECT acknowledge (default 30000 ms) michael@202: ; T308: Wait for RELEASE acknowledge (default 4000 ms) michael@202: ; T309: Maintain active calls on Layer 2 disconnection (default -1, Asterisk clears calls) michael@202: ; EuroISDN: 6000 to 12000 ms, according to (N200 + 1) x T200 + 2s michael@202: ; May vary in other ISDN standards (Q.931 1993 : 90000 ms) michael@202: ; T313: Wait for CONNECT acknowledge, CPE side only (default 3000 ms) michael@202: ; michael@202: ; pritimer => t200,1000 michael@202: ; pritimer => t313,4000 michael@202: ; michael@202: ; To enable transmission of facility-based ISDN supplementary services (such michael@202: ; as caller name from CPE over facility), enable this option. michael@202: ; facilityenable = yes michael@202: ; michael@202: ; michael@202: ; Signalling method (default is fxs). Valid values: michael@202: ; em: E & M michael@202: ; em_w: E & M Wink michael@202: ; featd: Feature Group D (The fake, Adtran style, DTMF) michael@202: ; featdmf: Feature Group D (The real thing, MF (domestic, US)) michael@202: ; featdmf_ta: Feature Group D (The real thing, MF (domestic, US)) through michael@202: ; a Tandem Access point michael@202: ; featb: Feature Group B (MF (domestic, US)) michael@202: ; fgccama Feature Group C-CAMA (DP DNIS, MF ANI) michael@202: ; fgccamamf Feature Group C-CAMA MF (MF DNIS, MF ANI) michael@202: ; fxs_ls: FXS (Loop Start) michael@202: ; fxs_gs: FXS (Ground Start) michael@202: ; fxs_ks: FXS (Kewl Start) michael@202: ; fxo_ls: FXO (Loop Start) michael@202: ; fxo_gs: FXO (Ground Start) michael@202: ; fxo_ks: FXO (Kewl Start) michael@202: ; pri_cpe: PRI signalling, CPE side michael@202: ; pri_net: PRI signalling, Network side michael@202: ; gr303fxoks_net: GR-303 Signalling, FXO Loopstart, Network side michael@202: ; gr303fxsks_cpe: GR-303 Signalling, FXS Loopstart, CPE side michael@202: ; sf: SF (Inband Tone) Signalling michael@202: ; sf_w: SF Wink michael@202: ; sf_featd: SF Feature Group D (The fake, Adtran style, DTMF) michael@202: ; sf_featdmf: SF Feature Group D (The real thing, MF (domestic, US)) michael@202: ; sf_featb: SF Feature Group B (MF (domestic, US)) michael@202: ; e911: E911 (MF) style signalling michael@202: ; michael@202: ; The following are used for Radio interfaces: michael@202: ; fxs_rx: Receive audio/COR on an FXS kewlstart interface (FXO at the michael@202: ; channel bank) michael@202: ; fxs_tx: Transmit audio/PTT on an FXS loopstart interface (FXO at the michael@202: ; channel bank) michael@202: ; fxo_rx: Receive audio/COR on an FXO loopstart interface (FXS at the michael@202: ; channel bank) michael@202: ; fxo_tx: Transmit audio/PTT on an FXO groundstart interface (FXS at michael@202: ; the channel bank) michael@202: ; em_rx: Receive audio/COR on an E&M interface (1-way) michael@202: ; em_tx: Transmit audio/PTT on an E&M interface (1-way) michael@202: ; em_txrx: Receive audio/COR AND Transmit audio/PTT on an E&M interface michael@202: ; (2-way) michael@202: ; em_rxtx: Same as em_txrx (for our dyslexic friends) michael@202: ; sf_rx: Receive audio/COR on an SF interface (1-way) michael@202: ; sf_tx: Transmit audio/PTT on an SF interface (1-way) michael@202: ; sf_txrx: Receive audio/COR AND Transmit audio/PTT on an SF interface michael@202: ; (2-way) michael@202: ; sf_rxtx: Same as sf_txrx (for our dyslexic friends) michael@202: ; michael@202: ;signalling=fxo_ls michael@202: ; michael@202: ; If you have an outbound signalling format that is different from format michael@202: ; specified above (but compatible), you can specify outbound signalling format, michael@202: ; (see below). The 'signalling' format specified will be the inbound signalling michael@202: ; format. If you only specify 'signalling', then it will be the format for michael@202: ; both inbound and outbound. michael@202: ; michael@202: ; signalling=featdmf michael@202: ; outsignalling=featb michael@202: ; michael@202: ; For Feature Group D Tandem access, to set the default CIC and OZZ use these michael@202: ; parameters: michael@202: ;defaultozz=0000 michael@202: ;defaultcic=303 michael@202: ; michael@202: ; A variety of timing parameters can be specified as well michael@202: ; Including: michael@202: ; prewink: Pre-wink time (default 50ms) michael@202: ; preflash: Pre-flash time (default 50ms) michael@202: ; wink: Wink time (default 150ms) michael@202: ; flash: Flash time (default 750ms) michael@202: ; start: Start time (default 1500ms) michael@202: ; rxwink: Receiver wink time (default 300ms) michael@202: ; rxflash: Receiver flashtime (default 1250ms) michael@202: ; debounce: Debounce timing (default 600ms) michael@202: ; michael@202: ;rxwink=300 ; Atlas seems to use long (250ms) winks michael@202: ; michael@202: ; How long generated tones (DTMF and MF) will be played on the channel michael@202: ; (in milliseconds) michael@202: ;toneduration=100 michael@202: ; michael@202: ; Whether or not to do distinctive ring detection on FXO lines michael@202: ; michael@202: ;usedistinctiveringdetection=yes michael@202: ;distinctiveringaftercid=yes ; enable dring detection after callerid for those countries like Australia michael@202: ; where the ring cadence is changed *after* the callerid spill. michael@202: ; michael@202: ; Whether or not to use caller ID michael@202: ; michael@202: ;usecallerid=yes michael@202: ; michael@202: ; Type of caller ID signalling in use michael@202: ; bell = bell202 as used in US michael@202: ; v23 = v23 as used in the UK michael@202: ; v23_jp = v23 as used in Japan michael@202: ; dtmf = DTMF as used in Denmark, Sweden and Netherlands michael@202: ; smdi = Use SMDI for callerid. Requires SMDI to be enabled (usesmdi). michael@202: ; michael@202: ;cidsignalling=bell michael@202: ; michael@202: ; What signals the start of caller ID michael@202: ; ring = a ring signals the start michael@202: ; polarity = polarity reversal signals the start michael@202: ; michael@202: ;cidstart=ring michael@202: ; michael@202: ; Whether or not to hide outgoing caller ID (Override with *67 or *82) michael@202: ; michael@202: ;hidecallerid=no michael@202: ; michael@202: ; Whether or not to enable call waiting on internal extensions michael@202: ; With this set to 'yes', busy extensions will hear the call-waiting michael@202: ; tone, and can use hook-flash to switch between callers. The Dial() michael@202: ; app will not return the "BUSY" result for extensions. michael@202: ; michael@202: ;callwaiting=yes michael@202: ; michael@202: ; Whether or not restrict outgoing caller ID (will be sent as ANI only, not michael@202: ; available for the user) michael@202: ; Mostly use with FXS ports michael@202: ; michael@202: ;restrictcid=no michael@202: ; michael@202: ; Whether or not use the caller ID presentation for the outgoing call that the michael@202: ; calling switch is sending. michael@202: ; See README.callingpres michael@202: ; michael@202: ;usecallingpres=yes michael@202: ; michael@202: ; Some countries (UK) have ring tones with different ring tones (ring-ring), michael@202: ; which means the callerid needs to be set later on, and not just after michael@202: ; the first ring, as per the default. michael@202: ; michael@202: ;sendcalleridafter=1 michael@202: ; michael@202: ; michael@202: ; Support Caller*ID on Call Waiting michael@202: ; michael@202: ;callwaitingcallerid=yes michael@202: ; michael@202: ; Support three-way calling michael@202: ; michael@202: ;threewaycalling=yes michael@202: ; michael@202: ; Support flash-hook call transfer (requires three way calling) michael@202: ; Also enables call parking (overrides the 'canpark' parameter) michael@202: ; michael@202: ;transfer=yes michael@202: ; michael@202: ; Allow call parking michael@202: ; ('canpark=no' is overridden by 'transfer=yes') michael@202: ; michael@202: ;canpark=yes michael@202: ; michael@202: ; Support call forward variable michael@202: ; michael@202: ;cancallforward=yes michael@202: ; michael@202: ; Whether or not to support Call Return (*69) michael@202: ; michael@202: ;callreturn=yes michael@202: ; michael@202: ; Stutter dialtone support: If a mailbox is specified without a voicemail michael@202: ; context, then when voicemail is received in a mailbox in the default michael@202: ; voicemail context in voicemail.conf, taking the phone off hook will cause a michael@202: ; stutter dialtone instead of a normal one. michael@202: ; michael@202: ; If a mailbox is specified *with* a voicemail context, the same will result michael@202: ; if voicemail received in mailbox in the specified voicemail context. michael@202: ; michael@202: ; for default voicemail context, the example below is fine: michael@202: ; michael@202: ;mailbox=1234 michael@202: ; michael@202: ; for any other voicemail context, the following will produce the stutter tone: michael@202: ; michael@202: ;mailbox=1234@context michael@202: ; michael@202: ; Enable echo cancellation michael@202: ; Use either "yes", "no", or a power of two from 32 to 256 if you wish to michael@202: ; actually set the number of taps of cancellation. michael@202: ; michael@202: ; Note that when setting the number of taps, the number 256 does not translate michael@202: ; to 256 ms of echo cancellation. echocancel=256 means 256 / 8 = 32 ms. michael@202: ; michael@202: ; Note that if any of your Zaptel cards have hardware echo cancellers, michael@202: ; then this setting only turns them on and off; numeric settings will michael@202: ; be treated as "yes". There are no special settings required for michael@202: ; hardware echo cancellers; when present and enabled in their kernel michael@202: ; modules, they take precedence over the software echo canceller compiled michael@202: ; into Zaptel automatically. michael@202: ; michael@202: ;echocancel=yes michael@202: ; michael@202: ; Generally, it is not necessary (and in fact undesirable) to echo cancel when michael@202: ; the circuit path is entirely TDM. You may, however, change this behavior michael@202: ; by enabling the echo cancel during pure TDM bridging below. michael@202: ; michael@202: ;echocancelwhenbridged=yes michael@202: ; michael@202: ; In some cases, the echo canceller doesn't train quickly enough and there michael@202: ; is echo at the beginning of the call. Enabling echo training will cause michael@202: ; asterisk to briefly mute the channel, send an impulse, and use the impulse michael@202: ; response to pre-train the echo canceller so it can start out with a much michael@202: ; closer idea of the actual echo. Value may be "yes", "no", or a number of michael@202: ; milliseconds to delay before training (default = 400) michael@202: ; michael@202: ; WARNING: In some cases this option can make echo worse! If you are michael@202: ; trying to debug an echo problem, it is worth checking to see if your echo michael@202: ; is better with the option set to yes or no. Use whatever setting gives michael@202: ; the best results. michael@202: ; michael@202: ; Note that these parameters do not apply to hardware echo cancellers. michael@202: ; michael@202: ;echotraining=yes michael@202: ;echotraining=800 michael@202: ; michael@202: ; If you are having trouble with DTMF detection, you can relax the DTMF michael@202: ; detection parameters. Relaxing them may make the DTMF detector more likely michael@202: ; to have "talkoff" where DTMF is detected when it shouldn't be. michael@202: ; michael@202: ;relaxdtmf=yes michael@202: ; michael@202: ; You may also set the default receive and transmit gains (in dB) michael@202: ; michael@202: ;rxgain=0.0 michael@202: ;txgain=0.0 michael@202: ; michael@202: ; Logical groups can be assigned to allow outgoing rollover. Groups range michael@202: ; from 0 to 63, and multiple groups can be specified. michael@202: ; michael@202: ;group=1 michael@202: ; michael@202: ; Ring groups (a.k.a. call groups) and pickup groups. If a phone is ringing michael@202: ; and it is a member of a group which is one of your pickup groups, then michael@202: ; you can answer it by picking up and dialling *8#. For simple offices, just michael@202: ; make these both the same. Groups range from 0 to 63. michael@202: ; michael@202: ;callgroup=1 michael@202: ;pickupgroup=1 michael@202: michael@202: ; michael@202: ; Specify whether the channel should be answered immediately or if the simple michael@202: ; switch should provide dialtone, read digits, etc. michael@202: ; Note: If immediate=yes the dialplan execution will always start at extension michael@202: ; 's' priority 1 regardless of the dialed number! michael@202: ; michael@202: ;immediate=no michael@202: ; michael@202: ; Specify whether flash-hook transfers to 'busy' channels should complete or michael@202: ; return to the caller performing the transfer (default is yes). michael@202: ; michael@202: ;transfertobusy=no michael@202: ; michael@202: ; CallerID can be set to "asreceived" or a specific number if you want to michael@202: ; override it. Note that "asreceived" only applies to trunk interfaces. michael@202: ; michael@202: ;callerid=2564286000 michael@202: ; michael@202: ; AMA flags affects the recording of Call Detail Records. If specified michael@202: ; it may be 'default', 'omit', 'billing', or 'documentation'. michael@202: ; michael@202: ;amaflags=default michael@202: ; michael@202: ; Channels may be associated with an account code to ease michael@202: ; billing michael@202: ; michael@202: ;accountcode=lss0101 michael@202: ; michael@202: ; ADSI (Analog Display Services Interface) can be enabled on a per-channel michael@202: ; basis if you have (or may have) ADSI compatible CPE equipment michael@202: ; michael@202: ;adsi=yes michael@202: ; michael@202: ; SMDI (Simplified Message Desk Interface) can be enabled on a per-channel michael@202: ; basis if you would like that channel to behave like an SMDI message desk. michael@202: ; The SMDI port specified should have already been defined in smdi.conf. The michael@202: ; default port is /dev/ttyS0. michael@202: ; michael@202: ;usesmdi=yes michael@202: ;smdiport=/dev/ttyS0 michael@202: ; michael@202: ; On trunk interfaces (FXS) and E&M interfaces (E&M, Wink, Feature Group D michael@202: ; etc, it can be useful to perform busy detection either in an effort to michael@202: ; detect hangup or for detecting busies. This enables listening for michael@202: ; the beep-beep busy pattern. michael@202: ; michael@202: ;busydetect=yes michael@202: ; michael@202: ; If busydetect is enabled, it is also possible to specify how many busy tones michael@202: ; to wait for before hanging up. The default is 4, but better results can be michael@202: ; achieved if set to 6 or even 8. Mind that the higher the number, the more michael@202: ; time that will be needed to hangup a channel, but lowers the probability michael@202: ; that you will get random hangups. michael@202: ; michael@202: ;busycount=4 michael@202: ; michael@202: ; If busydetect is enabled, it is also possible to specify the cadence of your michael@202: ; busy signal. In many countries, it is 500msec on, 500msec off. Without michael@202: ; busypattern specified, we'll accept any regular sound-silence pattern that michael@202: ; repeats times as a busy signal. If you specify busypattern, michael@202: ; then we'll further check the length of the sound (tone) and silence, which michael@202: ; will further reduce the chance of a false positive. michael@202: ; michael@202: ;busypattern=500,500 michael@202: ; michael@202: ; NOTE: In the Asterisk Makefile you'll find further options to tweak the busy michael@202: ; detector. If your country has a busy tone with the same length tone and michael@202: ; silence (as many countries do), consider defining the michael@202: ; -DBUSYDETECT_COMPARE_TONE_AND_SILENCE option. michael@202: ; michael@202: ; Use a polarity reversal to mark when a outgoing call is answered by the michael@202: ; remote party. michael@202: ; michael@202: ;answeronpolarityswitch=yes michael@202: ; michael@202: ; In some countries, a polarity reversal is used to signal the disconnect of a michael@202: ; phone line. If the hanguponpolarityswitch option is selected, the call will michael@202: ; be considered "hung up" on a polarity reversal. michael@202: ; michael@202: ;hanguponpolarityswitch=yes michael@202: ; michael@202: ; On trunk interfaces (FXS) it can be useful to attempt to follow the progress michael@202: ; of a call through RINGING, BUSY, and ANSWERING. If turned on, call michael@202: ; progress attempts to determine answer, busy, and ringing on phone lines. michael@202: ; This feature is HIGHLY EXPERIMENTAL and can easily detect false answers, michael@202: ; so don't count on it being very accurate. michael@202: ; michael@202: ; Few zones are supported at the time of this writing, but may be selected michael@202: ; with "progzone" michael@202: ; michael@202: ; This feature can also easily detect false hangups. The symptoms of this is michael@202: ; being disconnected in the middle of a call for no reason. michael@202: ; michael@202: ;callprogress=yes michael@202: ;progzone=us michael@202: ; michael@202: ; FXO (FXS signalled) devices must have a timeout to determine if there was a michael@202: ; hangup before the line was answered. This value can be tweaked to shorten michael@202: ; how long it takes before Zap considers a non-ringing line to have hungup. michael@202: ; michael@202: ;ringtimeout=8000 michael@202: ; michael@202: ; For FXO (FXS signalled) devices, whether to use pulse dial instead of DTMF michael@202: ; michael@202: ;pulsedial=yes michael@202: ; michael@202: ; For fax detection, uncomment one of the following lines. The default is *OFF* michael@202: ; michael@202: ;faxdetect=both michael@202: ;faxdetect=incoming michael@202: ;faxdetect=outgoing michael@202: ;faxdetect=no michael@202: ; michael@202: ; This option specifies a preference for which music on hold class this channel michael@202: ; should listen to when put on hold if the music class has not been set on the michael@202: ; channel with Set(CHANNEL(musicclass)=whatever) in the dialplan, and the peer michael@202: ; channel putting this one on hold did not suggest a music class. michael@202: ; michael@202: ; If this option is set to "passthrough", then the hold message will always be michael@202: ; passed through as signalling instead of generating hold music locally. This michael@202: ; setting is only valid when used on a channel that uses digital signalling. michael@202: ; michael@202: ; This option may be specified globally, or on a per-user or per-peer basis. michael@202: ; michael@202: ;mohinterpret=default michael@202: ; michael@202: ; This option specifies which music on hold class to suggest to the peer channel michael@202: ; when this channel places the peer on hold. It may be specified globally or on michael@202: ; a per-user or per-peer basis. michael@202: ; michael@202: ;mohsuggest=default michael@202: ; michael@202: ; PRI channels can have an idle extension and a minunused number. So long as michael@202: ; at least "minunused" channels are idle, chan_zap will try to call "idledial" michael@202: ; on them, and then dump them into the PBX in the "idleext" extension (which michael@202: ; is of the form exten@context). When channels are needed the "idle" calls michael@202: ; are disconnected (so long as there are at least "minidle" calls still michael@202: ; running, of course) to make more channels available. The primary use of michael@202: ; this is to create a dynamic service, where idle channels are bundled through michael@202: ; multilink PPP, thus more efficiently utilizing combined voice/data services michael@202: ; than conventional fixed mappings/muxings. michael@202: ; michael@202: ;idledial=6999 michael@202: ;idleext=6999@dialout michael@202: ;minunused=2 michael@202: ;minidle=1 michael@202: ; michael@202: ; Configure jitter buffers in zapata (each one is 20ms, default is 4) michael@202: ; michael@202: ;jitterbuffers=4 michael@202: ; michael@202: ;------------------------------ JITTER BUFFER CONFIGURATION -------------------------- michael@202: ; jbenable = yes ; Enables the use of a jitterbuffer on the receiving side of a michael@202: ; ZAP channel. Defaults to "no". An enabled jitterbuffer will michael@202: ; be used only if the sending side can create and the receiving michael@202: ; side can not accept jitter. The ZAP channel can't accept jitter, michael@202: ; thus an enabled jitterbuffer on the receive ZAP side will always michael@202: ; be used if the sending side can create jitter. michael@202: michael@202: ; jbmaxsize = 200 ; Max length of the jitterbuffer in milliseconds. michael@202: michael@202: ; jbresyncthreshold = 1000 ; Jump in the frame timestamps over which the jitterbuffer is michael@202: ; resynchronized. Useful to improve the quality of the voice, with michael@202: ; big jumps in/broken timestamps, usually sent from exotic devices michael@202: ; and programs. Defaults to 1000. michael@202: michael@202: ; jbimpl = fixed ; Jitterbuffer implementation, used on the receiving side of a ZAP michael@202: ; channel. Two implementations are currently available - "fixed" michael@202: ; (with size always equals to jbmax-size) and "adaptive" (with michael@202: ; variable size, actually the new jb of IAX2). Defaults to fixed. michael@202: michael@202: ; jblog = no ; Enables jitterbuffer frame logging. Defaults to "no". michael@202: ;----------------------------------------------------------------------------------- michael@202: ; michael@202: ; You can define your own custom ring cadences here. You can define up to 8 michael@202: ; pairs. If the silence is negative, it indicates where the callerid spill is michael@202: ; to be placed. Also, if you define any custom cadences, the default cadences michael@202: ; will be turned off. michael@202: ; michael@202: ; Syntax is: cadence=ring,silence[,ring,silence[...]] michael@202: ; michael@202: ; These are the default cadences: michael@202: ; michael@202: ;cadence=125,125,2000,-4000 michael@202: ;cadence=250,250,500,1000,250,250,500,-4000 michael@202: ;cadence=125,125,125,125,125,-4000 michael@202: ;cadence=1000,500,2500,-5000 michael@202: ; michael@202: ; Each channel consists of the channel number or range. It inherits the michael@202: ; parameters that were specified above its declaration. michael@202: ; michael@202: ; For GR-303, CRV's are created like channels except they must start with the michael@202: ; trunk group followed by a colon, e.g.: michael@202: ; michael@202: ; crv => 1:1 michael@202: ; crv => 2:1-2,5-8 michael@202: ; michael@202: ; michael@202: ;callerid="Green Phone"<(256) 428-6121> michael@202: ;channel => 1 michael@202: ;callerid="Black Phone"<(256) 428-6122> michael@202: ;channel => 2 michael@202: ;callerid="CallerID Phone" <(256) 428-6123> michael@202: ;callerid="CallerID Phone" <(630) 372-1564> michael@202: ;callerid="CallerID Phone" <(256) 704-4666> michael@202: ;channel => 3 michael@202: ;callerid="Pac Tel Phone" <(256) 428-6124> michael@202: ;channel => 4 michael@202: ;callerid="Uniden Dead" <(256) 428-6125> michael@202: ;channel => 5 michael@202: ;callerid="Cortelco 2500" <(256) 428-6126> michael@202: ;channel => 6 michael@202: ;callerid="Main TA 750" <(256) 428-6127> michael@202: ;channel => 44 michael@202: ; michael@202: ; For example, maybe we have some other channels which start out in a michael@202: ; different context and use E & M signalling instead. michael@202: ; michael@202: ;context=remote michael@202: ;sigalling=em michael@202: ;channel => 15 michael@202: ;channel => 16 michael@202: michael@202: ;signalling=em_w michael@202: ; michael@202: ; All those in group 0 I'll use for outgoing calls michael@202: ; michael@202: ; Strip most significant digit (9) before sending michael@202: ; michael@202: ;stripmsd=1 michael@202: ;callerid=asreceived michael@202: ;group=0 michael@202: ;signalling=fxs_ls michael@202: ;channel => 45 michael@202: michael@202: ;signalling=fxo_ls michael@202: ;group=1 michael@202: ;callerid="Joe Schmoe" <(256) 428-6131> michael@202: ;channel => 25 michael@202: ;callerid="Megan May" <(256) 428-6132> michael@202: ;channel => 26 michael@202: ;callerid="Suzy Queue" <(256) 428-6233> michael@202: ;channel => 27 michael@202: ;callerid="Larry Moe" <(256) 428-6234> michael@202: ;channel => 28 michael@202: ; michael@202: ; Sample PRI (CPE) config: Specify the switchtype, the signalling as either michael@202: ; pri_cpe or pri_net for CPE or Network termination, and generally you will michael@202: ; want to create a single "group" for all channels of the PRI. michael@202: ; michael@202: ; switchtype = national michael@202: ; signalling = pri_cpe michael@202: ; group = 2 michael@202: ; channel => 1-23 michael@202: michael@202: ; michael@202: michael@202: ; Used for distinctive ring support for x100p. michael@202: ; You can see the dringX patterns is to set any one of the dringXcontext fields michael@202: ; and they will be printed on the console when an inbound call comes in. michael@202: ; michael@202: ;dring1=95,0,0 michael@202: ;dring1context=internal1 michael@202: ;dring2=325,95,0 michael@202: ;dring2context=internal2 michael@202: ; If no pattern is matched here is where we go. michael@202: ;context=default michael@202: ;channel => 1 michael@202: