improve header inclusion process in a few small ways:
[asterisk-bristuff.git] / configs / h323.conf.sample
blob4b558ec0b06130945948b58f06ad0debfc78e457
1 ; The NuFone Network's
2 ; Open H.323 driver configuration
4 [general]
5 port = 1720
6 ;bindaddr = 1.2.3.4     ; this SHALL contain a single, valid IP address for this machine
7 ;tos=lowdelay
9 ; You may specify a global default AMA flag for iaxtel calls.  It must be
10 ; one of 'default', 'omit', 'billing', or 'documentation'.  These flags
11 ; are used in the generation of call detail records.
13 ;amaflags = default
15 ; You may specify a default account for Call Detail Records in addition
16 ; to specifying on a per-user basis
18 ;accountcode=lss0101
20 ; You can fine tune codecs here using "allow" and "disallow" clauses
21 ; with specific codecs.  Use "all" to represent all formats.
23 ;disallow=all
24 ;allow=all              ; turns on all installed codecs
25 ;disallow=g723.1        ; Hm...  Proprietary, don't use it...
26 ;allow=gsm              ; Always allow GSM, it's cool :)
27 ;allow=ulaw             ; see doc/rtp-packetization for framing options
29 ; User-Input Mode (DTMF)
31 ; valid entries are:   rfc2833, inband
32 ; default is rfc2833
33 ;dtmfmode=rfc2833
35 ; Default RTP Payload to send RFC2833 DTMF on.  This is used to
36 ; interoperate with broken gateways which cannot successfully
37 ; negotiate a RFC2833 payload type in the TerminalCapabilitySet.
39 ; You may also specify on either a per-peer or per-user basis below.
40 ;dtmfcodec=101
42 ; Set the gatekeeper 
43 ; DISCOVER                      - Find the Gk address using multicast
44 ; DISABLE                       - Disable the use of a GK
45 ; <IP address> or <Host name>   - The acutal IP address or hostname of your GK
46 ;gatekeeper = DISABLE
49 ; Tell Asterisk whether or not to accept Gatekeeper
50 ; routed calls or not. Normally this should always
51 ; be set to yes, unless you want to have finer control
52 ; over which users are allowed access to Asterisk.
53 ; Default: YES
55 ;AllowGKRouted = yes
57 ; When the channel works without gatekeeper, there is possible to
58 ; reject calls from anonymous (not listed in users) callers.
59 ; Default is to allow anonymous calls.
61 ;AcceptAnonymous = yes
63 ; Optionally you can determine a user by Source IP versus its H.323 alias.
64 ; Default behavour is to determine user by H.323 alias.
66 ;UserByAlias=no
68 ; Default context gets used in siutations where you are using 
69 ; the GK routed model or no type=user was found. This gives you 
70 ; the ability to either play an invalid message or to simply not 
71 ; use user authentication at all.
73 ;context=default
75 ; Use this option to help Cisco (or other) gateways to setup backward voice
76 ; path to pass inband tones to calling user (see, for example,
77 ; http://www.cisco.com/warp/public/788/voip/ringback.html)
79 ; Add PROGRESS information element to SETUP message sent on outbound calls
80 ; to notify about required backward voice path. Valid values are:
81 ;   0 - don't add PROGRESS information element (default);
82 ;   1 - call is not end-end ISDN, further call progress information can
83 ;        possibly be available in-band;
84 ;   3 - origination address is non-ISDN (Cisco accepts this value only);
85 ;   8 - in-band information or an appropriate pattern is now available;
86 ;progress_setup = 3
88 ; Add PROGRESS information element (IE) to ALERT message sent on incoming
89 ; calls to notify about required backwared voice path. Valid values are:
90 ;   0 - don't add PROGRESS IE (default);
91 ;   8 - in-band information or an appropriate pattern is now available;
92 ;progress_alert = 8
94 ; Generate PROGRESS message when H.323 audio path has established to create
95 ; backward audio path at other end of a call.
96 ;progress_audio = yes
98 ; Specify how to inject non-standard information into H.323 messages. When
99 ; the channel receives messages with tunneled information, it automatically
100 ; enables the same option for all further outgoing messages independedly on
101 ; options has been set by the configuration. This behavior is required, for
102 ; example, for Cisco CallManager when Q.SIG tunneling is enabled for a
103 ; gateway where Asterisk lives.
104 ; The option can be used multiple times, one option per line.
105 ;tunneling=none              ; Totally disable tunneling (default)
106 ;tunneling=cisco             ; Enable Cisco-specific tunneling
107 ;tunneling=qsig              ; Enable tunneling via Q.SIG messages
109 ;------------------------------ JITTER BUFFER CONFIGURATION --------------------------
110 ; jbenable = yes              ; Enables the use of a jitterbuffer on the receiving side of a
111                               ; H323 channel. Defaults to "no". An enabled jitterbuffer will
112                               ; be used only if the sending side can create and the receiving
113                               ; side can not accept jitter. The H323 channel can accept jitter,
114                               ; thus an enabled jitterbuffer on the receive H323 side will only
115                               ; be used if the sending side can create jitter and jbforce is
116                               ; also set to yes.
118 ; jbforce = no                ; Forces the use of a jitterbuffer on the receive side of a H323
119                               ; channel. Defaults to "no".
121 ; jbmaxsize = 200             ; Max length of the jitterbuffer in milliseconds.
123 ; jbresyncthreshold = 1000    ; Jump in the frame timestamps over which the jitterbuffer is
124                               ; resynchronized. Useful to improve the quality of the voice, with
125                               ; big jumps in/broken timestamps, usualy sent from exotic devices
126                               ; and programs. Defaults to 1000.
128 ; jbimpl = fixed              ; Jitterbuffer implementation, used on the receiving side of a H323
129                               ; channel. Two implementations are currenlty available - "fixed"
130                               ; (with size always equals to jbmax-size) and "adaptive" (with
131                               ; variable size, actually the new jb of IAX2). Defaults to fixed.
133 ; jblog = no                  ; Enables jitterbuffer frame logging. Defaults to "no".
134 ;-----------------------------------------------------------------------------------
136 ; H.323 Alias definitions
138 ; Type 'h323' will register aliases to the endpoint
139 ; and Gatekeeper, if there is one.
141 ; Example: if someone calls time@your.asterisk.box.com
142 ; Asterisk will send the call to the extension 'time' 
143 ; in the context default
145 ;   [default]
146 ;   exten => time,1,Answer
147 ;   exten => time,2,Playback,current-time
149 ; Keyword's 'prefix' and 'e164' are only make sense when
150 ; used with a gatekeeper. You can specify either a prefix 
151 ; or E.164 this endpoint is responsible for terminating.
153 ; Example: The H.323 alias 'det-gw' will tell the gatekeeper
154 ; to route any call with the prefix 1248 to this alias. Keyword
155 ; e164 is used when you want to specifiy a full telephone
156 ; number. So a call to the number 18102341212 would be 
157 ; routed to the H.323 alias 'time'.
159 ;[time]
160 ;type=h323
161 ;e164=18102341212
162 ;context=default
164 ;[det-gw]
165 ;type=h323
166 ;prefix=1248,1313
167 ;context=detroit
170 ; Inbound H.323 calls from BillyBob would land in the incoming
171 ; context with a maximum of 4 concurrent incoming calls 
174 ; Note: If keyword 'incominglimit' are omitted Asterisk will not 
175 ; enforce any maximum number of concurrent calls.
177 ;[BillyBob]
178 ;type=user
179 ;host=192.168.1.1
180 ;context=incoming
181 ;incominglimit=4
182 ;h245Tunneling=no
185 ; Outbound H.323 call to Larry using SlowStart
187 ;[Larry]
188 ;type=peer
189 ;host=192.168.2.1
190 ;fastStart=no