2 ; DAHDI Telephony Configuration file
4 ; You need to restart Asterisk to re-configure the DAHDI channel
5 ; CLI> module reload chan_dahdi.so
6 ; will reload the configuration file, but not all configuration options
7 ; are re-configured during a reload (signalling, as well as PRI and
8 ; SS7-related settings cannot be changed on a reload).
10 ; This file documents many configuration variables. Normally unless you know
11 ; what a variable means or that it should be changed, there's no reason to
12 ; un-comment those lines.
14 ; Examples below that are commented out (those lines that begin with a ';' but
15 ; no space afterwards) typically show a value that is not the default value,
16 ; but would make sense under certain circumstances. The default values are
17 ; usually sane. Thus you should typically not touch them unless you know what
18 ; they mean or you know you should change them.
22 ; Trunk groups are used for NFAS connections.
24 ; Group: Defines a trunk group.
25 ; trunkgroup => <trunkgroup>,<dchannel>[,<backup1>...]
27 ; trunkgroup is the numerical trunk group to create
28 ; dchannel is the DAHDI channel which will have the
29 ; d-channel for the trunk.
30 ; backup1 is an optional list of backup d-channels.
32 ;trunkgroup => 1,24,48
35 ; Spanmap: Associates a span with a trunk group
36 ; spanmap => <dahdispan>,<trunkgroup>[,<logicalspan>]
38 ; dahdispan is the DAHDI span number to associate
39 ; trunkgroup is the trunkgroup (specified above) for the mapping
40 ; logicalspan is the logical span number within the trunk group to use.
41 ; if unspecified, no logical span number is used.
54 ; Context for incoming calls. Defaults to 'default'
58 ; Switchtype: Only used for PRI.
60 ; national: National ISDN 2 (default)
61 ; dms100: Nortel DMS100
64 ; euroisdn: EuroISDN (common in Europe)
65 ; ni1: Old National ISDN 1
70 ; MSNs for ISDN spans. Asterisk will listen for the listed numbers on
71 ; incoming calls and ignore any calls not listed.
72 ; Here you can give a comma separated list of numbers or dialplan extension
73 ; patterns. An empty list disables MSN matching to allow any incoming call.
74 ; Only set on PTMP CPE side of ISDN span if needed.
75 ; The default is an empty list.
78 ; Some switches (AT&T especially) require network specific facility IE.
79 ; Supported values are currently 'none', 'sdn', 'megacom', 'tollfreemegacom', 'accunet'
81 ; nsf cannot be changed on a reload.
85 ;service_message_support=yes
86 ; Enable service message support for channel. Must be set after switchtype.
88 ; Dialing options for ISDN (i.e., Dial(DAHDI/g1/exten/options)):
89 ; R Reverse Charge Indication
90 ; Indicate to the called party that the call will be reverse charged.
91 ; K(n) Keypad digits n
92 ; Send out the specified digits as keypad digits.
94 ; PRI Dialplan: The ISDN-level Type Of Number (TON) or numbering plan, used for
95 ; the dialed number. Leaving this as 'unknown' (the default) works for most
96 ; cases. In some very unusual circumstances, you may need to set this to
97 ; 'dynamic' or 'redundant'.
100 ; private: Private ISDN
102 ; national: National ISDN
103 ; international: International ISDN
104 ; dynamic: Dynamically selects the appropriate dialplan using the
106 ; redundant: Same as dynamic, except that the underlying number is not
107 ; changed (not common)
109 ; pridialplan cannot be changed on reload.
112 ; PRI Local Dialplan: Only RARELY used for PRI (sets the calling number's
113 ; numbering plan). In North America, the typical use is sending the 10 digit
114 ; callerID number and setting the prilocaldialplan to 'national' (the default).
115 ; Only VERY rarely will you need to change this.
118 ; private: Private ISDN
120 ; national: National ISDN
121 ; international: International ISDN
122 ; from_channel: Use the CALLERID(ton) value from the channel.
123 ; dynamic: Dynamically selects the appropriate dialplan using the
125 ; redundant: Same as dynamic, except that the underlying number is not
126 ; changed (not common)
128 ; prilocaldialplan cannot be changed on reload.
129 ;prilocaldialplan=national
131 ; PRI Connected Line Dialplan: Sets the connected party number's numbering plan.
134 ; private: Private ISDN
136 ; national: National ISDN
137 ; international: International ISDN
138 ; from_channel: Use the CONNECTEDLINE(ton) value from the channel.
139 ; dynamic: Dynamically selects the appropriate dialplan using the
141 ; redundant: Same as dynamic, except that the underlying number is not
142 ; changed (not common)
144 ; pricpndialplan cannot be changed on reload.
145 ;pricpndialplan=from_channel
147 ; pridialplan may be also set at dialtime, by prefixing the dialed number with
148 ; one of the following letters:
152 ; L - Local (Net Specific)
155 ; R - Reserved (should probably never be used but is included for completeness)
157 ; Additionally, you may also set the following NPI bits (also by prefixing the
158 ; dialed string with one of the following letters):
160 ; e - E.163/E.164 (ISDN/telephony)
165 ; r - Reserved (should probably never be used but is included for completeness)
167 ; You may also set the prilocaldialplan in the same way, but by prefixing the
168 ; Caller*ID Number rather than the dialed number.
170 ; Please note that telcos which require this kind of additional manipulation
171 ; of the TON/NPI are *rare*. Most telco PRIs will work fine simply by
172 ; setting pridialplan to unknown or dynamic.
175 ; PRI caller ID prefixes based on the given TON/NPI (dialplan)
176 ; This is especially needed for EuroISDN E1-PRIs
178 ; None of the prefix settings can be changed on reload.
180 ; sample 1 for Germany
181 ;internationalprefix = 00
184 ;privateprefix = 07115678
187 ; sample 2 for Germany
188 ;internationalprefix = +
189 ;nationalprefix = +49
190 ;localprefix = +49711
191 ;privateprefix = +497115678
194 ; PRI resetinterval: sets the time in seconds between restart of unused
195 ; B channels; defaults to 'never'.
197 ;resetinterval = 3600
199 ; Overlap dialing mode (sending overlap digits)
200 ; Cannot be changed on a reload.
202 ; incoming: incoming direction only
203 ; outgoing: outgoing direction only
204 ; no: neither direction
205 ; yes or both: both directions
209 ; Send/receive ISDN display IE options. The display options are a comma separated
210 ; list of the following options:
212 ; block: Do not pass display text data.
213 ; Q.SIG: Default for send/receive.
214 ; ETSI CPE: Default for send.
215 ; name_initial: Use display text in SETUP/CONNECT messages as the party name.
216 ; Default for all other modes.
217 ; name_update: Use display text in other messages (NOTIFY/FACILITY) for COLP name
219 ; name: Combined name_initial and name_update options.
220 ; text: Pass any unused display text data as an arbitrary display message
221 ; during a call. Sent text goes out in an INFORMATION message.
223 ; * Default is an empty string for legacy behavior.
224 ; * The name options are not recommended for Q.SIG since Q.SIG already
226 ; * The send block is the only recommended setting for CPE mode since Q.931 uses
227 ; the display IE only in the network to user direction.
229 ; display_send and display_receive cannot be changed on reload.
234 ; Allow sending an ISDN Malicious Caller ID (MCID) request on this span.
239 ; Send ISDN date/time IE in CONNECT message option. Only valid on NT spans.
241 ; no: Do not send date/time IE in CONNECT message.
242 ; date: Send date only.
243 ; date_hh Send date and hour.
244 ; date_hhmm Send date, hour, and minute.
245 ; date_hhmmss Send date, hour, minute, and second.
247 ; Default is an empty string which lets libpri pick the default
248 ; date/time IE send policy.
252 ; Allow inband audio (progress) when a call is DISCONNECTed by the far end of a PRI
254 ;inbanddisconnect=yes
256 ; Allow a held call to be transferred to the active call on disconnect.
257 ; This is useful on BRI PTMP NT lines where an ISDN phone can simulate the
258 ; transfer feature of an analog phone.
260 ;hold_disconnect_transfer=yes
262 ; BRI PTMP layer 2 persistence.
263 ; You should normally not need to set this option.
264 ; You may need to set this option if your telco brings layer 1 down when
266 ; <blank>: Use libpri default.
267 ; keep_up: Bring layer 2 back up if peer takes it down.
268 ; leave_down: Leave layer 2 down if peer takes it down. (Libpri default)
269 ; (Layer 2 will be brought back up for an outgoing call.)
271 ;layer2_persistence=leave_down
273 ; PRI Out of band indications.
274 ; Enable this to report Busy and Congestion on a PRI using out-of-band
275 ; notification. Inband indication, as used by Asterisk doesn't seem to work
278 ; outofband: Signal Busy/Congestion out of band with RELEASE/DISCONNECT
279 ; inband: Signal Busy/Congestion using in-band tones (default)
281 ; priindication cannot be changed on a reload.
283 ;priindication = outofband
285 ; If you need to override the existing channels selection routine and force all
286 ; PRI channels to be marked as exclusively selected, set this to yes.
288 ; priexclusive cannot be changed on a reload.
293 ; If you need to use the logical channel mapping with your Q.SIG PRI instead
294 ; of the physical mapping you must use the qsigchannelmapping option.
296 ; logical: Use the logical channel mapping
297 ; physical: Use physical channel mapping (default)
299 ;qsigchannelmapping=logical
301 ; If you wish to ignore remote hold indications (and use MOH that is supplied over
302 ; the B channel) enable this option.
304 ;discardremoteholdretrieval=yes
307 ; All of the ISDN timers and counters that are used are configurable. Specify
308 ; the timer name, and its value (in ms for timers).
309 ; K: Layer 2 max number of outstanding unacknowledged I frames (default 7)
310 ; N200: Layer 2 max number of retransmissions of a frame (default 3)
311 ; T200: Layer 2 max time before retransmission of a frame (default 1000 ms)
312 ; T203: Layer 2 max time without frames being exchanged (default 10000 ms)
313 ; T305: Wait for DISCONNECT acknowledge (default 30000 ms)
314 ; T308: Wait for RELEASE acknowledge (default 4000 ms)
315 ; T309: Maintain active calls on Layer 2 disconnection (default 6000 ms)
316 ; EuroISDN: 6000 to 12000 ms, according to (N200 + 1) x T200 + 2s
317 ; May vary in other ISDN standards (Q.931 1993 : 90000 ms)
318 ; T313: Wait for CONNECT acknowledge, CPE side only (default 3000 ms)
320 ; T-RESPONSE: Maximum time to wait for a typical APDU response. (default 4000 ms)
321 ; This is an implementation timer when the standard does not specify one.
322 ; T-ACTIVATE: Request supervision timeout. (default 10000 ms)
323 ; T-RETENTION: Maximum time to wait for user A to activate call-completion. (default 30000 ms)
324 ; Used by ETSI PTP, ETSI PTMP, and Q.SIG as the cc_offer_timer.
325 ; T-CCBS1: T-STATUS timer equivalent for CC user A status. (default 4000 ms)
326 ; T-CCBS2: Maximum time the CCBS service will be active (default 45 min in ms)
327 ; T-CCBS3: Maximum time to wait for user A to respond to user B availability. (default 20000 ms)
328 ; T-CCBS5: Network B CCBS supervision timeout. (default 60 min in ms)
329 ; T-CCBS6: Network A CCBS supervision timeout. (default 60 min in ms)
330 ; T-CCNR2: Maximum time the CCNR service will be active (default 180 min in ms)
331 ; T-CCNR5: Network B CCNR supervision timeout. (default 195 min in ms)
332 ; T-CCNR6: Network A CCNR supervision timeout. (default 195 min in ms)
333 ; CC-T1: Q.SIG CC request supervision timeout. (default 30000 ms)
334 ; CCBS-T2: Q.SIG CCBS supervision timeout. (default 60 min in ms)
335 ; CCNR-T2: Q.SIG CCNR supervision timeout. (default 195 min in ms)
336 ; CC-T3: Q.SIG CC Maximum time to wait for user A to respond to user B availability. (default 30000 ms)
338 ;pritimer => t200,1000
339 ;pritimer => t313,4000
341 ; CC PTMP recall mode:
342 ; specific - Only the CC original party A can participate in the CC callback
343 ; global - Other compatible endpoints on the PTMP line can be party A in the CC callback
345 ; cc_ptmp_recall_mode cannot be changed on a reload.
347 ;cc_ptmp_recall_mode = specific
349 ; CC Q.SIG Party A (requester) retain signaling link option
350 ; retain Require that the signaling link be retained.
351 ; release Request that the signaling link be released.
352 ; do_not_care The responder is free to choose if the signaling link will be retained.
354 ;cc_qsig_signaling_link_req = retain
356 ; CC Q.SIG Party B (responder) retain signaling link option
357 ; retain Prefer that the signaling link be retained.
358 ; release Prefer that the signaling link be released.
360 ;cc_qsig_signaling_link_rsp = retain
362 ; See ccss.conf.sample for more options. The timers described by ccss.conf.sample
363 ; are not used by ISDN for the native protocol since they are defined by the
364 ; standards and set by pritimer above.
366 ; To enable transmission of facility-based ISDN supplementary services (such
367 ; as caller name from CPE over facility), enable this option.
368 ; Cannot be changed on a reload.
370 ;facilityenable = yes
373 ; This option enables Advice of Charge pass-through between the ISDN PRI and
374 ; Asterisk. This option can be set to any combination of 's', 'd', and 'e' which
375 ; represent the different variants of Advice of Charge, AOC-S, AOC-D, and AOC-E.
376 ; Advice of Charge pass-through is currently only supported for ETSI. Since most
377 ; AOC messages are sent on facility messages, the 'facilityenable' option must
378 ; also be enabled to fully support AOC pass-through.
382 ; When this option is enabled, a hangup initiated by the ISDN PRI side of the
383 ; asterisk channel will result in the channel delaying its hangup in an
384 ; attempt to receive the final AOC-E message from its bridge. The delay
385 ; period is configured as one half the T305 timer length. If the channel
386 ; is not bridged the hangup will occur immediatly without delay.
388 ;aoce_delayhangup=yes
390 ; pritimer cannot be changed on a reload.
392 ; Signalling method. The default is "auto". Valid values:
393 ; auto: Use the current value from DAHDI.
397 ; featd: Feature Group D (The fake, Adtran style, DTMF)
398 ; featdmf: Feature Group D (The real thing, MF (domestic, US))
399 ; featdmf_ta: Feature Group D (The real thing, MF (domestic, US)) through
400 ; a Tandem Access point
401 ; featb: Feature Group B (MF (domestic, US))
402 ; fgccama: Feature Group C-CAMA (DP DNIS, MF ANI)
403 ; fgccamamf: Feature Group C-CAMA MF (MF DNIS, MF ANI)
404 ; fxs_ls: FXS (Loop Start)
405 ; fxs_gs: FXS (Ground Start)
406 ; fxs_ks: FXS (Kewl Start)
407 ; fxo_ls: FXO (Loop Start)
408 ; fxo_gs: FXO (Ground Start)
409 ; fxo_ks: FXO (Kewl Start)
410 ; pri_cpe: PRI signalling, CPE side
411 ; pri_net: PRI signalling, Network side
412 ; bri_cpe: BRI PTP signalling, CPE side
413 ; bri_net: BRI PTP signalling, Network side
414 ; bri_cpe_ptmp: BRI PTMP signalling, CPE side
415 ; bri_net_ptmp: BRI PTMP signalling, Network side
416 ; sf: SF (Inband Tone) Signalling
418 ; sf_featd: SF Feature Group D (The fake, Adtran style, DTMF)
419 ; sf_featdmf: SF Feature Group D (The real thing, MF (domestic, US))
420 ; sf_featb: SF Feature Group B (MF (domestic, US))
421 ; e911: E911 (MF) style signalling
422 ; ss7: Signalling System 7
423 ; mfcr2: MFC/R2 Signalling. To specify the country variant see 'mfcr2_variant'
425 ; The following are used for Radio interfaces:
426 ; fxs_rx: Receive audio/COR on an FXS kewlstart interface (FXO at the
428 ; fxs_tx: Transmit audio/PTT on an FXS loopstart interface (FXO at the
430 ; fxo_rx: Receive audio/COR on an FXO loopstart interface (FXS at the
432 ; fxo_tx: Transmit audio/PTT on an FXO groundstart interface (FXS at
434 ; em_rx: Receive audio/COR on an E&M interface (1-way)
435 ; em_tx: Transmit audio/PTT on an E&M interface (1-way)
436 ; em_txrx: Receive audio/COR AND Transmit audio/PTT on an E&M interface
438 ; em_rxtx: Same as em_txrx (for our dyslexic friends)
439 ; sf_rx: Receive audio/COR on an SF interface (1-way)
440 ; sf_tx: Transmit audio/PTT on an SF interface (1-way)
441 ; sf_txrx: Receive audio/COR AND Transmit audio/PTT on an SF interface
443 ; sf_rxtx: Same as sf_txrx (for our dyslexic friends)
444 ; ss7: Signalling System 7
446 ; signalling of a channel can not be changed on a reload.
450 ; If you have an outbound signalling format that is different from format
451 ; specified above (but compatible), you can specify outbound signalling format,
452 ; (see below). The 'signalling' format specified will be the inbound signalling
453 ; format. If you only specify 'signalling', then it will be the format for
454 ; both inbound and outbound.
456 ; outsignalling can only be one of:
457 ; em, em_e1, em_w, sf, sf_w, sf_featd, sf_featdmf, sf_featb, featd,
458 ; featdmf, featdmf_ta, e911, fgccama, fgccamamf
460 ; outsignalling cannot be changed on a reload.
466 ; For Feature Group D Tandem access, to set the default CIC and OZZ use these
467 ; parameters (Will not be updated on reload):
472 ; A variety of timing parameters can be specified as well
473 ; The default values for those are "-1", which is to use the
474 ; compile-time defaults of the DAHDI kernel modules. The timing
475 ; parameters, (with the standard default from DAHDI):
477 ; prewink: Pre-wink time (default 50ms)
478 ; preflash: Pre-flash time (default 50ms)
479 ; wink: Wink time (default 150ms)
480 ; flash: Flash time (default 750ms)
481 ; start: Start time (default 1500ms)
482 ; rxwink: Receiver wink time (default 300ms)
483 ; rxflash: Receiver flashtime (default 1250ms)
484 ; debounce: Debounce timing (default 600ms)
486 ; None of them will update on a reload.
488 ; How long generated tones (DTMF and MF) will be played on the channel
491 ; This is a global, rather than a per-channel setting. It will not be
492 ; updated on a reload.
496 ; Whether or not to do distinctive ring detection on FXO lines:
498 ;usedistinctiveringdetection=yes
500 ; enable dring detection after caller ID for those countries like Australia
501 ; where the ring cadence is changed *after* the caller ID spill:
503 ;distinctiveringaftercid=yes
505 ; Whether or not to use caller ID:
509 ; Type of caller ID signalling in use
510 ; bell = bell202 as used in US (default)
511 ; v23 = v23 as used in the UK
512 ; v23_jp = v23 as used in Japan
513 ; dtmf = DTMF as used in Denmark, Sweden and Netherlands
514 ; smdi = Use SMDI for caller ID. Requires SMDI to be enabled (usesmdi).
518 ; What signals the start of caller ID
519 ; ring = a ring signals the start (default)
520 ; polarity = polarity reversal signals the start
521 ; polarity_IN = polarity reversal signals the start, for India,
522 ; for dtmf dialtone detection; using DTMF.
523 ; (see https://wiki.asterisk.org/wiki/display/AST/Caller+ID+in+India)
524 ; dtmf = causes monitor loop to look for dtmf energy on the
525 ; incoming channel to initate cid acquisition
529 ; When cidstart=dtmf, the energy level on the line used to trigger dtmf cid
530 ; acquisition. This number is compared to the average over a packet of audio
531 ; of the absolute values of 16 bit signed linear samples. The default is set
532 ; to 256. The choice of 256 is arbitrary. The value you should select should
533 ; be high enough to prevent false detections while low enough to insure that
534 ; no dtmf spills are missed.
538 ; Whether or not to hide outgoing caller ID (Override with *67 or *82)
539 ; (If your dialplan doesn't catch it)
543 ; Enable if you need to hide just the name and not the number for legacy PBX use.
544 ; Only applies to PRI channels.
545 ;hidecalleridname=yes
547 ; On UK analog lines, the caller hanging up determines the end of calls. So
548 ; Asterisk hanging up the line may or may not end a call (DAHDI could just as
549 ; easily be re-attaching to a prior incoming call that was not yet hung up).
550 ; This option changes the hangup to wait for a dialtone on the line, before
551 ; marking the line as once again available for use with outgoing calls.
554 ; For analog lines, enables Asterisk to use dialtone detection per channel
555 ; if an incoming call was hung up before it was answered. If dialtone is
556 ; detected, the call is hung up.
557 ; no: Disabled. (Default)
558 ; yes: Look for dialtone for 10000 ms after answer.
559 ; <number>: Look for dialtone for the specified number of ms after answer.
560 ; always: Look for dialtone for the entire call. Dialtone may return
561 ; if the far end hangs up first.
565 ; The following option enables receiving MWI on FXO lines. The default
567 ; The mwimonitor can take the following values
568 ; no - No mwimonitoring occurs. (default)
569 ; yes - The same as specifying fsk
570 ; fsk - the FXO line is monitored for MWI FSK spills
571 ; fsk,rpas - the FXO line is monitored for MWI FSK spills preceded
572 ; by a ring pulse alert signal.
573 ; neon - The fxo line is monitored for the presence of NEON pulses
575 ; When detected, an internal Asterisk MWI event is generated so that any other
576 ; part of Asterisk that cares about MWI state changes is notified, just as if
577 ; the state change came from app_voicemail.
578 ; For FSK MWI Spills, the energy level that must be seen before starting the
579 ; MWI detection process can be set with 'mwilevel'.
584 ; This option is used in conjunction with mwimonitor. This will get executed
585 ; when incoming MWI state changes. The script is passed 2 arguments. The
586 ; first is the corresponding mailbox, and the second is 1 or 0, indicating if
587 ; there are messages waiting or not.
589 ;mwimonitornotify=/usr/local/bin/dahdinotify.sh
591 ; The following keyword 'mwisendtype' enables various VMWI methods on FXS lines (if supported).
592 ; The default is to send FSK only.
593 ; The following options are available;
594 ; 'rpas' Ring Pulse Alert Signal, alerts intelligent phones that a FSK message is about to be sent.
595 ; 'lrev' Line reversed to indicate messages waiting.
596 ; 'hvdc' 90Vdc OnHook DC voltage to indicate messages waiting.
597 ; 'hvac' or 'neon' 90Vac OnHook AC voltage to light Neon bulb.
598 ; 'nofsk' Disables FSK MWI spills from being sent out.
599 ; It is feasible that multiple options can be enabled.
600 ;mwisendtype=rpas,lrev
602 ; Whether or not to enable call waiting on internal extensions
603 ; With this set to 'yes', busy extensions will hear the call-waiting
604 ; tone, and can use hook-flash to switch between callers. The Dial()
605 ; app will not return the "BUSY" result for extensions.
609 ; Configure the number of outstanding call waiting calls for internal ISDN
610 ; endpoints before bouncing the calls as busy. This option is equivalent to
611 ; the callwaiting option for analog ports.
612 ; A call waiting call is a SETUP message with no B channel selected.
613 ; The default is zero to disable call waiting for ISDN endpoints.
614 ;max_call_waiting_calls=0
616 ; Allow incoming ISDN call waiting calls.
617 ; A call waiting call is a SETUP message with no B channel selected.
618 ;allow_call_waiting_calls=no
620 ; Configure the ISDN span to indicate MWI for the list of mailboxes.
621 ; You can give a comma separated list of up to 8 mailboxes per span.
622 ; An empty list disables MWI.
623 ; The default is an empty list.
624 ;mwi_mailboxes=mailbox_number[@context]{,mailbox_number[@context]}
626 ; Configure the ISDN span voicemail numbers for MWI mailboxes. What number
627 ; to call for a user to retrieve voicemail messages.
629 ; You can give a comma separated list of numbers. The position of the number
630 ; corresponds to the position in mwi_mailboxes. If a position is empty then
631 ; the last number is reused.
634 ; mwi_vm_numbers=700,,800,,900
636 ; mwi_vm_numbers=700,700,800,800,900
638 ; The default is no number.
641 ; Whether or not restrict outgoing caller ID (will be sent as ANI only, not
642 ; available for the user)
643 ; Mostly use with FXS ports
644 ; Does nothing. Use hidecallerid instead.
648 ; Whether or not to use the caller ID presentation from the Asterisk channel
649 ; for outgoing calls.
650 ; See dialplan function CALLERID(pres) for more information.
651 ; Only applies to PRI and SS7 channels.
655 ; Some countries (UK) have ring tones with different ring tones (ring-ring),
656 ; which means the caller ID needs to be set later on, and not just after
657 ; the first ring, as per the default (1).
659 ;sendcalleridafter = 2
662 ; Support caller ID on Call Waiting
664 callwaitingcallerid=yes
666 ; Support three-way calling
670 ; For FXS ports (either direct analog or over T1/E1):
671 ; Support flash-hook call transfer (requires three way calling)
672 ; Also enables call parking (overrides the 'canpark' parameter)
674 ; For digital ports using ISDN PRI protocols:
675 ; Support switch-side transfer (called 2BCT, RLT or other names)
676 ; This setting must be enabled on both ports involved, and the
677 ; 'facilityenable' setting must also be enabled to allow sending
678 ; the transfer to the ISDN switch, since it sent in a FACILITY
680 ; NOTE: This should be disabled for NT PTMP mode. Phones cannot
681 ; have tromboned calls pushed down to them.
686 ; ('canpark=no' is overridden by 'transfer=yes')
690 ; Sets the default parking lot for call parking.
691 ; This is setable per channel.
692 ; Parkinglots are configured in features.conf
697 ; Support call forward variable
701 ; Whether or not to support Call Return (*69, if your dialplan doesn't
706 ; Stutter dialtone support: If a mailbox is specified without a voicemail
707 ; context, then when voicemail is received in a mailbox in the default
708 ; voicemail context in voicemail.conf, taking the phone off hook will cause a
709 ; stutter dialtone instead of a normal one.
711 ; If a mailbox is specified *with* a voicemail context, the same will result
712 ; if voicemail received in mailbox in the specified voicemail context.
714 ; for default voicemail context, the example below is fine:
718 ; for any other voicemail context, the following will produce the stutter tone:
720 ;mailbox=1234@context
722 ; Enable echo cancellation
723 ; Use either "yes", "no", or a power of two from 32 to 256 if you wish to
724 ; actually set the number of taps of cancellation.
726 ; Note that when setting the number of taps, the number 256 does not translate
727 ; to 256 ms of echo cancellation. echocancel=256 means 256 / 8 = 32 ms.
729 ; Note that if any of your DAHDI cards have hardware echo cancellers,
730 ; then this setting only turns them on and off; numeric settings will
731 ; be treated as "yes". There are no special settings required for
732 ; hardware echo cancellers; when present and enabled in their kernel
733 ; modules, they take precedence over the software echo canceller compiled
734 ; into DAHDI automatically.
739 ; Some DAHDI echo cancellers (software and hardware) support adjustable
740 ; parameters; these parameters can be supplied as additional options to
741 ; the 'echocancel' setting. Note that Asterisk does not attempt to
742 ; validate the parameters or their values, so if you supply an invalid
743 ; parameter you will not know the specific reason it failed without
744 ; checking the kernel message log for the error(s) put there by DAHDI.
746 ;echocancel=128,param1=32,param2=0,param3=14
748 ; Generally, it is not necessary (and in fact undesirable) to echo cancel when
749 ; the circuit path is entirely TDM. You may, however, change this behavior
750 ; by enabling the echo canceller during pure TDM bridging below.
752 echocancelwhenbridged=yes
754 ; In some cases, the echo canceller doesn't train quickly enough and there
755 ; is echo at the beginning of the call. Enabling echo training will cause
756 ; DAHDI to briefly mute the channel, send an impulse, and use the impulse
757 ; response to pre-train the echo canceller so it can start out with a much
758 ; closer idea of the actual echo. Value may be "yes", "no", or a number of
759 ; milliseconds to delay before training (default = 400)
761 ; WARNING: In some cases this option can make echo worse! If you are
762 ; trying to debug an echo problem, it is worth checking to see if your echo
763 ; is better with the option set to yes or no. Use whatever setting gives
766 ; Note that these parameters do not apply to hardware echo cancellers.
771 ; If you are having trouble with DTMF detection, you can relax the DTMF
772 ; detection parameters. Relaxing them may make the DTMF detector more likely
773 ; to have "talkoff" where DTMF is detected when it shouldn't be.
777 ; You may also set the default receive and transmit gains (in dB)
779 ; Gain Settings: increasing / decreasing the volume level on a channel.
780 ; The values are in db (decibells). A positive number
781 ; increases the volume level on a channel, and a
782 ; negavive value decreases volume level.
784 ; Dynamic Range Compression: you can also enable dynamic range compression
785 ; on a channel. This will amplify quiet sounds while leaving
786 ; louder sounds untouched. This is useful in situations where
787 ; a linear gain setting would cause clipping. Acceptable values
788 ; are in the range of 0.0 to around 6.0 with higher values
789 ; causing more compression to be done.
791 ; There are several independent gain settings:
792 ; rxgain: gain for the rx (receive - into Asterisk) channel. Default: 0.0
793 ; txgain: gain for the tx (transmit - out of Asterisk Asterisk) channel.
795 ; cid_rxgain: set the gain just for the caller ID sounds Asterisk
796 ; emits. Default: 5.0 .
797 ; rxdrc: dynamic range compression for the rx channel. Default: 0.0
798 ; txdrc: dynamic range compression for the tx channel. Default: 0.0
806 ; Logical groups can be assigned to allow outgoing roll-over. Groups range
807 ; from 0 to 63, and multiple groups can be specified. By default the
808 ; channel is not a member of any group.
810 ; Note that an explicit empty value for 'group' is invalid, and will not
811 ; override a previous non-empty one. The same applies to callgroup and
812 ; pickupgroup as well.
816 ; Ring groups (a.k.a. call groups) and pickup groups. If a phone is ringing
817 ; and it is a member of a group which is one of your pickup groups, then
818 ; you can answer it by picking up and dialing *8#. For simple offices, just
819 ; make these both the same. Groups range from 0 to 63.
824 ; Channel variable to be set for all calls from this channel
826 ;setvar=ATTENDED_TRANSFER_COMPLETE_SOUND=beep ; This channel variable will
827 ; cause the given audio file to
828 ; be played upon completion of
829 ; an attended transfer.
832 ; Specify whether the channel should be answered immediately or if the simple
833 ; switch should provide dialtone, read digits, etc.
834 ; Note: If immediate=yes the dialplan execution will always start at extension
835 ; 's' priority 1 regardless of the dialed number!
839 ; Specify whether flash-hook transfers to 'busy' channels should complete or
840 ; return to the caller performing the transfer (default is yes).
844 ; Calls will have the party id user tag set to this string value.
848 ; With this set, you can automatically append the MSN of a party
849 ; to the cid_tag. An '_' is used to separate the tag from the MSN.
850 ; Applies to ISDN spans.
853 ; Table of what number is appended:
858 ;append_msn_to_cid_tag=no
860 ; caller ID can be set to "asreceived" or a specific number if you want to
861 ; override it. Note that "asreceived" only applies to trunk interfaces.
862 ; fullname sets just the
864 ; fullname: sets just the name part.
865 ; cid_number: sets just the number part:
869 ;callerid = My Name <2564286000>
870 ; Which can also be written as:
871 ;cid_number = 2564286000
874 ;callerid = asreceived
876 ; should we use the caller ID from incoming call on DAHDI transfer?
878 ;useincomingcalleridondahditransfer = yes
880 ; Add a description for the channel which can be shown through the Asterisk
881 ; console when executing the 'dahdi show channels' command is run.
883 ;description=Phone located in lobby
885 ; AMA flags affects the recording of Call Detail Records. If specified
886 ; it may be 'default', 'omit', 'billing', or 'documentation'.
890 ; Channels may be associated with an account code to ease
895 ; ADSI (Analog Display Services Interface) can be enabled on a per-channel
896 ; basis if you have (or may have) ADSI compatible CPE equipment
900 ; SMDI (Simplified Message Desk Interface) can be enabled on a per-channel
901 ; basis if you would like that channel to behave like an SMDI message desk.
902 ; The SMDI port specified should have already been defined in smdi.conf. The
903 ; default port is /dev/ttyS0.
908 ; On trunk interfaces (FXS) and E&M interfaces (E&M, Wink, Feature Group D
909 ; etc, it can be useful to perform busy detection either in an effort to
910 ; detect hangup or for detecting busies. This enables listening for
911 ; the beep-beep busy pattern.
915 ; If busydetect is enabled, it is also possible to specify how many busy tones
916 ; to wait for before hanging up. The default is 3, but it might be
917 ; safer to set to 6 or even 8. Mind that the higher the number, the more
918 ; time that will be needed to hangup a channel, but lowers the probability
919 ; that you will get random hangups.
923 ; If busydetect is enabled, it is also possible to specify the cadence of your
924 ; busy signal. In many countries, it is 500msec on, 500msec off. Without
925 ; busypattern specified, we'll accept any regular sound-silence pattern that
926 ; repeats <busycount> times as a busy signal. If you specify busypattern,
927 ; then we'll further check the length of the sound (tone) and silence, which
928 ; will further reduce the chance of a false positive.
932 ; NOTE: In make menuselect, you'll find further options to tweak the busy
933 ; detector. If your country has a busy tone with the same length tone and
934 ; silence (as many countries do), consider enabling the
935 ; BUSYDETECT_COMPARE_TONE_AND_SILENCE option.
937 ; To further detect which hangup tone your telco provider is sending, it is
938 ; useful to use the dahdi_monitor utility to record the audio that main/dsp.c
939 ; is receiving after the caller hangs up.
941 ; For FXS (FXO signalled) ports
942 ; switch the line polarity to signal the connected PBX that an outgoing
943 ; call was answered by the remote party.
944 ; For FXO (FXS signalled) ports
945 ; watch for a polarity reversal to mark when a outgoing call is
946 ; answered by the remote party.
948 ;answeronpolarityswitch=yes
950 ; For FXS (FXO signalled) ports
951 ; switch the line polarity to signal the connected PBX that the current
952 ; call was "hung up" by the remote party
953 ; For FXO (FXS signalled) ports
954 ; In some countries, a polarity reversal is used to signal the disconnect of a
955 ; phone line. If the hanguponpolarityswitch option is selected, the call will
956 ; be considered "hung up" on a polarity reversal.
958 ;hanguponpolarityswitch=yes
960 ; polarityonanswerdelay: minimal time period (ms) between the answer
961 ; polarity switch and hangup polarity switch.
964 ; On trunk interfaces (FXS) it can be useful to attempt to follow the progress
965 ; of a call through RINGING, BUSY, and ANSWERING. If turned on, call
966 ; progress attempts to determine answer, busy, and ringing on phone lines.
967 ; This feature is HIGHLY EXPERIMENTAL and can easily detect false answers,
968 ; so don't count on it being very accurate.
970 ; Few zones are supported at the time of this writing, but may be selected
973 ; progzone also affects the pattern used for buzydetect (unless
974 ; busypattern is set explicitly). The possible values are:
976 ; ca (alias for 'us')
978 ; br (Brazil, alias for 'cr')
981 ; This feature can also easily detect false hangups. The symptoms of this is
982 ; being disconnected in the middle of a call for no reason.
987 ; Set the tonezone. Equivalent of the defaultzone settings in
988 ; /etc/dahdi/system.conf. This sets the tone zone by number.
989 ; Note that you'd still need to load tonezones (loadzone in
990 ; /etc/dahdi/system.conf).
991 ; The default is -1: not to set anything.
992 ;tonezone = 0 ; 0 is US
994 ; FXO (FXS signalled) devices must have a timeout to determine if there was a
995 ; hangup before the line was answered. This value can be tweaked to shorten
996 ; how long it takes before DAHDI considers a non-ringing line to have hungup.
998 ; ringtimeout will not update on a reload.
1002 ; For FXO (FXS signalled) devices, whether to use pulse dial instead of DTMF
1003 ; Pulse digits from phones (FXS devices, FXO signalling) are always
1008 ; For fax detection, uncomment one of the following lines. The default is *OFF*
1015 ; When 'faxdetect' is used, one could use 'faxbuffers' to configure the DAHDI
1016 ; transmit buffer policy. The default is *OFF*. When this configuration
1017 ; option is used, the faxbuffer policy will be used for the life of the call
1018 ; after a fax tone is detected. The faxbuffer policy is reverted after the
1019 ; call is torn down. The sample below will result in 6 buffers and a full
1024 ; This option specifies what to do when the channel's bridged peer puts the
1025 ; ISDN channel on hold. Settable per logical ISDN span.
1026 ; moh: Generate music-on-hold to the remote party.
1027 ; notify: Send hold notification signaling to the remote party.
1028 ; For ETSI PTP and ETSI PTMP NT links.
1029 ; (The notify setting deprecates the mohinterpret=passthrough setting.)
1030 ; hold: Use HOLD/RETRIEVE signaling to release the B channel while on hold.
1031 ; For ETSI PTMP TE links.
1035 ; This option specifies a preference for which music on hold class this channel
1036 ; should listen to when put on hold if the music class has not been set on the
1037 ; channel with Set(CHANNEL(musicclass)=whatever) in the dialplan, and the peer
1038 ; channel putting this one on hold did not suggest a music class.
1040 ; This option may be set globally or on a per-channel basis.
1042 ;mohinterpret=default
1044 ; This option specifies which music on hold class to suggest to the peer channel
1045 ; when this channel places the peer on hold. This option may be set globally,
1046 ; or on a per-channel basis.
1050 ; PRI channels can have an idle extension and a minunused number. So long as
1051 ; at least "minunused" channels are idle, chan_dahdi will try to call "idledial"
1052 ; on them, and then dump them into the PBX in the "idleext" extension (which
1053 ; is of the form exten@context). When channels are needed the "idle" calls
1054 ; are disconnected (so long as there are at least "minidle" calls still
1055 ; running, of course) to make more channels available. The primary use of
1056 ; this is to create a dynamic service, where idle channels are bundled through
1057 ; multilink PPP, thus more efficiently utilizing combined voice/data services
1058 ; than conventional fixed mappings/muxings.
1060 ; Those settings cannot be changed on reload.
1063 ;idleext=6999@dialout
1068 ; ignore_failed_channels: Continue even if some channels failed to configure.
1069 ; False by default, as if even a single channel failed to configure, it might
1070 ; mean other channels are misplaced and having them work may not be a good
1071 ; idea. If enabled (set to true), chan_dahdi will nevertheless attempt to
1072 ; configure other channels rather than giving up. This normally makes sense
1073 ; only if you use names (<subdir>!<number>) for DAHDI channels.
1074 ;ignore_failed_channels = true
1076 ; Configure jitter buffers in DAHDI (each one is 20ms, default is 4)
1077 ; This is set globally, rather than per-channel.
1081 ;------------------------------ JITTER BUFFER CONFIGURATION --------------------------
1082 ; jbenable = yes ; Enables the use of a jitterbuffer on the receiving side of a
1083 ; DAHDI channel. Defaults to "no". An enabled jitterbuffer will
1084 ; be used only if the sending side can create and the receiving
1085 ; side can not accept jitter. The DAHDI channel can't accept jitter,
1086 ; thus an enabled jitterbuffer on the receive DAHDI side will always
1087 ; be used if the sending side can create jitter.
1089 ; jbmaxsize = 200 ; Max length of the jitterbuffer in milliseconds.
1091 ; jbresyncthreshold = 1000 ; Jump in the frame timestamps over which the jitterbuffer is
1092 ; resynchronized. Useful to improve the quality of the voice, with
1093 ; big jumps in/broken timestamps, usually sent from exotic devices
1094 ; and programs. Defaults to 1000.
1096 ; jbimpl = fixed ; Jitterbuffer implementation, used on the receiving side of a DAHDI
1097 ; channel. Two implementations are currently available - "fixed"
1098 ; (with size always equals to jbmax-size) and "adaptive" (with
1099 ; variable size, actually the new jb of IAX2). Defaults to fixed.
1101 ; jbtargetextra = 40 ; This option only affects the jb when 'jbimpl = adaptive' is set.
1102 ; The option represents the number of milliseconds by which the new
1103 ; jitter buffer will pad its size. the default is 40, so without
1104 ; modification, the new jitter buffer will set its size to the jitter
1105 ; value plus 40 milliseconds. increasing this value may help if your
1106 ; network normally has low jitter, but occasionally has spikes.
1108 ; jblog = no ; Enables jitterbuffer frame logging. Defaults to "no".
1109 ;-----------------------------------------------------------------------------------
1111 ; You can define your own custom ring cadences here. You can define up to 8
1112 ; pairs. If the silence is negative, it indicates where the caller ID spill is
1113 ; to be placed. Also, if you define any custom cadences, the default cadences
1114 ; will be turned off.
1116 ; This setting is global, rather than per-channel. It will not update on
1119 ; Syntax is: cadence=ring,silence[,ring,silence[...]]
1121 ; These are the default cadences:
1123 ;cadence=125,125,2000,-4000
1124 ;cadence=250,250,500,1000,250,250,500,-4000
1125 ;cadence=125,125,125,125,125,-4000
1126 ;cadence=1000,500,2500,-5000
1128 ; Each channel consists of the channel number or range. It inherits the
1129 ; parameters that were specified above its declaration.
1132 ;callerid="Green Phone"<(256) 428-6121>
1133 ;description=Reception Phone ; add a description for 'dahdi show channels'
1135 ;callerid="Black Phone"<(256) 428-6122>
1136 ;description=Courtesy Phone
1138 ;callerid="CallerID Phone" <(630) 372-1564>
1139 ;description= ; reset the description for following channels
1141 ;callerid="Pac Tel Phone" <(256) 428-6124>
1143 ;callerid="Uniden Dead" <(256) 428-6125>
1145 ;callerid="Cortelco 2500" <(256) 428-6126>
1147 ;callerid="Main TA 750" <(256) 428-6127>
1150 ; For example, maybe we have some other channels which start out in a
1151 ; different context and use E & M signalling instead.
1160 ; All those in group 0 I'll use for outgoing calls
1162 ; Strip most significant digit (9) before sending
1165 ;callerid=asreceived
1172 ;callerid="Joe Schmoe" <(256) 428-6131>
1174 ;callerid="Megan May" <(256) 428-6132>
1176 ;callerid="Suzy Queue" <(256) 428-6233>
1178 ;callerid="Larry Moe" <(256) 428-6234>
1181 ; Sample PRI (CPE) config: Specify the switchtype, the signalling as either
1182 ; pri_cpe or pri_net for CPE or Network termination, and generally you will
1183 ; want to create a single "group" for all channels of the PRI.
1185 ; switchtype cannot be changed on a reload.
1187 ; switchtype = national
1188 ; signalling = pri_cpe
1192 ; Alternatively, the number of the channel may be replaced with a relative
1193 ; path to a device file under /dev/dahdi . The final element of that file
1194 ; must be a number, though. The directory separator is '!', as we can't
1195 ; use '/' in a dial string. So if we have
1197 ; /dev/dahdi/span-name/pstn/00/1
1198 ; /dev/dahdi/span-name/pstn/00/2
1199 ; /dev/dahdi/span-name/pstn/00/3
1200 ; /dev/dahdi/span-name/pstn/00/4
1203 ;channel => span-name!pstn!00!1-4
1206 ;channel => span-name!pstn!00!1,2,3,4
1208 ; See also ignore_failed_channels above.
1210 ; Used for distinctive ring support for x100p.
1211 ; You can see the dringX patterns is to set any one of the dringXcontext fields
1212 ; and they will be printed on the console when an inbound call comes in.
1214 ; dringXrange is used to change the acceptable ranges for "tone offsets". Defaults to 10.
1215 ; Note: a range of 0 is NOT what you might expect - it instead forces it to the default.
1216 ; A range of -1 will force it to always match.
1217 ; Anything lower than -1 would presumably cause it to never match.
1220 ;dring1context=internal1
1223 ;dring2context=internal2
1225 ; If no pattern is matched here is where we go.
1229 ; AMI alarm event reporting
1230 ;reportalarms=channels
1231 ;Possible values are:
1232 ;channels - report each channel alarms (current behavior, default for backward compatibility)
1233 ;spans - report an "SpanAlarm" event when the span of any configured channel is alarmed
1234 ;all - report channel and span alarms (aggregated behavior)
1235 ;none - do not report any alarms.
1237 ; ---------------- Options for use with signalling=ss7 -----------------
1238 ; None of them can be changed by a reload.
1240 ; Variant of SS7 signalling:
1241 ; Options are itu and ansi
1244 ; SS7 Called Nature of Address Indicator
1247 ; subscriber: Subscriber
1248 ; national: National
1249 ; international: International
1250 ; dynamic: Dynamically selects the appropriate dialplan
1252 ;ss7_called_nai=dynamic
1254 ; SS7 Calling Nature of Address Indicator
1257 ; subscriber: Subscriber
1258 ; national: National
1259 ; international: International
1260 ; dynamic: Dynamically selects the appropriate dialplan
1262 ;ss7_calling_nai=dynamic
1265 ; sample 1 for Germany
1266 ;ss7_internationalprefix = 00
1267 ;ss7_nationalprefix = 0
1268 ;ss7_subscriberprefix =
1269 ;ss7_unknownprefix =
1272 ; This option is used to disable automatic sending of ACM when the call is started
1273 ; in the dialplan. If you do use this option, you will need to use the Proceeding()
1274 ; application in the dialplan to send ACM.
1277 ; All settings apply to linkset 1
1280 ; Point code of the linkset. For ITU, this is the decimal number
1281 ; format of the point code. For ANSI, this can either be in decimal
1282 ; number format or in the xxx-xxx-xxx format
1285 ; Point code of node adjacent to this signalling link (Possibly the STP between you and
1286 ; your destination). Point code format follows the same rules as above.
1289 ; Default point code that you would like to assign to outgoing messages (in case of
1290 ; routing through STPs, or using A links). Point code format follows the same rules
1294 ; Begin CIC (Circuit indication codes) count with this number
1297 ; What the MTP3 network indicator bits should be set to. Choices are
1298 ; national, national_spare, international, international_spare
1299 ;networkindicator=international
1301 ; First signalling channel
1304 ; Additional signalling channel for this linkset (So you can have a linkset
1305 ; with two signalling links in it). It seems like a silly way to do it, but
1306 ; for linksets with multiple signalling links, you add an additional sigchan
1307 ; line for every additional signalling link on the linkset.
1310 ; Channels to associate with CICs on this linkset
1313 ; For more information on setting up SS7, see the README file in libss7 or
1314 ; https://wiki.asterisk.org/wiki/display/AST/Signaling+System+Number+7
1315 ; ----------------- SS7 Options ----------------------------------------
1317 ; ---------------- Options for use with signalling=mfcr2 --------------
1319 ; MFC-R2 signaling has lots of variants from country to country and even sometimes
1320 ; minor variants inside the same country. The only mandatory parameters here are:
1321 ; mfcr2_variant, mfcr2_max_ani and mfcr2_max_dnis.
1322 ; IT IS RECOMMENDED that you leave the default values (leaving it commented) for the
1323 ; other parameters unless you have problems or you have been instructed to change some
1324 ; parameter. OpenR2 library uses the mfcr2_variant parameter to try to determine the
1325 ; best defaults for your country, also refer to the OpenR2 package directory
1326 ; doc/asterisk/ where you can find sample configurations for some countries. If you
1327 ; want to contribute your configs for a particular country send them to the e-mail
1328 ; of the primary OpenR2 developer that you can find in the AUTHORS file of the OpenR2 package
1330 ; MFC/R2 variant. This depends on the OpenR2 supported variants
1331 ; A list of values can be found by executing the openr2 command r2test -l
1332 ; some valid values are:
1337 ; itu (per ITU spec)
1340 ; Max amount of ANI to ask for
1343 ; Max amount of DNIS to ask for
1346 ; whether or not to get the ANI before getting DNIS.
1347 ; some telcos require ANI first some others do not care
1348 ; if this go wrong, change this value
1349 ; mfcr2_get_ani_first=no
1351 ; Caller Category to send
1352 ; national_subscriber
1353 ; national_priority_subscriber
1354 ; international_subscriber
1355 ; international_priority_subscriber
1357 ; usually national_subscriber works just fine
1358 ; you can change this setting from the dialplan
1359 ; by setting the variable MFCR2_CATEGORY
1360 ; (remember to set _MFCR2_CATEGORY from originating channels)
1361 ; MFCR2_CATEGORY will also be a variable available in your context
1362 ; on incoming calls set to the value received from the far end
1363 ; mfcr2_category=national_subscriber
1365 ; Call logging is stored at the Asterisk
1366 ; logging directory specified in asterisk.conf
1367 ; plus mfcr2/<whatever you put here>
1368 ; if you specify 'span1' here and asterisk.conf has
1369 ; as logging directory /var/log/asterisk then the full
1370 ; path to your MFC/R2 call logs will be /var/log/asterisk/mfcr2/span1
1371 ; (the directory will be automatically created if not present already)
1372 ; remember to set mfcr2_call_files=yes
1373 ; mfcr2_logdir=span1
1375 ; whether or not to drop call files into mfcr2_logdir
1376 ; mfcr2_call_files=yes|no
1378 ; MFC/R2 valid logging values are: all,error,warning,debug,notice,cas,mf,stack,nothing
1379 ; error,warning,debug and notice are self-descriptive
1380 ; 'cas' is for logging ABCD CAS tx and rx
1381 ; 'mf' is for logging of the Multi Frequency tones
1382 ; 'stack' is for very verbose output of the channel and context call stack, only useful
1383 ; if you are debugging a crash or want to learn how the library works. The stack logging
1384 ; will be only enabled if the openr2 library was compiled with -DOR2_TRACE_STACKS
1385 ; You can mix up values, like: loglevel=error,debug,mf to log just error, debug and
1386 ; multi frequency messages
1387 ; 'all' is a special value to log all the activity
1388 ; 'nothing' is a clean-up value, in case you want to not log any activity for
1389 ; a channel or group of channels
1390 ; BE AWARE that the level of output logged will ALSO depend on
1391 ; the value you have in logger.conf, if you disable output in logger.conf
1392 ; then it does not matter you specify 'all' here, nothing will be logged
1393 ; so logger.conf has the last word on what is going to be logged
1396 ; MFC/R2 value in milliseconds for the MF timeout. Any negative value
1397 ; means 'default', smaller values than 500ms are not recommended
1398 ; and can cause malfunctioning. If you experience protocol error
1399 ; due to MF timeout try incrementing this value in 500ms steps
1400 ; mfcr2_mfback_timeout=-1
1402 ; MFC/R2 value in milliseconds for the metering pulse timeout.
1403 ; Metering pulses are sent by some telcos for some R2 variants
1404 ; during a call presumably for billing purposes to indicate costs,
1405 ; however this pulses use the same signal that is used to indicate
1406 ; call hangup, therefore a timeout is sometimes required to distinguish
1407 ; between a *real* hangup and a billing pulse that should not
1408 ; last more than 500ms, If you experience call drops after some
1409 ; minutes of being stablished try setting a value of some ms here,
1410 ; values greater than 500ms are not recommended.
1411 ; BE AWARE that choosing the proper protocol mfcr2_variant parameter
1412 ; implicitly sets a good recommended value for this timer, use this
1413 ; parameter only when you *really* want to override the default, otherwise
1414 ; just comment out this value or put a -1
1415 ; Any negative value means 'default'.
1416 ; mfcr2_metering_pulse_timeout=-1
1418 ; Brazil uses a special calling party category for collect calls (llamadas por cobrar)
1419 ; instead of using the operator (as in Mexico). The R2 spec in Brazil says a special GB tone
1420 ; should be used to reject collect calls. If you want to ALLOW collect calls specify 'yes',
1421 ; if you want to BLOCK collect calls then say 'no'. Default is to block collect calls.
1422 ; (see also 'mfcr2_double_answer')
1423 ; mfcr2_allow_collect_calls=no
1425 ; This feature is related but independent of mfcr2_allow_collect_calls
1426 ; Some PBX's require a double-answer process to block collect calls, if
1427 ; you ever have problems blocking collect calls using Group B signals (mfcr2_allow_collect_calls=no)
1428 ; then you may want to try with mfcr2_double_answer=yes, this will cause that every answer signal
1429 ; is changed by answer->clear back->answer (sort of a flash)
1430 ; (see also 'mfcr2_allow_collect_calls')
1431 ; mfcr2_double_answer=no
1433 ; This feature allows to skip the use of Group B/II signals and go directly
1434 ; to the accepted state for incoming calls
1435 ; mfcr2_immediate_accept=no
1437 ; You most likely dont need this feature. Default is yes.
1438 ; When this is set to yes, all calls that are offered (incoming calls) which
1439 ; DNIS is valid (exists in extensions.conf) and pass collect call validation
1440 ; will be accepted with a Group B tone (either call with charge or not, depending on mfcr2_charge_calls)
1441 ; with this set to 'no' then the call will NOT be accepted on offered, and the call will start its
1442 ; execution in extensions.conf without being accepted until the channel is answered (either with Answer() or
1443 ; any other application resulting in the channel being answered).
1444 ; This can be set to 'no' if your telco or PBX needs the hangup cause to be set accurately
1445 ; when this option is set to no you must explicitly accept the call with DAHDIAcceptR2Call
1446 ; or implicitly through the Answer() application.
1447 ; mfcr2_accept_on_offer=yes
1449 ; Skip request of calling party category and ANI
1450 ; you need openr2 >= 1.2.0 to use this feature
1451 ; mfcr2_skip_category=no
1453 ; WARNING: advanced users only! I really mean it
1454 ; this parameter is commented by default because
1455 ; YOU DON'T NEED IT UNLESS YOU REALLY GROK MFC/R2
1456 ; READ COMMENTS on doc/r2proto.conf in openr2 package
1458 ; mfcr2_advanced_protocol_file=/path/to/r2proto.conf
1460 ; Brazil use a special signal to force the release of the line (hangup) from the
1461 ; backward perspective. When mfcr2_forced_release=no, the normal clear back signal
1462 ; will be sent on hangup, which is OK for all mfcr2 variants I know of, except for
1463 ; Brazilian variant, where the central will leave the line up for several seconds (30, 60)
1464 ; which sometimes is not what people really want. When mfcr2_forced_release=yes, a different
1465 ; signal will be sent to hangup the call indicating that the line should be released immediately
1466 ; mfcr2_forced_release=no
1468 ; Whether or not report to the other end 'accept call with charge'
1469 ; This setting has no effect with most telecos, usually is safe
1470 ; leave the default (yes), but once in a while when interconnecting with
1471 ; old PBXs this may be useful.
1472 ; Concretely this affects the Group B signal used to accept calls
1473 ; The application DAHDIAcceptR2Call can also be used to decide this
1474 ; in the dial plan in a per-call basis instead of doing it here for all calls
1475 ; mfcr2_charge_calls=yes
1477 ; ---------------- END of options to be used with signalling=mfcr2
1479 ; Configuration Sections
1480 ; ~~~~~~~~~~~~~~~~~~~~~~
1481 ; You can also configure channels in a separate chan_dahdi.conf section. In
1482 ; this case the keyword 'channel' is not used. Instead the keyword
1483 ; 'dahdichan' is used (as in users.conf) - configuration is only processed
1484 ; in a section where the keyword dahdichan is used. It will only be
1485 ; processed in the end of the section. Thus the following section:
1492 ; Is somewhat equivalent to the following snippet in the section
1499 ; When starting a new section almost all of the configuration values are
1500 ; copied from their values at the end of the section [channels] in
1501 ; chan_dahdi.conf and [general] in users.conf - one section's configuration
1502 ; does not affect another one's.
1504 ; Instead of letting common configuration values "slide through" you can
1505 ; use configuration templates to easily keep the common part in one
1506 ; place and override where needed.
1513 ;threewaycalling = yes
1516 ;faxdetect = incoming
1520 ;callerid = My Name <501>
1521 ;mailbox = 501@mailboxes