; ; Zapata telephony interface ; ; Configuration file [channels] ; ; Default language language=en ; ; Default context context=bellsouth ; ; Overlap dialing mode (sending overlap digits) ;overlapdial=yes ; ; Signalling method (default is fxs). Valid values: ; fxs_ks: FXS (Kewl Start) ; fxo_ks: FXO (Kewl Start) ; signalling=fxs_ks ; ; Whether or not to do distinctive ring detection on FXO lines usedistinctiveringdetection=yes ; ; Whether or not to use caller ID usecallerid=yes ; ; Whether or not to hide outgoing caller ID (Override with *67 or *82) hidecallerid=no ; ; Whether or not to enable call waiting on FXO lines callwaiting=yes ; ; Whether or not restrict outgoing caller ID (will be sent as ANI only, not available for the user) ; Mostly use with FXS ports restrictcid=no ; ; Whether or not use the caller ID presentation for the outgoing call that the calling switch is sending usecallingpres=yes ; ; Support Caller*ID on Call Waiting callwaitingcallerid=yes ; ; Support three-way calling threewaycalling=yes ; ; Support flash-hook call transfer (requires three way calling) transfer=yes ; ; Support call forward variable cancallforward=yes ; ; Whether or not to support Call Return (*69) callreturn=yes ; ; Enable echo cancellation ; Use either "yes", "no", or a power of two from 32 to 256 if you wish ; to actually set the number of taps of cancellation. echocancel=yes ; ; Generally, it is not necessary (and in fact undesirable) to echo cancel ; when the circuit path is entirely TDM. You may, however, reverse this ; behavior by enabling the echo cancel during pure TDM bridging below. echocancelwhenbridged=yes ; ; In some cases, the echo canceller doesn't train quickly enough and there ; is echo at the beginning of the call. Enabling echo training will cause ; asterisk to briefly mute the channel, send an impulse, and use the impulse ; response to pre-train the echo canceller so it can start out with a much ; closer idea of the actual echo. ;echotraining=yes ; ; If you are having trouble with DTMF detection, you can relax the ; DTMF detection parameters. Relaxing them may make the DTMF detector ; more likely to have "talkoff" where DTMF is detected when it ; shouldn't be. ;relaxdtmf=yes ; ; You may also set the default receive and transmit gains (in dB) rxgain=0.0 txgain=0.0 ; ; Logical groups can be assigned to allow outgoing rollover. Groups ; range from 0 to 31, and multiple groups can be specified. ; group=1 ; ; Ring groups (a.k.a. call groups) and pickup groups. If a phone is ringing ; and it is a member of a group which is one of your pickup groups, then ; you can answer it by picking up and dialing *8#. For simple offices, just ; make these both the same callgroup=2 pickupgroup=2 ; ; Specify whether the channel should be answered immediately or ; if the simple switch should provide dialtone, read digits, etc. immediate=no ; ; CallerID can be set to "asreceived" or a specific number ; if you want to override it. Note that "asreceived" only ; applies to trunk interfaces. callerid=asreceived ; ; AMA flags affects the recording of Call Detail Records. If specified ; it may be 'default', 'omit', 'billing', or 'documentation'. ; ;amaflags=default ; ; On trunk interfaces (FXS) and E&M interfaces (E&M, Wink, Feature Group D ; etc, it can be useful to perform busy detection either in an effort to ; detect hangup or for detecting busies busydetect=yes ; ; If busydetect is enabled, is also possible to specify how many ; busy tones to wait before hanging up. The default is 4, but ; better results can be achieved if set to 6 or even 8. Mind that ; higher the number, more time is needed to hangup a channel, but ; lower is probability to get random hangups busycount=4 ; ; On trunk interfaces (FXS) it can be useful to attempt to follow the progress ; of a call through RINGING, BUSY, and ANSWERING. If turned on, call ; progress attempts to determine answer, busy, and ringing on phone lines. ; This feature is HIGHLY EXPERIMENTAL and can easily detect false answers, ; so don't count on it being very accurate. Also, it is ONLY configured for ; standard U.S. tones. This feature can also easily detect false hangups. ; The symptoms of this is being disconnected in the middle of a call for no ; reason. ;callprogress=yes ; ; Select which class of music to use for music on hold. If not specified ; then the default will be used. ; musiconhold=default ; ; Each channel consists of the channel number or range. It ; inherits the parameters that were specified above its declaration ; channel=1 ; ; my home channels context=home group=2 sigalling=fxo_ks callerid="phone 1" <55> mailbox=55 channel=2 ;stripmsd=1 ; ; Used for distintive ring support for x100p. ; You can see the dringX patterns is to set any one of the dringXcontext fields ; and they will be printed on the console when an inbound call comes in. ; ;dring1=95,0,0 ;dring1context=internal1 ;dring2=325,95,0 ;dring2context=internal2 ; If no pattern is matched here is where we go.