2003-03-31 07:13:36 +00:00
|
|
|
; The NuFone Network's
|
|
|
|
; Open H.323 driver configuration
|
|
|
|
;
|
|
|
|
[general]
|
|
|
|
port = 1720
|
2004-10-14 05:32:07 +00:00
|
|
|
bindaddr = 1.2.3.4 ; this SHALL contain a single, valid IP address for this machine
|
2003-03-31 07:13:36 +00:00
|
|
|
;tos=lowdelay
|
|
|
|
;
|
|
|
|
; You may specify a global default AMA flag for iaxtel calls. It must be
|
|
|
|
; one of 'default', 'omit', 'billing', or 'documentation'. These flags
|
|
|
|
; are used in the generation of call detail records.
|
|
|
|
;
|
|
|
|
;amaflags = default
|
|
|
|
;
|
|
|
|
; You may specify a default account for Call Detail Records in addition
|
|
|
|
; to specifying on a per-user basis
|
|
|
|
;
|
|
|
|
;accountcode=lss0101
|
|
|
|
;
|
|
|
|
; You can fine tune codecs here using "allow" and "disallow" clauses
|
|
|
|
; with specific codecs. Use "all" to represent all formats.
|
|
|
|
;
|
2003-09-25 23:16:36 +00:00
|
|
|
disallow=all
|
2003-03-31 07:13:36 +00:00
|
|
|
;allow=all ; turns on all installed codecs
|
2003-09-25 23:16:36 +00:00
|
|
|
;disallow=g723.1 ; Hm... Proprietary, don't use it...
|
|
|
|
allow=gsm ; Always allow GSM, it's cool :)
|
2003-03-31 07:13:36 +00:00
|
|
|
;
|
|
|
|
; User-Input Mode (DTMF)
|
|
|
|
;
|
|
|
|
; valid entries are: rfc2833, inband
|
|
|
|
; default is rfc2833
|
|
|
|
;dtmfmode=rfc2833
|
|
|
|
;
|
2004-12-16 02:03:19 +00:00
|
|
|
; Default RTP Payload to send RFC2833 DTMF on. This is used to
|
|
|
|
; interoperate with broken gateways which cannot successfully
|
|
|
|
; negotiate a RFC2833 payload type in the TerminalCapabilitySet.
|
|
|
|
;
|
|
|
|
; You may also specify on either a per-peer or per-user basis below.
|
|
|
|
;dtmfcodec=101
|
|
|
|
;
|
2003-03-31 07:13:36 +00:00
|
|
|
; Set the gatekeeper
|
|
|
|
; DISCOVER - Find the Gk address using multicast
|
|
|
|
; DISABLE - Disable the use of a GK
|
|
|
|
; <IP address> or <Host name> - The acutal IP address or hostname of your GK
|
|
|
|
;gatekeeper = DISABLE
|
|
|
|
;
|
|
|
|
;
|
|
|
|
; Tell Asterisk whether or not to accept Gatekeeper
|
|
|
|
; routed calls or not. Normally this should always
|
|
|
|
; be set to yes, unless you want to have finer control
|
|
|
|
; over which users are allowed access to Asterisk.
|
|
|
|
; Default: YES
|
|
|
|
;
|
|
|
|
;AllowGKRouted = yes
|
|
|
|
;
|
2005-11-03 01:30:33 +00:00
|
|
|
; Optionally you can determine a user by Source IP versus its H.323 alias.
|
|
|
|
; Default behavour is to determine user by H.323 alias.
|
|
|
|
;UserByAlias=no
|
|
|
|
;
|
2003-03-31 07:13:36 +00:00
|
|
|
; Default context gets used in siutations where you are using
|
|
|
|
; the GK routed model or no type=user was found. This gives you
|
|
|
|
; the ability to either play an invalid message or to simply not
|
2004-03-20 14:14:00 +00:00
|
|
|
; use user authentication at all.
|
2003-03-31 07:13:36 +00:00
|
|
|
;
|
|
|
|
;context=default
|
2006-06-01 16:47:28 +00:00
|
|
|
;------------------------------ JITTER BUFFER CONFIGURATION --------------------------
|
|
|
|
; jbenable = yes ; Enables the use of a jitterbuffer on the receiving side of a
|
|
|
|
; H323 channel. Defaults to "no". An enabled jitterbuffer will
|
|
|
|
; be used only if the sending side can create and the receiving
|
|
|
|
; side can not accept jitter. The H323 channel can accept jitter,
|
|
|
|
; thus an enabled jitterbuffer on the receive H323 side will only
|
|
|
|
; be used if the sending side can create jitter and jbforce is
|
|
|
|
; also set to yes.
|
|
|
|
|
|
|
|
; jbforce = no ; Forces the use of a jitterbuffer on the receive side of a H323
|
|
|
|
; channel. Defaults to "no".
|
|
|
|
|
|
|
|
; jbmaxsize = 200 ; Max length of the jitterbuffer in milliseconds.
|
|
|
|
|
|
|
|
; jbresyncthreshold = 1000 ; Jump in the frame timestamps over which the jitterbuffer is
|
|
|
|
; resynchronized. Useful to improve the quality of the voice, with
|
|
|
|
; big jumps in/broken timestamps, usualy sent from exotic devices
|
|
|
|
; and programs. Defaults to 1000.
|
|
|
|
|
|
|
|
; jbimpl = fixed ; Jitterbuffer implementation, used on the receiving side of a H323
|
|
|
|
; channel. Two implementations are currenlty available - "fixed"
|
|
|
|
; (with size always equals to jbmax-size) and "adaptive" (with
|
|
|
|
; variable size, actually the new jb of IAX2). Defaults to fixed.
|
|
|
|
|
|
|
|
; jblog = no ; Enables jitterbuffer frame logging. Defaults to "no".
|
|
|
|
;-----------------------------------------------------------------------------------
|
2003-03-31 07:13:36 +00:00
|
|
|
;
|
|
|
|
; H.323 Alias definitions
|
|
|
|
;
|
|
|
|
; Type 'h323' will register aliases to the endpoint
|
2004-03-20 14:14:00 +00:00
|
|
|
; and Gatekeeper, if there is one.
|
2003-03-31 07:13:36 +00:00
|
|
|
;
|
|
|
|
; Example: if someone calls time@your.asterisk.box.com
|
|
|
|
; Asterisk will send the call to the extension 'time'
|
|
|
|
; in the context default
|
|
|
|
;
|
|
|
|
; [default]
|
|
|
|
; exten => time,1,Answer
|
|
|
|
; exten => time,2,Playback,current-time
|
|
|
|
;
|
|
|
|
; Keyword's 'prefix' and 'e164' are only make sense when
|
|
|
|
; used with a gatekeeper. You can specify either a prefix
|
|
|
|
; or E.164 this endpoint is responsible for terminating.
|
|
|
|
;
|
|
|
|
; Example: The H.323 alias 'det-gw' will tell the gatekeeper
|
|
|
|
; to route any call with the prefix 1248 to this alias. Keyword
|
|
|
|
; e164 is used when you want to specifiy a full telephone
|
|
|
|
; number. So a call to the number 18102341212 would be
|
|
|
|
; routed to the H.323 alias 'time'.
|
|
|
|
;
|
|
|
|
;[time]
|
|
|
|
;type=h323
|
|
|
|
;e164=18102341212
|
|
|
|
;context=default
|
|
|
|
;
|
|
|
|
;[det-gw]
|
|
|
|
;type=h323
|
|
|
|
;prefix=1248,1313
|
|
|
|
;context=detroit
|
|
|
|
;
|
|
|
|
;
|
|
|
|
; Inbound H.323 calls from BillyBob would land in the incoming
|
2003-07-12 17:53:50 +00:00
|
|
|
; context with a maximum of 4 concurrent incoming calls
|
|
|
|
;
|
2003-03-31 07:13:36 +00:00
|
|
|
;
|
2003-07-12 17:53:50 +00:00
|
|
|
; Note: If keyword 'incominglimit' are omitted Asterisk will not
|
|
|
|
; enforce any maximum number of concurrent calls.
|
2003-03-31 07:13:36 +00:00
|
|
|
;
|
|
|
|
;[BillyBob]
|
|
|
|
;type=user
|
2003-07-12 17:53:50 +00:00
|
|
|
;host=192.168.1.1
|
2003-03-31 07:13:36 +00:00
|
|
|
;context=incoming
|
|
|
|
;incominglimit=4
|
2004-10-14 05:24:39 +00:00
|
|
|
;
|
|
|
|
;
|
|
|
|
; Outbound H.323 call to Larry using SlowStart
|
|
|
|
;
|
|
|
|
[Larry]
|
|
|
|
type=peer
|
|
|
|
host=192.168.2.1
|
|
|
|
noFastStart=yes
|
2003-03-31 07:13:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
|